mirror of
https://github.com/morluto/rea.git
synced 2026-10-29 10:55:57 +00:00
Preserve format and Evidence semantics at their owning boundaries, with focused regression coverage and documentation where applicable. Fixes #6785 Fixes #6714 Fixes #6735 Fixes #6750
18 lines
530 B
TypeScript
18 lines
530 B
TypeScript
import { z } from "zod";
|
|
|
|
/** Shared provider search input fields. */
|
|
export const analysisSearchInput = {
|
|
pattern: z
|
|
.string()
|
|
.min(1)
|
|
.describe("The literal text or regex pattern to search for"),
|
|
mode: z.enum(["literal", "regex"]).default("literal"),
|
|
case_sensitive: z
|
|
.boolean()
|
|
.default(false)
|
|
.describe(
|
|
"Whether to match case; case-insensitive matching uses Unicode simple case folding, one character at a time",
|
|
),
|
|
document: z.string().optional().describe("The document name"),
|
|
};
|