dev_arc_aws/backend/src/integrations/registry.ts

24 lines
681 B
TypeScript
Raw Normal View History

import type { IntegrationAdapter, IntegrationType } from './types.js'
import { uptimeKuma } from './uptimeKuma.js'
import { docker } from './docker.js'
import { proxmox } from './proxmox.js'
import { netbird } from './netbird.js'
import { cloudflare } from './cloudflare.js'
import { weather } from './weather.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,
netbird,
cloudflare,
aws: notImplemented,
weather,
}