mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 10:56:24 +02:00
feat: Update SearxNG connector form validation, enhance connector connect view with additional properties, and refine type handling in connector dialog for improved schema compliance.
This commit is contained in:
parent
21146485e6
commit
4d6186a43a
5 changed files with 17 additions and 8 deletions
|
|
@ -40,7 +40,7 @@ export type IndexingConfigState = z.infer<typeof indexingConfigStateSchema>;
|
|||
* Schema for frequency minutes (must be one of the allowed values)
|
||||
*/
|
||||
export const frequencyMinutesSchema = z.enum(["15", "60", "360", "720", "1440", "10080"], {
|
||||
errorMap: () => ({ message: "Invalid frequency value" }),
|
||||
message: "Invalid frequency value",
|
||||
});
|
||||
|
||||
export type FrequencyMinutes = z.infer<typeof frequencyMinutesSchema>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue