TeaSpeak-Client/imports/shared-app/ui/frames/side/ChannelDescriptionDefinitions.d.ts
2021-02-20 18:55:36 +01:00

18 lines
386 B
TypeScript

export declare type ChannelDescriptionStatus = {
status: "success";
description: string;
handlerId: string;
} | {
status: "error";
reason: string;
} | {
status: "no-permissions";
failedPermission: string;
};
export interface ChannelDescriptionUiEvents {
query_description: {};
notify_description: {
status: ChannelDescriptionStatus;
};
}