We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2734738 commit 844afb0Copy full SHA for 844afb0
src/api/components/index.ts
@@ -2,11 +2,11 @@ import { AppRoles } from "common/roles.js";
2
import { FastifyZodOpenApiSchema } from "fastify-zod-openapi";
3
import * as z from "zod/v4";
4
5
-export const ts = z.coerce
6
- .number()
7
- .min(0)
8
- .optional()
9
- .meta({ description: "Staleness bound", example: 0 });
+export const ts = z.coerce.number().min(0).optional().meta({
+ description:
+ "Staleness bound as Unix epoch time (requires authentication to specify)",
+ example: 1752248256,
+});
10
export const groupId = z.string().min(1).meta({
11
description: "Entra ID Group ID",
12
example: "d8cbb7c9-2f6d-4b7e-8ba6-b54f8892003b",
0 commit comments