dev_arc_aws/backend/src/integrations/registry.ts

20 lines
583 B
TypeScript
Raw Normal View History

import type { IntegrationAdapter, IntegrationType } from './types.js'
import { uptimeKuma } from './uptimeKuma.js'
import { docker } from './docker.js'
const notImplemented: IntegrationAdapter = {
async testConnection() {
return { ok: false, message: 'Test connection not yet implemented for this integration type' }
},
}
export const adapterRegistry: Record<IntegrationType, IntegrationAdapter> = {
uptime_kuma: uptimeKuma,
docker,
proxmox: notImplemented,
netbird: notImplemented,
cloudflare: notImplemented,
aws: notImplemented,
weather: notImplemented,
}