feat: conversation toolbox ui

This commit is contained in:
rhunk
2023-12-27 17:41:58 +01:00
committed by GitHub
parent 54b592a2ee
commit 972d9ea878

4
index.d.ts vendored
View File

@@ -109,7 +109,7 @@ declare module "config" {
}
declare module "interface-manager" {
type interfaces = "settings" | "friendFeedContextMenu"
type enumUi = "settings" | "friendFeedContextMenu" | "conversationToolbox"
interface AlertDialog {
show(): void;
@@ -148,7 +148,7 @@ declare module "interface-manager" {
list(label: string, items: string[], onClick: ((index: number) => void)): Node;
}
function create(name: interfaces, callback: BuilderCallback): void;
function create(name: enumUi, callback: BuilderCallback): void;
function createAlertDialog(activity: any, callback: AlertDialogCallback): AlertDialog;
function createAlertDialog(activity: any, builder: ((alertDialogBuilder: any) => void), callback: AlertDialogCallback): AlertDialog;
}