mirror of
https://github.com/kennethnym/aris.git
synced 2026-02-02 05:01:17 +00:00
Unifies DataSource and ContextProvider into a single interface that forms a dependency graph. Sources declare dependencies on other sources and can provide context, feed items, or both. Deprecates DataSource, ContextProvider, and ContextBridge. Co-authored-by: Ona <no-reply@ona.com>
28 lines
828 B
TypeScript
28 lines
828 B
TypeScript
// Context
|
|
export type { Context, ContextKey } from "./context"
|
|
export { contextKey, contextValue } from "./context"
|
|
|
|
// Feed
|
|
export type { FeedItem } from "./feed"
|
|
|
|
// Feed Source
|
|
export type { FeedSource } from "./feed-source"
|
|
|
|
// Data Source (deprecated - use FeedSource)
|
|
export type { DataSource } from "./data-source"
|
|
|
|
// Context Provider
|
|
export type { ContextProvider } from "./context-provider"
|
|
|
|
// Context Bridge
|
|
export type { ProviderError, RefreshResult } from "./context-bridge"
|
|
export { ContextBridge } from "./context-bridge"
|
|
|
|
// Reconciler
|
|
export type { ReconcileResult, ReconcilerConfig, SourceError } from "./reconciler"
|
|
export { Reconciler } from "./reconciler"
|
|
|
|
// Feed Controller
|
|
export type { FeedControllerConfig, FeedSubscriber } from "./feed-controller"
|
|
export { FeedController } from "./feed-controller"
|