3
0
Fork 0
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:
Dragory 2024-01-27 12:46:48 +02:00
parent 6110b8190c
commit b0a9cf1bcd
No known key found for this signature in database
5 changed files with 8 additions and 6 deletions

View file

@ -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),