Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"concurrently": "^9.2.1",
"eslint": "^9.39.1",
"node-loader": "^2.1.0",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"typescript": "^5.9.3"
}
}
2 changes: 1 addition & 1 deletion apps/tasks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"dotenv-cli": "^11.0.0",
"esbuild": "^0.27.0",
"eslint": "^9.39.1",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"tsx": "4.20.4",
"typescript": "^5.9.3"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/websocket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/ws": "^8.18.1",
"esbuild": "^0.27.0",
"eslint": "^9.39.1",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"typescript": "^5.9.3"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"cross-env": "^10.1.0",
"jsdom": "^27.2.0",
"json5": "^2.2.3",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"semantic-release": "^25.0.2",
"testcontainers": "^11.9.0",
"turbo": "^2.6.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@homarr/prettier-config": "workspace:^0.1.0",
"@homarr/tsconfig": "workspace:^0.1.0",
"eslint": "^9.39.1",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"typescript": "^5.9.3"
}
}
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@types/bcrypt": "6.0.0",
"@types/cookies": "0.9.2",
"eslint": "^9.39.1",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"typescript": "^5.9.3"
}
}
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"dotenv-cli": "^11.0.0",
"esbuild": "^0.27.0",
"eslint": "^9.39.1",
"prettier": "^3.6.2",
"prettier": "^3.7.4",
"tsx": "4.20.4",
"typescript": "^5.9.3"
}
Expand Down
6 changes: 4 additions & 2 deletions packages/form/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import type { ChangeEvent, FocusEvent } from "react";

export interface InputPropsFor<T, TOnChangeArg, TComponent extends HTMLElement = HTMLInputElement>
extends BasePropsFor<TOnChangeArg, TComponent> {
export interface InputPropsFor<T, TOnChangeArg, TComponent extends HTMLElement = HTMLInputElement> extends BasePropsFor<
TOnChangeArg,
TComponent
> {
value?: T;
defaultValue?: T;
}
Expand Down
6 changes: 4 additions & 2 deletions packages/ui/src/components/select-with-custom-items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ interface BaseSelectItem {
label: string;
}

export interface SelectWithCustomItemsProps<TSelectItem extends BaseSelectItem>
extends Pick<SelectProps, "label" | "error" | "defaultValue" | "value" | "onChange" | "placeholder" | "clearable"> {
export interface SelectWithCustomItemsProps<TSelectItem extends BaseSelectItem> extends Pick<
SelectProps,
"label" | "error" | "defaultValue" | "value" | "onChange" | "placeholder" | "clearable"
> {
data: TSelectItem[];
description?: string;
withAsterisk?: boolean;
Expand Down
16 changes: 10 additions & 6 deletions packages/widgets/src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down
50 changes: 25 additions & 25 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tooling/prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"prettier": "@homarr/prettier-config",
"dependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
"prettier": "^3.6.2"
"prettier": "^3.7.4"
},
"devDependencies": {
"@homarr/tsconfig": "workspace:^0.1.0",
Expand Down
Loading