@@ -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" ;
3941import type { Customization , Registration } from "./customFunctions.js" ;
4042import {
@@ -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