Merge dev into fix/log-analytics-adjustments

This commit is contained in:
Fred KISSIE
2025-12-10 03:19:14 +01:00
parent 9db2feff77
commit d490cab48c
555 changed files with 9375 additions and 9287 deletions

View File

@@ -10,8 +10,8 @@ import logger from "@server/logger";
import { fromError } from "zod-validation-error";
const getOrgSchema = z.strictObject({
orgId: z.string()
});
orgId: z.string()
});
export async function checkId(
req: Request,

View File

@@ -11,8 +11,8 @@ import { fromZodError } from "zod-validation-error";
import { OpenAPITags, registry } from "@server/openApi";
const getOrgSchema = z.strictObject({
orgId: z.string()
});
orgId: z.string()
});
export type GetOrgResponse = {
org: Org;

View File

@@ -19,8 +19,8 @@ import logger from "@server/logger";
import { fromZodError } from "zod-validation-error";
const getOrgParamsSchema = z.strictObject({
orgId: z.string()
});
orgId: z.string()
});
export type GetOrgOverviewResponse = {
orgName: string;

View File

@@ -16,10 +16,11 @@ import { TierId } from "@server/lib/billing/tiers";
import { cache } from "@server/lib/cache";
const updateOrgParamsSchema = z.strictObject({
orgId: z.string()
});
orgId: z.string()
});
const updateOrgBodySchema = z.strictObject({
const updateOrgBodySchema = z
.strictObject({
name: z.string().min(1).max(255).optional(),
requireTwoFactor: z.boolean().optional(),
maxSessionLengthHours: z.number().nullable().optional(),