ai-bot/app/_lib/actions/search.ts

18 lines
303 B
TypeScript

"use server"
import { ArticleType } from "../data/article"
import { Link } from "../data/link"
export type SiteSearchType = {
articles: ArticleType[];
articleCount: number;
links: Link[];
linkCount: number;
}
export async function doSearch(wd: string) {
return {
}
}