1
0
syui 840320d0d2
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
add bot custom feed
2024-04-22 22:30:43 +09:00

15 lines
362 B
TypeScript

import { AppContext } from '../config'
import {
QueryParams,
OutputSchema as AlgoOutput,
} from '../lexicon/types/app/bsky/feed/getFeedSkeleton'
import * as cmd from './cmd'
type AlgoHandler = (ctx: AppContext, params: QueryParams) => Promise<AlgoOutput>
const algos: Record<string, AlgoHandler> = {
[cmd.shortname]: cmd.handler,
}
export default algos