import {type AppBskyFeedDefs, type BskyAgent} from '@atproto/api' import {DEMO_FEED} from '#/lib/demo' import {type FeedAPI, type FeedAPIResponse} from './types' export class DemoFeedAPI implements FeedAPI { agent: BskyAgent constructor({agent}: {agent: BskyAgent}) { this.agent = agent } async peekLatest(): Promise { return DEMO_FEED.feed[0] } async fetch(): Promise { return DEMO_FEED } }