diff --git a/packages/pl-api/lib/entities/account.ts b/packages/pl-api/lib/entities/account.ts index 2c195dda7..896a4e95f 100644 --- a/packages/pl-api/lib/entities/account.ts +++ b/packages/pl-api/lib/entities/account.ts @@ -85,7 +85,6 @@ const baseAccountSchema = z.object({ group: z.boolean().catch(false), discoverable: z.boolean().catch(false), noindex: z.boolean().nullable().catch(null), - moved: z.null().catch(null), suspended: z.boolean().optional().catch(undefined), limited: z.boolean().optional().catch(undefined), created_at: z.string().datetime().catch(new Date().toUTCString()), @@ -138,7 +137,7 @@ type WithMoved = { moved: Account | null; }; -type Account = z.infer & WithMoved; +type Account = z.infer & WithMoved; const accountSchema: z.ZodType = untypedAccountSchema as any; diff --git a/packages/pl-api/package.json b/packages/pl-api/package.json index a899bf6a2..cea671e95 100644 --- a/packages/pl-api/package.json +++ b/packages/pl-api/package.json @@ -1,6 +1,6 @@ { "name": "pl-api", - "version": "0.0.40", + "version": "0.0.41", "type": "module", "homepage": "https://github.com/mkljczk/pl-fe/tree/fork/packages/pl-api", "repository": { diff --git a/packages/pl-fe/package.json b/packages/pl-fe/package.json index 57790d81b..e2c3bc4fa 100644 --- a/packages/pl-fe/package.json +++ b/packages/pl-fe/package.json @@ -103,7 +103,7 @@ "mini-css-extract-plugin": "^2.9.1", "multiselect-react-dropdown": "^2.0.25", "path-browserify": "^1.0.1", - "pl-api": "^0.0.40", + "pl-api": "^0.0.41", "postcss": "^8.4.47", "process": "^0.11.10", "punycode": "^2.1.1", diff --git a/packages/pl-fe/yarn.lock b/packages/pl-fe/yarn.lock index 3251171a0..5a3ae6c61 100644 --- a/packages/pl-fe/yarn.lock +++ b/packages/pl-fe/yarn.lock @@ -8128,10 +8128,10 @@ pirates@^4.0.1: resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== -pl-api@^0.0.40: - version "0.0.40" - resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.40.tgz#d2c63a8673e8899e5ea1b550544b2658310bfa03" - integrity sha512-HgpfBm+JJ68ack5Crw7f+2fKUCueJTy//xwgUjvOw4ZCBUsMlckse+VjZNoUsgg3jPxY1Yb8e2nJkJCdiYnTkA== +pl-api@^0.0.41: + version "0.0.41" + resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.41.tgz#f8f629c0ccb58ae995e0f8c371ec75406c2cb50f" + integrity sha512-7GgkF2WPVjFk13Odqz4Irem3ydblzPrOyG7cA2u7CI7f6k6vGjaiO8zHLCUUcAqlthYZah4aLH3wjkqh8YNLCQ== dependencies: blurhash "^2.0.5" http-link-header "^1.1.3"