chore: ⬆️ Upgrade to Biome 2.0

This commit is contained in:
Jesse Wierzbinski 2025-04-10 19:15:31 +02:00
parent e7aec8752c
commit 963173cdae
No known key found for this signature in database
174 changed files with 412 additions and 379 deletions

View file

@ -1,5 +1,5 @@
import { z } from "zod";
import { url, u64 } from "./common.ts";
import { u64, url } from "./common.ts";
export const CollectionSchema = z.strictObject({
author: url.nullable(),

View file

@ -1,6 +1,6 @@
import { z } from "zod";
import { isISOString } from "../../regex.ts";
import { url, u64 } from "../common.ts";
import { u64, url } from "../common.ts";
import { TextContentFormatSchema } from "../contentformat.ts";
import { EntitySchema } from "../entity.ts";

View file

@ -1,27 +1,26 @@
// biome-ignore lint/performance/noBarrelFile: <explanation>
export { UserSchema } from "./user.ts";
export { NoteSchema } from "./note.ts";
export { EntitySchema } from "./entity.ts";
export { DeleteSchema } from "./delete.ts";
export { InstanceMetadataSchema } from "./instance.ts";
export { CollectionSchema, URICollectionSchema } from "./collection.ts";
export {
AudioContentFormatSchema,
ContentFormatSchema,
ImageContentFormatSchema,
AudioContentFormatSchema,
NonTextContentFormatSchema,
TextContentFormatSchema,
VideoContentFormatSchema,
} from "./contentformat.ts";
export {
FollowSchema,
FollowAcceptSchema,
FollowRejectSchema,
UnfollowSchema,
} from "./follow.ts";
export { CollectionSchema, URICollectionSchema } from "./collection.ts";
export { LikeSchema, DislikeSchema } from "./extensions/likes.ts";
export { DeleteSchema } from "./delete.ts";
export { EntitySchema } from "./entity.ts";
export { DislikeSchema, LikeSchema } from "./extensions/likes.ts";
export { VoteSchema } from "./extensions/polls.ts";
export { ReactionSchema } from "./extensions/reactions.ts";
export { ReportSchema } from "./extensions/reports.ts";
export { ShareSchema } from "./extensions/share.ts";
export {
FollowAcceptSchema,
FollowRejectSchema,
FollowSchema,
UnfollowSchema,
} from "./follow.ts";
export { InstanceMetadataSchema } from "./instance.ts";
export { NoteSchema } from "./note.ts";
export { UserSchema } from "./user.ts";
export { WebFingerSchema } from "./webfinger.ts";