feat: profile picture plugin #256

This commit is contained in:
SethBurkart123
2025-06-04 16:08:01 +10:00
parent 6c12f5cf00
commit 9b13e7571a
8 changed files with 246 additions and 17 deletions
+10
View File
@@ -5,6 +5,7 @@ import type {
SelectSetting,
StringSetting,
HotkeySetting,
ComponentSetting,
} from "./types";
export function numberSetting(
@@ -52,6 +53,15 @@ export function buttonSetting(
};
}
export function componentSetting(
options: Omit<ComponentSetting, "type">,
): ComponentSetting {
return {
type: "component",
...options,
};
}
export function hotkeySetting(
options: Omit<HotkeySetting, "type">,
): HotkeySetting {