stackpress
Version:
Incept is a content management framework.
6 lines (5 loc) • 396 B
TypeScript
import type { UnknownNest, StatusResponse } from '@stackpress/lib/types';
import type Engine from '@stackpress/inquire/Engine';
import type Model from '../../schema/spec/Model.js';
import type { SearchParams } from '../types.js';
export default function search<M extends UnknownNest = UnknownNest>(model: Model, engine: Engine, query?: SearchParams, seed?: string): Promise<StatusResponse<M[]>>;