pl-api hotfix

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-10-09 13:08:12 +02:00
parent e093df57ad
commit 5297e100ce
4 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

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