refactor: ⬆️ Upgrade to Zod v4 and hono-openapi 0.5.0

This commit is contained in:
Jesse Wierzbinski 2025-07-07 03:42:35 +02:00
parent add2429606
commit 24d4150da4
No known key found for this signature in database
209 changed files with 1331 additions and 1622 deletions

View file

@ -4,7 +4,7 @@
* @see module:federation/schemas/base
* @see https://versia.pub/extensions/custom-emojis
*/
import { z } from "zod";
import { z } from "zod/v4";
import { emojiRegex } from "../../regex.ts";
import { ImageContentFormatSchema } from "../contentformat.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from "zod/v4";
import { url } from "../common.ts";
import { TextContentFormatSchema } from "../contentformat.ts";
import { EntitySchema } from "../entity.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from "zod/v4";
import { url } from "../common.ts";
import { EntitySchema } from "../entity.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from "zod/v4";
import { url } from "../common.ts";
import { EntitySchema } from "../entity.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from "zod/v4";
import { isISOString } from "../../regex.ts";
import { u64, url } from "../common.ts";
import { TextContentFormatSchema } from "../contentformat.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from "zod/v4";
import { url } from "../common.ts";
import { EntitySchema } from "../entity.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from "zod/v4";
import { url } from "../common.ts";
import { EntitySchema } from "../entity.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from "zod/v4";
import { url } from "../common.ts";
import { EntitySchema } from "../entity.ts";

View file

@ -5,7 +5,7 @@
* @see https://versia.pub/extensions/vanity
*/
import { z } from "zod";
import { z } from "zod/v4";
import { ianaTimezoneRegex, isISOString } from "../../regex.ts";
import { url } from "../common.ts";
import {