Skip to content

Commit 844afb0

Browse files
committed
fix docs
1 parent 2734738 commit 844afb0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/api/components/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { AppRoles } from "common/roles.js";
22
import { FastifyZodOpenApiSchema } from "fastify-zod-openapi";
33
import * as z from "zod/v4";
44

5-
export const ts = z.coerce
6-
.number()
7-
.min(0)
8-
.optional()
9-
.meta({ description: "Staleness bound", example: 0 });
5+
export const ts = z.coerce.number().min(0).optional().meta({
6+
description:
7+
"Staleness bound as Unix epoch time (requires authentication to specify)",
8+
example: 1752248256,
9+
});
1010
export const groupId = z.string().min(1).meta({
1111
description: "Entra ID Group ID",
1212
example: "d8cbb7c9-2f6d-4b7e-8ba6-b54f8892003b",

0 commit comments

Comments
 (0)