TeaSpeak-Client/imports/shared-app/ui/frames/side/ChannelDescriptionDefinitions.d.ts

18 lines
386 B
TypeScript
Raw Normal View History

2021-02-20 12:55:36 -05:00
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;
};
}