fix(deps): update dependency prettier to ^3.7.4 (#4582)

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
homarr-renovate[bot]
2025-12-08 14:19:46 +01:00
committed by GitHub
parent 4f92e5265a
commit 54809823e9
12 changed files with 51 additions and 43 deletions

View File

@@ -18,14 +18,17 @@ interface TextInput extends CommonInput<string> {
validate?: z.ZodType<string>;
}
interface MultiSelectInput<TOptions extends SelectOption[]>
extends CommonInput<inferSelectOptionValue<TOptions[number]>[]> {
interface MultiSelectInput<TOptions extends SelectOption[]> extends CommonInput<
inferSelectOptionValue<TOptions[number]>[]
> {
options: TOptions;
searchable?: boolean;
}
export interface SortableItemListInput<TItem, TOptionValue extends UniqueIdentifier>
extends Omit<CommonInput<TOptionValue[]>, "withDescription"> {
export interface SortableItemListInput<TItem, TOptionValue extends UniqueIdentifier> extends Omit<
CommonInput<TOptionValue[]>,
"withDescription"
> {
AddButton: (props: { addItem: (item: TItem) => void; values: TOptionValue[] }) => React.ReactNode;
ItemComponent: (props: {
item: TItem;
@@ -37,8 +40,9 @@ export interface SortableItemListInput<TItem, TOptionValue extends UniqueIdentif
useData: (values: TOptionValue[]) => { data: TItem[] | undefined; isLoading: boolean; error: unknown };
}
interface SelectInput<TOptions extends readonly SelectOption[]>
extends CommonInput<inferSelectOptionValue<TOptions[number]>> {
interface SelectInput<TOptions extends readonly SelectOption[]> extends CommonInput<
inferSelectOptionValue<TOptions[number]>
> {
options: TOptions;
searchable?: boolean;
}