feat(definitions): declare unifiSiteManager integration and widget kinds
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0239383009
commit
3baf9066f8
6 files changed
+14
No files matched your search
@@ -28,6 +28,7 @@ export const widgetDocSlugs = {
|
||||
networkControllerSummary: "network-controller-summary",
|
||||
networkControllerStatus: "network-controller-status",
|
||||
unifiOs: null,
|
||||
unifiSiteManager: null,
|
||||
rssFeed: "rss-feed",
|
||||
bookmarks: "bookmarks",
|
||||
indexerManager: "indexer-manager",
|
||||
|
||||
@@ -714,6 +714,14 @@ export const integrationDefs = {
|
||||
documentationSlug: null,
|
||||
defaultPort: 443,
|
||||
},
|
||||
unifiSiteManager: {
|
||||
name: "UniFi Site Manager",
|
||||
secretKinds: [["siteManagerApiKey"]],
|
||||
iconUrl: "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons@master/png/unifi.png",
|
||||
category: ["unifiSiteManager"],
|
||||
documentationSlug: null,
|
||||
defaultUrl: "https://api.ui.com",
|
||||
},
|
||||
opnsense: {
|
||||
httpAuth: { type: "basic", usernameKind: "opnsenseApiKey", passwordKind: "opnsenseApiSecret" },
|
||||
name: "OPNsense",
|
||||
@@ -1202,6 +1210,7 @@ export const integrationCategories = [
|
||||
"systemMonitoring",
|
||||
"security",
|
||||
"unifiOs",
|
||||
"unifiSiteManager",
|
||||
] as const;
|
||||
|
||||
export type IntegrationCategory = (typeof integrationCategories)[number];
|
||||
|
||||
@@ -57,6 +57,7 @@ export const widgetIntegrationConfigs = {
|
||||
networkControllerSummary: { supportedIntegrations: getIntegrationKindsByCategory("networkController") },
|
||||
networkControllerStatus: { supportedIntegrations: getIntegrationKindsByCategory("networkController") },
|
||||
unifiOs: { supportedIntegrations: ["unifiOs"] },
|
||||
unifiSiteManager: { supportedIntegrations: ["unifiSiteManager"] },
|
||||
indexerManager: { supportedIntegrations: getIntegrationKindsByCategory("indexerManager") },
|
||||
healthMonitoring: {
|
||||
supportedIntegrations: [...healthMonitoringGeneralIntegrationKinds, ...healthMonitoringClusterIntegrationKinds],
|
||||
|
||||
@@ -26,6 +26,7 @@ export const widgetKinds = [
|
||||
"networkControllerSummary",
|
||||
"networkControllerStatus",
|
||||
"unifiOs",
|
||||
"unifiSiteManager",
|
||||
"rssFeed",
|
||||
"bookmarks",
|
||||
"indexerManager",
|
||||
|
||||
@@ -1419,6 +1419,7 @@
|
||||
"mediaTranscoding": "Transcoding",
|
||||
"networkController": "Network",
|
||||
"unifiOs": "UniFi OS",
|
||||
"unifiSiteManager": "UniFi Site Manager",
|
||||
"releasesProvider": "Releases",
|
||||
"notifications": "Notifications",
|
||||
"firewall": "Firewall",
|
||||
|
||||
@@ -37,6 +37,7 @@ export const categoryTranslationKeys: Record<string, string> = {
|
||||
mediaLibrary: "integration.category.mediaLibrary",
|
||||
uptimeMonitoring: "integration.category.uptimeMonitoring",
|
||||
unifiOs: "integration.category.unifiOs",
|
||||
unifiSiteManager: "integration.category.unifiSiteManager",
|
||||
};
|
||||
|
||||
export interface IntegrationGridItem {
|
||||
|
||||
Reference in new issue
Block a user