From 2fca440f57f8927a044082664f287bbeb25d142c Mon Sep 17 00:00:00 2001 From: istarkov Date: Mon, 23 Sep 2024 07:40:52 +0000 Subject: [PATCH] Update exports --- packages/trpc-interface/src/shared/deployment.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/trpc-interface/src/shared/deployment.ts b/packages/trpc-interface/src/shared/deployment.ts index 5cbb8f43c1c7..2dc10dc169e8 100644 --- a/packages/trpc-interface/src/shared/deployment.ts +++ b/packages/trpc-interface/src/shared/deployment.ts @@ -2,7 +2,7 @@ import { z } from "zod"; import { router, procedure } from "./trpc"; // Has corresponding type in saas -const PublishInput = z.object({ +export const PublishInput = z.object({ // used to load build data from the builder see routes/rest.build.$buildId.ts buildId: z.string(), builderOrigin: z.string(), @@ -15,7 +15,7 @@ const PublishInput = z.object({ logProjectName: z.string(), }); -const Output = z.discriminatedUnion("success", [ +export const Output = z.discriminatedUnion("success", [ z.object({ success: z.literal(true), }),