@paroicms/server
Version:
The ParoiCMS server
16 lines (15 loc) • 569 B
TypeScript
import type { OrderByItem } from "../../admin-backend/lnode/lnode.queries.js";
import type { TpDocValues } from "../../rendering-payload/rendering-payload.types.js";
import type { SiteContext } from "../../site-context/site-context.types.js";
export interface SearchTextOptions {
language: string;
words: string[];
limit: number;
start: number;
onlyPublished?: boolean;
orderBy?: OrderByItem[];
}
export declare function searchText(siteContext: SiteContext, options: SearchTextOptions): Promise<{
rows: TpDocValues[];
total: number;
}>;