Skip to content

Commit d5d0e6a

Browse files
josejuliogithub-actions[bot]
authored andcommitted
Updates ./dist/* files with latest changes
1 parent 65f8ef6 commit d5d0e6a

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

dist/MinecraftEventDrivenForm.d.ts

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,18 @@ interface DualButtonElementButton {
6161
text: TextContent;
6262
action?: FormAction;
6363
}
64+
interface Divider {
65+
type: "divider";
66+
}
67+
interface Label {
68+
type: "label";
69+
text: TextContent;
70+
}
71+
interface Header {
72+
type: "header";
73+
text: TextContent;
74+
}
75+
type UIElement = Divider | Label | Header;
6476
interface InputForm {
6577
type: "input";
6678
title: TextContent;
@@ -69,7 +81,7 @@ interface InputForm {
6981
action?: FormAction;
7082
}
7183
type InputValue = string | number | boolean;
72-
type InputElement = InputElementSlider | InputElementDropdown | InputElementText | InputElementToggle;
84+
type InputElement = InputElementSlider | InputElementDropdown | InputElementText | InputElementToggle | UIElement;
7385
type InputElementSlider = {
7486
type: "slider";
7587
name?: string;
@@ -78,6 +90,7 @@ type InputElementSlider = {
7890
max: number;
7991
step: number;
8092
defaultValue?: number;
93+
tooltip?: TextContent;
8194
};
8295
type InputElementDropdown = {
8396
type: "dropdown";
@@ -88,27 +101,30 @@ type InputElementDropdown = {
88101
text: TextContent;
89102
value: InputValue;
90103
}>;
104+
tooltip?: TextContent;
91105
};
92106
type InputElementText = {
93107
type: "text";
94108
name?: string;
95109
text: TextContent;
96110
placeholder: TextContent;
97111
defaultValue?: string;
112+
tooltip?: TextContent;
98113
};
99114
type InputElementToggle = {
100115
type: "toggle";
101116
name?: string;
102117
text: TextContent;
103118
defaultValue?: boolean;
119+
tooltip?: TextContent;
104120
};
105121
interface MultiButtonForm {
106122
type: "multi-button";
107123
title: TextContent;
108124
body?: TextContent;
109125
elements: Array<MultiButtonElement>;
110126
}
111-
type MultiButtonElement = MultiButtonElementButton;
127+
type MultiButtonElement = MultiButtonElementButton | UIElement;
112128
interface MultiButtonElementButton {
113129
type: "button";
114130
text: TextContent;

0 commit comments

Comments
 (0)