Skip to content

Commit

Permalink
Update exports
Browse files Browse the repository at this point in the history
  • Loading branch information
istarkov committed Sep 23, 2024
1 parent 8306ca9 commit 2fca440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/trpc-interface/src/shared/deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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),
}),
Expand Down

0 comments on commit 2fca440

Please sign in to comment.