pl-api: fix quote display

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-06-03 23:59:21 +02:00
parent 08822a32d8
commit a2357bbdbd
4 changed files with 7 additions and 7 deletions

View File

@ -185,7 +185,7 @@ const statusSchema: v.BaseSchema<any, Status, v.BaseIssue<unknown>> = v.pipe(v.a
...baseStatusSchema.entries,
reblog: v.fallback(v.nullable(v.lazy(() => statusSchema)), null),
quote: v.fallback(v.nullable(v.lazy(() => statusSchema)), null),
quote: v.fallback(v.nullable(v.lazy(() => v.union([quoteSchema, shallowQuoteSchema]))), null),
})) as any;
/**

View File

@ -1,6 +1,6 @@
{
"name": "pl-api",
"version": "1.0.0-rc.76",
"version": "1.0.0-rc.77",
"type": "module",
"homepage": "https://github.com/mkljczk/pl-fe/tree/develop/packages/pl-api",
"repository": {