chore: ⬆️ Upgrade dependencies

This commit is contained in:
Jesse Wierzbinski 2025-11-21 08:31:02 +01:00
parent f260064083
commit f00ac1a590
No known key found for this signature in database
173 changed files with 665 additions and 752 deletions

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Account } from "./account.ts";
import { Appeal } from "./appeal.ts";
import { Id } from "./common.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { userAddressRegex } from "../regex.ts";
import { iso631, zBoolean } from "./common.ts";
import { CustomEmoji } from "./emoji.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
export const Appeal = z
.object({

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
export const Application = z
.object({

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Id } from "./common.ts";
export const Attachment = z

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Account } from "./account.ts";
export const PreviewCardAuthor = z

View file

@ -1,5 +1,5 @@
import ISO6391 from "iso-639-1";
import { z } from "zod/v4";
import { z } from "zod";
export const Id = z.uuid();

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Status } from "./status.ts";
export const Context = z

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { emojiRegex } from "../regex.ts";
import { Id, zBoolean } from "./common.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
export const ExtendedDescription = z
.object({

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Account } from "./account.ts";
export const FamiliarFollowers = z

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Id, zBoolean } from "./common.ts";
export const FilterStatus = z

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Instance } from "./instance.ts";
import { SSOConfig } from "./versia.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Account } from "./account.ts";
import { iso631 } from "./common.ts";
import { Rule } from "./rule.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Id } from "./common.ts";
export const Marker = z

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Account } from "./account.ts";
import { AccountWarning } from "./account-warning.ts";
import { Id } from "./common.ts";
@ -53,10 +53,6 @@ export const Notification = z
description:
"Report that was the object of the notification. Attached when type of the notification is admin.report.",
}),
event: z.undefined().meta({
description:
"Versia Server does not sever relationships, so this field is always empty.",
}),
moderation_warning: AccountWarning.optional().meta({
description:
"Moderation warning that caused the notification. Attached when type of the notification is moderation_warning.",

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Id } from "./common.ts";
import { CustomEmoji } from "./emoji.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Source } from "./account.ts";
export const Preferences = z

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
export const PrivacyPolicy = z
.object({

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Id } from "./common.ts";
export const WebPushSubscription = z

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Id, iso631 } from "./common.ts";
export const Relationship = z

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Account } from "./account.ts";
import { Id } from "./common.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
export const Rule = z
.object({

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Account } from "./account.ts";
import { Status } from "./status.ts";
import { Tag } from "./tag.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Account } from "./account.ts";
import { Attachment } from "./attachment.ts";
import { PreviewCard } from "./card.ts";

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
export const Tag = z
.object({

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
export const Token = z
.object({

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
export const TermsOfService = z
.object({

View file

@ -1,4 +1,4 @@
import { z } from "zod/v4";
import { z } from "zod";
import { Id } from "./common.ts";
import { RolePermission } from "./permissions.ts";

View file

@ -103,7 +103,6 @@ export class BaseClient {
}
/** Overridable by testing */
// biome-ignore lint/nursery/useReadonlyClassProperties: Overridable by testing
private fetch = (...args: Parameters<typeof fetch>) => fetch(...args);
private async request<ReturnType>(

View file

@ -1,5 +1,5 @@
import { OAuth2Client } from "@badgateway/oauth2-client";
import type { z } from "zod/v4";
import type { z } from "zod";
import type { Account } from "../schemas/account.ts";
import type { CredentialApplication } from "../schemas/application.ts";
import type { Attachment } from "../schemas/attachment.ts";