mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
refactor: ♻️ Replace Meilisearch with Sonic
This commit is contained in:
parent
2cf1537a7e
commit
19c15f7e96
15 changed files with 338 additions and 211 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue