@ -132,7 +132,7 @@ const accountWithMovedAccountSchema = baseAccountSchema.extend({
|
||||
});
|
||||
|
||||
/** @see {@link https://docs.joinmastodon.org/entities/Account/} */
|
||||
const accountSchema = z.preprocess(preprocessAccount, accountWithMovedAccountSchema);
|
||||
const accountSchema: z.ZodType<Account> = z.preprocess(preprocessAccount, accountWithMovedAccountSchema) as any;
|
||||
|
||||
type Account = z.infer<typeof baseAccountSchema> & {
|
||||
moved: Account | null;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pl-api",
|
||||
"version": "0.0.38",
|
||||
"version": "0.0.39",
|
||||
"type": "module",
|
||||
"homepage": "https://github.com/mkljczk/pl-fe/tree/fork/packages/pl-api",
|
||||
"repository": {
|
||||
|
||||
@ -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.38",
|
||||
"pl-api": "^0.0.39",
|
||||
"postcss": "^8.4.47",
|
||||
"process": "^0.11.10",
|
||||
"punycode": "^2.1.1",
|
||||
|
||||
@ -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.38:
|
||||
version "0.0.38"
|
||||
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.38.tgz#aef6449b994fdc018dbacf4bc81cb2a2e5733c90"
|
||||
integrity sha512-nFACUbhEndMe+Iwif+lKnbtDpvPgpiyMqfXTqV/dG6+B7yY5ECV1CnOKWcq2tojLaw5jmnO1DBC2KNJ7+VD/Cg==
|
||||
pl-api@^0.0.39:
|
||||
version "0.0.39"
|
||||
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.39.tgz#7db536d1566b4f8c741b8d01dbdd7faa3ecb66cc"
|
||||
integrity sha512-kkg1e8V21Xfa9ajOXo+3aa7o7rwPy9aTfBM21APvzt1vdQqINhbPspw1IZEXkQQCR/9kittaTnc/XFQKLuTfhA==
|
||||
dependencies:
|
||||
blurhash "^2.0.5"
|
||||
http-link-header "^1.1.3"
|
||||
|
||||
Reference in New Issue
Block a user