This repository has been archived on 2026-09-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
open-brainy/src/integrations/core/index.ts

65 lines
1.3 KiB
TypeScript
Raw Normal View History

/**
* Integration Hub - Core Infrastructure
*
* Shared foundation for all integrations:
* - EventBus: Real-time change notifications
* - TabularExporter: Entity to rows/columns conversion
* - IntegrationBase: Base class for integrations
* - IntegrationHub: Zero-config integration manager
*/
// Event system
export { EventBus } from './EventBus.js'
// Tabular export
export { TabularExporter } from './TabularExporter.js'
// Base class
export {
IntegrationBase,
type HTTPIntegration,
type StreamingIntegration
} from './IntegrationBase.js'
// Integration loader
export {
IntegrationLoader,
createIntegrationLoader,
detectEnvironment,
INTEGRATION_CATALOG,
type IntegrationType,
type RuntimeEnvironment,
type IntegrationInfo,
type IntegrationLoaderConfig
} from './IntegrationLoader.js'
// Zero-config hub
export {
IntegrationHub,
createIntegrationHub,
type IntegrationHubConfig,
type IntegrationRequest,
type IntegrationResponse
} from './IntegrationHub.js'
// Types
export type {
// Events
BrainyEvent,
EventFilter,
EventHandler,
EventSubscription,
// Tabular
TabularRow,
RelationTabularRow,
TabularExporterConfig,
// Config
IntegrationConfig,
IntegrationHealthStatus,
// OData
ODataQueryOptions,
// Webhooks
WebhookRegistration,
WebhookDeliveryResult
} from './types.js'