Merge branch 'develop' of https://codeberg.org/mkljczk/pl-fe into develop
Some checks failed
Nicolium CI / Test and upload artifacts (22.x) (push) Has been cancelled
Nicolium CI / release (push) Has been cancelled
Nicolium CI / deploy (push) Has been cancelled
pl-api CI / Test for pl-api formatting (22.x) (push) Has been cancelled
pl-hooks CI / Test for a successful build (22.x) (push) Has been cancelled

This commit is contained in:
2026-03-23 01:20:45 +00:00
69 changed files with 1353 additions and 872 deletions

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