All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
15 lines
362 B
TypeScript
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
|