fix: keep custom widget limits client safe

This commit is contained in:
ajnart committed 2026-08-20 14:59:18 +02:00
1 parent ca20431d84
commit 17aef0588f
9 files changed
+27 -23

No files matched your search

@@ -2,13 +2,13 @@ import { fetchApi } from "@homarr/api/client";
import { mapWithConcurrency } from "@homarr/common";
import {
customWidgetDefinitionSchema,
CUSTOM_WIDGET_USER_ITEM_CONCURRENCY_LIMIT,
getCustomWidgetDefaultOptions,
getCustomWidgetRequiredSecretKinds,
parseCustomWidgetAiResponse,
validateCustomWidgetOptions,
} from "@homarr/custom-widgets/core";
import type { CustomWidgetSource, HomarrCustomWidgetV2 } from "@homarr/custom-widgets/core";
import { CUSTOM_WIDGET_USER_ITEM_CONCURRENCY_LIMIT } from "@homarr/custom-widgets/server";
import type { CustomWidgetFormValues } from "@homarr/custom-widgets/workbench";
import type { UseFormReturnType } from "@mantine/form";