Merge branch 'hp-multi-client' into auth-providers-clients

This commit is contained in:
miloschwartz 2025-04-20 16:15:40 -04:00
commit f960fb7d67
No known key found for this signature in database
70 changed files with 27368 additions and 159 deletions

View file

@ -12,7 +12,6 @@ import { passwordSchema } from "@server/auth/passwordSchema";
import stoi from "./stoi";
import db from "@server/db";
import { SupporterKey, supporterKey } from "@server/db/schemas";
import { suppressDeprecationWarnings } from "moment";
import { eq } from "drizzle-orm";
const portSchema = z.number().positive().gt(0).lte(65535);
@ -122,6 +121,10 @@ const configSchema = z.object({
block_size: z.number().positive().gt(0),
site_block_size: z.number().positive().gt(0)
}),
orgs: z.object({
block_size: z.number().positive().gt(0),
subnet_group: z.string(),
}),
rate_limits: z.object({
global: z.object({
window_minutes: z.number().positive().gt(0),