refactor(api): ♻️ Replace old client library with new version (@versia/client)

This commit is contained in:
Jesse Wierzbinski 2024-08-26 19:40:15 +02:00
parent 7708bff31f
commit fbe86043b7
No known key found for this signature in database
45 changed files with 51 additions and 54 deletions

View file

@ -484,14 +484,14 @@ export const configValidator = z.object({
bridge: z
.object({
enabled: z.boolean().default(false),
software: z.enum(["lysand-ap"]).or(z.string()),
software: z.enum(["versia-ap"]).or(z.string()),
allowed_ips: z.array(z.string().trim()).default([]),
token: z.string().default(""),
url: zUrl.optional(),
})
.default({
enabled: false,
software: "lysand-ap",
software: "versia-ap",
allowed_ips: [],
token: "",
})
@ -516,7 +516,7 @@ export const configValidator = z.object({
},
bridge: {
enabled: false,
software: "lysand-ap",
software: "versia-ap",
allowed_ips: [],
token: "",
},