@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
13 lines (12 loc) • 614 B
text/typescript
import { LucidDB } from "../types.mjs";
import { ComparisonOperatorExpression, OperandValueExpressionOrList, ReferenceExpression } from "kysely";
//#region src/libs/db/query-builder/index.d.ts
type QueryBuilderWhere<Table extends keyof LucidDB> = Array<{
key: ReferenceExpression<LucidDB, Table>;
operator: ComparisonOperatorExpression;
value: OperandValueExpressionOrList<LucidDB, Table, keyof Table>; /** Skips this where clause when false, useful for optional service filters. */
condition?: boolean | (() => boolean);
}>;
//#endregion
export { QueryBuilderWhere };
//# sourceMappingURL=index.d.mts.map