fix(widgets): remove out-of-scope UniFi Site Manager widget stub
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3fb2f2dc1f
commit
78f63d5d75
2 files changed
-22
No files matched your search
@@ -1,7 +0,0 @@
|
|||||||
"use client";
|
|
||||||
|
|
||||||
import type { WidgetComponentProps } from "../definition";
|
|
||||||
|
|
||||||
export default function UnifiSiteManagerWidget({ integrationIds, options }: WidgetComponentProps<"unifiSiteManager">) {
|
|
||||||
return <div>Unifi Site Manager</div>;
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
import { IconCloudNetwork } from "@tabler/icons-react";
|
|
||||||
|
|
||||||
import { createWidgetDefinition } from "../definition";
|
|
||||||
import { optionsBuilder } from "../options";
|
|
||||||
|
|
||||||
export const { definition, componentLoader } = createWidgetDefinition("unifiSiteManager", {
|
|
||||||
icon: IconCloudNetwork,
|
|
||||||
refetchInterval: 5 * 60,
|
|
||||||
supportedIntegrations: ["unifiSiteManager"],
|
|
||||||
integrationsRequired: true,
|
|
||||||
createOptions() {
|
|
||||||
return optionsBuilder.from((factory) => ({}));
|
|
||||||
},
|
|
||||||
errors: {},
|
|
||||||
}).withDynamicImport(() => import("./component"));
|
|
||||||
Reference in new issue
Block a user