initial commit

This commit is contained in:
2026-01-16 00:56:55 +00:00
commit 90fd137b77
21 changed files with 1308 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import type { Context } from "./context"
import type { FeedItem } from "./feed"
export interface DataSource<TItem extends FeedItem = FeedItem, TConfig = unknown> {
readonly type: TItem["type"]
query(context: Context, config: TConfig): Promise<TItem[]>
}