import { createId } from "@paralleldrive/cuid2"; | |
import { z } from "zod"; | |
export const idSchema = z | |
.string() | |
.cuid2() | |
.default(createId()) | |
.describe("Unique identifier for the item in Cuid2 format"); | |
import { createId } from "@paralleldrive/cuid2"; | |
import { z } from "zod"; | |
export const idSchema = z | |
.string() | |
.cuid2() | |
.default(createId()) | |
.describe("Unique identifier for the item in Cuid2 format"); | |