Skip to content

Commit 78d6850

Browse files
committed
Add link
1 parent 7f3aad5 commit 78d6850

File tree

1 file changed

+5
-3
lines changed
  • packages/convex-helpers/server

1 file changed

+5
-3
lines changed

packages/convex-helpers/server/zod.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ import type {
3535
TableNamesInDataModel,
3636
DefaultFunctionArgs,
3737
ArgsArrayToObject,
38+
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- Used in docs only
39+
defineTable,
3840
} from "convex/server";
3941
import type { Customization, Registration } from "./customFunctions.js";
4042
import {
@@ -1350,7 +1352,7 @@ export function zodOutputToConvex<Z extends z.ZodTypeAny>(
13501352

13511353
/**
13521354
* Like {@link zodToConvex}, but it takes in a bare object, as expected by Convex
1353-
* function arguments, or the argument to `defineTable`.
1355+
* function arguments, or the argument to {@link defineTable}.
13541356
*
13551357
* ```js
13561358
* zodToConvex({
@@ -1369,7 +1371,7 @@ export function zodToConvexFields<Z extends ZodValidator>(zod: Z) {
13691371

13701372
/**
13711373
* Like {@link zodOutputToConvex}, but it takes in a bare object, as expected by
1372-
* Convex function arguments, or the argument to `defineTable`.
1374+
* Convex function arguments, or the argument to {@link defineTable}.
13731375
*
13741376
* ```js
13751377
* zodOutputToConvexFields({
@@ -1654,7 +1656,7 @@ export function convexToZod<V extends GenericValidator>(
16541656

16551657
/**
16561658
* Like {@link convexToZod}, but it takes in a bare object, as expected by Convex
1657-
* function arguments, or the argument to `defineTable`.
1659+
* function arguments, or the argument to {@link defineTable}.
16581660
*
16591661
* ```js
16601662
* convexToZodFields({

0 commit comments

Comments
 (0)