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",
|
networkControllerSummary: "network-controller-summary",
|
||||||
networkControllerStatus: "network-controller-status",
|
networkControllerStatus: "network-controller-status",
|
||||||
unifiOs: null,
|
unifiOs: null,
|
||||||
|
unifiSiteManager: null,
|
||||||
rssFeed: "rss-feed",
|
rssFeed: "rss-feed",
|
||||||
bookmarks: "bookmarks",
|
bookmarks: "bookmarks",
|
||||||
indexerManager: "indexer-manager",
|
indexerManager: "indexer-manager",
|
||||||
|
|||||||
@@ -714,6 +714,14 @@ export const integrationDefs = {
|
|||||||
documentationSlug: null,
|
documentationSlug: null,
|
||||||
defaultPort: 443,
|
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: {
|
opnsense: {
|
||||||
httpAuth: { type: "basic", usernameKind: "opnsenseApiKey", passwordKind: "opnsenseApiSecret" },
|
httpAuth: { type: "basic", usernameKind: "opnsenseApiKey", passwordKind: "opnsenseApiSecret" },
|
||||||
name: "OPNsense",
|
name: "OPNsense",
|
||||||
@@ -1202,6 +1210,7 @@ export const integrationCategories = [
|
|||||||
"systemMonitoring",
|
"systemMonitoring",
|
||||||
"security",
|
"security",
|
||||||
"unifiOs",
|
"unifiOs",
|
||||||
|
"unifiSiteManager",
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
export type IntegrationCategory = (typeof integrationCategories)[number];
|
export type IntegrationCategory = (typeof integrationCategories)[number];
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ export const widgetIntegrationConfigs = {
|
|||||||
networkControllerSummary: { supportedIntegrations: getIntegrationKindsByCategory("networkController") },
|
networkControllerSummary: { supportedIntegrations: getIntegrationKindsByCategory("networkController") },
|
||||||
networkControllerStatus: { supportedIntegrations: getIntegrationKindsByCategory("networkController") },
|
networkControllerStatus: { supportedIntegrations: getIntegrationKindsByCategory("networkController") },
|
||||||
unifiOs: { supportedIntegrations: ["unifiOs"] },
|
unifiOs: { supportedIntegrations: ["unifiOs"] },
|
||||||
|
unifiSiteManager: { supportedIntegrations: ["unifiSiteManager"] },
|
||||||
indexerManager: { supportedIntegrations: getIntegrationKindsByCategory("indexerManager") },
|
indexerManager: { supportedIntegrations: getIntegrationKindsByCategory("indexerManager") },
|
||||||
healthMonitoring: {
|
healthMonitoring: {
|
||||||
supportedIntegrations: [...healthMonitoringGeneralIntegrationKinds, ...healthMonitoringClusterIntegrationKinds],
|
supportedIntegrations: [...healthMonitoringGeneralIntegrationKinds, ...healthMonitoringClusterIntegrationKinds],
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ export const widgetKinds = [
|
|||||||
"networkControllerSummary",
|
"networkControllerSummary",
|
||||||
"networkControllerStatus",
|
"networkControllerStatus",
|
||||||
"unifiOs",
|
"unifiOs",
|
||||||
|
"unifiSiteManager",
|
||||||
"rssFeed",
|
"rssFeed",
|
||||||
"bookmarks",
|
"bookmarks",
|
||||||
"indexerManager",
|
"indexerManager",
|
||||||
|
|||||||
@@ -1419,6 +1419,7 @@
|
|||||||
"mediaTranscoding": "Transcoding",
|
"mediaTranscoding": "Transcoding",
|
||||||
"networkController": "Network",
|
"networkController": "Network",
|
||||||
"unifiOs": "UniFi OS",
|
"unifiOs": "UniFi OS",
|
||||||
|
"unifiSiteManager": "UniFi Site Manager",
|
||||||
"releasesProvider": "Releases",
|
"releasesProvider": "Releases",
|
||||||
"notifications": "Notifications",
|
"notifications": "Notifications",
|
||||||
"firewall": "Firewall",
|
"firewall": "Firewall",
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ export const categoryTranslationKeys: Record<string, string> = {
|
|||||||
mediaLibrary: "integration.category.mediaLibrary",
|
mediaLibrary: "integration.category.mediaLibrary",
|
||||||
uptimeMonitoring: "integration.category.uptimeMonitoring",
|
uptimeMonitoring: "integration.category.uptimeMonitoring",
|
||||||
unifiOs: "integration.category.unifiOs",
|
unifiOs: "integration.category.unifiOs",
|
||||||
|
unifiSiteManager: "integration.category.unifiSiteManager",
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface IntegrationGridItem {
|
export interface IntegrationGridItem {
|
||||||
|
|||||||
Reference in new issue
Block a user