mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-08 16:15:04 +00:00
fix: tweaks to config types
This commit is contained in:
parent
6110b8190c
commit
b0a9cf1bcd
5 changed files with 8 additions and 6 deletions
|
@ -14,7 +14,7 @@ interface MatchResultType {
|
|||
const regexCache = new WeakMap<any, RegExp[]>();
|
||||
|
||||
const configSchema = z.strictObject({
|
||||
words: z.array(z.string().max(2000)).max(512),
|
||||
words: z.array(z.string().max(2000)).max(1024),
|
||||
case_sensitive: z.boolean().default(false),
|
||||
only_full_words: z.boolean().default(true),
|
||||
normalize: z.boolean().default(false),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue