mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 09:01:19 +00:00
Add FeedPostProcessor type and FeedEnhancement interface. Post-processors run after item collection on all update paths (refresh, reactive context, reactive items). Pipeline is chained — each processor sees items as modified by the previous one. Enhancement merging handles additional items, suppression, and grouped items. Throwing processors are caught and recorded in FeedResult.errors. Co-authored-by: Ona <no-reply@ona.com>
51 lines
1.6 KiB
TypeScript
51 lines
1.6 KiB
TypeScript
// Context
|
|
export type { Context, ContextKey } from "./context"
|
|
export { contextKey, contextValue } from "./context"
|
|
|
|
// Actions
|
|
export type { ActionDefinition } from "./action"
|
|
export { UnknownActionError } from "./action"
|
|
|
|
// Feed
|
|
export type { FeedItem, FeedItemSignals } from "./feed"
|
|
export { TimeRelevance } from "./feed"
|
|
|
|
// Feed Source
|
|
export type { FeedSource } from "./feed-source"
|
|
|
|
// Feed Post-Processor
|
|
export type { FeedEnhancement, FeedPostProcessor, ItemGroup } from "./feed-post-processor"
|
|
|
|
// Feed Engine
|
|
export type { FeedEngineConfig, FeedResult, FeedSubscriber, SourceError } from "./feed-engine"
|
|
export { FeedEngine } from "./feed-engine"
|
|
|
|
// =============================================================================
|
|
// DEPRECATED - Use FeedSource + FeedEngine instead
|
|
// =============================================================================
|
|
|
|
// Data Source (deprecated - use FeedSource)
|
|
export type { DataSource } from "./data-source"
|
|
|
|
// Context Provider (deprecated - use FeedSource)
|
|
export type { ContextProvider } from "./context-provider"
|
|
|
|
// Context Bridge (deprecated - use FeedEngine)
|
|
export type { ProviderError, RefreshResult } from "./context-bridge"
|
|
export { ContextBridge } from "./context-bridge"
|
|
|
|
// Reconciler (deprecated - use FeedEngine)
|
|
export type {
|
|
ReconcileResult,
|
|
ReconcilerConfig,
|
|
SourceError as ReconcilerSourceError,
|
|
} from "./reconciler"
|
|
export { Reconciler } from "./reconciler"
|
|
|
|
// Feed Controller (deprecated - use FeedEngine)
|
|
export type {
|
|
FeedControllerConfig,
|
|
FeedSubscriber as FeedControllerSubscriber,
|
|
} from "./feed-controller"
|
|
export { FeedController } from "./feed-controller"
|