pl-api: fix build

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-03-22 17:39:48 +01:00
parent a49b4fda36
commit 31ae3d1866

View File

@ -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<typeof quoteSchema>;
interface Quote {
state: v.InferOutput<typeof quoteStateSchema>;
quoted_status: Status | null;
}
/**
* @category Schemas