refactor: ♻️ Replace Meilisearch with Sonic

This commit is contained in:
Jesse Wierzbinski 2024-06-28 23:40:44 -10:00
parent 2cf1537a7e
commit 19c15f7e96
No known key found for this signature in database
15 changed files with 338 additions and 211 deletions

View file

@ -76,7 +76,7 @@ export const configValidator = z.object({
enabled: false,
}),
}),
meilisearch: z.object({
sonic: z.object({
host: z.string().min(1).default("localhost"),
port: z
.number()
@ -84,7 +84,7 @@ export const configValidator = z.object({
.min(1)
.max(2 ** 16 - 1)
.default(7700),
api_key: z.string(),
password: z.string(),
enabled: z.boolean().default(false),
}),
signups: z.object({