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 78d6850 commit 302f835Copy full SHA for 302f835
packages/convex-helpers/server/zod.ts
@@ -57,10 +57,10 @@ export type ZodValidator = Record<string, z.ZodTypeAny>;
57
* Creates a validator for a Convex `Id`.
58
*
59
* - When **used within Zod**, it will only check that the ID is a string.
60
- * - When **converted to a Convex validator** (through `zodToConvex`),
+ * - When **converted to a Convex validator** (e.g. through {@link zodToConvex}),
61
* it will check that it's for the right table.
62
63
- * @param tableName - The table that the `Id` references. i.e.` Id<tableName>`
+ * @param tableName - The table that the `Id` references. i.e. `Id<tableName>`
64
* @returns A Zod object representing a Convex `Id`
65
*/
66
export const zid = <
0 commit comments