From 31ae3d186670a4f98e16bfdc6ce339b0c5a36744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sun, 22 Mar 2026 17:39:48 +0100 Subject: [PATCH] pl-api: fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-api/lib/entities/quote.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/pl-api/lib/entities/quote.ts b/packages/pl-api/lib/entities/quote.ts index e194d5aa3..bdbb22348 100644 --- a/packages/pl-api/lib/entities/quote.ts +++ b/packages/pl-api/lib/entities/quote.ts @@ -1,6 +1,6 @@ import * as v from 'valibot'; -import { statusSchema } from './status'; +import { type Status, statusSchema } from './status'; const quoteStateSchema = v.picklist([ 'pending', @@ -26,7 +26,10 @@ const quoteSchema = v.object({ /** * @category Entity types */ -type Quote = v.InferOutput; +interface Quote { + state: v.InferOutput; + quoted_status: Status | null; +} /** * @category Schemas