pl-api: support post editing on gotosocial

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk
2024-12-31 12:37:37 +01:00
parent 0eb12f9466
commit 781fb7a86d
4 changed files with 7 additions and 6 deletions

View File

@ -491,6 +491,7 @@ const getFeatures = (instance: Instance) => {
editStatuses: any([
v.software === FIREFISH,
v.software === FRIENDICA && gte(v.version, '2022.12.0'),
v.software === GOTOSOCIAL && gte(v.version, '0.17.4'),
v.software === ICESHRIMP,
v.software === ICESHRIMP_NET,
v.software === MASTODON,

View File

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

View File

@ -101,7 +101,7 @@
"multiselect-react-dropdown": "^2.0.25",
"mutative": "^1.1.0",
"path-browserify": "^1.0.1",
"pl-api": "^1.0.0-rc.9",
"pl-api": "^1.0.0-rc.10",
"postcss": "^8.4.49",
"process": "^0.11.10",
"punycode": "^2.1.1",

View File

@ -7508,10 +7508,10 @@ pkg-dir@^4.1.0:
dependencies:
find-up "^4.0.0"
pl-api@^1.0.0-rc.9:
version "1.0.0-rc.9"
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-1.0.0-rc.9.tgz#00cd1da974821f080738501493f2a3ec7906357a"
integrity sha512-MAKPfCZJkbofCzQRupfeEv/Eqrq15oMxxY0CWlxqjS7rU3M49ciIIK1mFeb+ySWFGZ1IvxKQ2MPFa9jKEdDtfg==
pl-api@^1.0.0-rc.10:
version "1.0.0-rc.10"
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-1.0.0-rc.10.tgz#9330628f10099b201940c9218008b79cadab861b"
integrity sha512-PQu69fYDmegEDUvTee56Dr//A+lJL8/VqQDRAD2OZMviEKU/O6Gs1S0BJR4SSXtWR9BPKWDGPq6jiVEfiYKAFw==
dependencies:
blurhash "^2.0.5"
http-link-header "^1.1.3"