2021-04-24 20:56:52 +00:00
|
|
|
export type ChannelDescriptionResult = {
|
|
|
|
status: "success",
|
|
|
|
description: string,
|
2021-04-25 09:52:03 +00:00
|
|
|
|
|
|
|
/* The handler id is required for BBCode renderers */
|
2021-04-24 20:56:52 +00:00
|
|
|
handlerId: string
|
|
|
|
} | {
|
|
|
|
status: "empty"
|
|
|
|
} | {
|
|
|
|
status: "no-permissions",
|
|
|
|
failedPermission: string
|
|
|
|
} | {
|
|
|
|
status: "error",
|
|
|
|
message: string
|
2021-05-16 10:22:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The invoker info the server sends with all notifies if required
|
|
|
|
*/
|
|
|
|
export type InvokerInfo = {
|
|
|
|
invokerName: string,
|
|
|
|
invokerUniqueId: string,
|
|
|
|
invokerId: number,
|
2021-04-24 20:56:52 +00:00
|
|
|
};
|