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": {

View File

@ -105,7 +105,7 @@
"multiselect-react-dropdown": "^2.0.25",
"mutative": "^1.1.0",
"path-browserify": "^1.0.1",
"pl-api": "^1.0.0-rc.76",
"pl-api": "^1.0.0-rc.77",
"postcss": "^8.5.3",
"process": "^0.11.10",
"punycode": "^2.1.1",

View File

@ -6875,10 +6875,10 @@ pkg-dir@^4.1.0:
dependencies:
find-up "^4.0.0"
pl-api@^1.0.0-rc.76:
version "1.0.0-rc.76"
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-1.0.0-rc.76.tgz#f15622093229578ca474037591ef41e4b22c3974"
integrity sha512-Gm/H4yr4CdCUE8IIGfR6xpoWPsrN72ZQ18DmLaZQZAff9jHApGne91PFYfH4TgGzcwtAAKYDcz/78TILI0LCkw==
pl-api@^1.0.0-rc.77:
version "1.0.0-rc.77"
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-1.0.0-rc.77.tgz#823b0aef1380f61581574898d0b02f5e0e3f9f60"
integrity sha512-B1P/042xnVT/CPFBn1M5GdutzIb6Ar5stsVBLc4A7GUYMoy0A4F2Sn3rKNen9/9SWJTj2IEj/o00dYdmX2A9LQ==
dependencies:
blurhash "^2.0.5"
http-link-header "^1.1.3"