2024-07-26 17:49:36 +02:00
|
|
|
/**
|
2024-09-16 12:44:11 +02:00
|
|
|
* @file Zod schema definitions
|
|
|
|
|
* @module federation/schemas
|
2024-07-26 17:49:36 +02:00
|
|
|
*/
|
|
|
|
|
|
2024-09-16 12:44:11 +02:00
|
|
|
import {
|
2024-08-26 19:30:56 +02:00
|
|
|
CollectionSchema,
|
2024-08-25 15:47:03 +02:00
|
|
|
DeleteSchema,
|
2024-06-20 00:21:34 +02:00
|
|
|
EntitySchema,
|
|
|
|
|
FollowAcceptSchema,
|
|
|
|
|
FollowRejectSchema,
|
|
|
|
|
FollowSchema,
|
2024-08-25 15:47:03 +02:00
|
|
|
GroupSchema,
|
|
|
|
|
InstanceMetadataSchema,
|
2024-06-20 00:21:34 +02:00
|
|
|
NoteSchema,
|
2024-08-25 15:47:03 +02:00
|
|
|
UnfollowSchema,
|
2024-06-20 00:21:34 +02:00
|
|
|
UserSchema,
|
2024-09-22 17:15:19 +02:00
|
|
|
} from "./validators/base.ts";
|
|
|
|
|
import { ContentFormatSchema } from "./validators/content_format.ts";
|
|
|
|
|
import { ExtensionPropertySchema } from "./validators/extensions.ts";
|
|
|
|
|
import { CustomEmojiExtensionSchema } from "./validators/extensions/custom_emojis.ts";
|
|
|
|
|
import { DislikeSchema, LikeSchema } from "./validators/extensions/likes.ts";
|
|
|
|
|
import { VoteSchema } from "./validators/extensions/polls.ts";
|
|
|
|
|
import { ReactionSchema } from "./validators/extensions/reactions.ts";
|
|
|
|
|
import { ShareSchema } from "./validators/extensions/share.ts";
|
|
|
|
|
import { VanityExtensionSchema } from "./validators/extensions/vanity.ts";
|
|
|
|
|
import { WebFingerSchema } from "./validators/webfinger.ts";
|
2024-06-20 00:21:34 +02:00
|
|
|
|
2024-09-16 12:44:11 +02:00
|
|
|
export {
|
|
|
|
|
NoteSchema as Note,
|
|
|
|
|
CollectionSchema as Collection,
|
|
|
|
|
EntitySchema as Entity,
|
|
|
|
|
FollowSchema as Follow,
|
|
|
|
|
UnfollowSchema as Unfollow,
|
|
|
|
|
FollowAcceptSchema as FollowAccept,
|
|
|
|
|
FollowRejectSchema as FollowReject,
|
|
|
|
|
GroupSchema as Group,
|
|
|
|
|
InstanceMetadataSchema as InstanceMetadata,
|
|
|
|
|
UserSchema as User,
|
|
|
|
|
ContentFormatSchema as ContentFormat,
|
|
|
|
|
ExtensionPropertySchema as EntityExtensionProperty,
|
|
|
|
|
CustomEmojiExtensionSchema as CustomEmojiExtension,
|
|
|
|
|
DeleteSchema as Delete,
|
|
|
|
|
VanityExtensionSchema as VanityExtension,
|
|
|
|
|
LikeSchema as LikeExtension,
|
|
|
|
|
DislikeSchema as DislikeExtension,
|
|
|
|
|
VoteSchema as PollVoteExtension,
|
|
|
|
|
ReactionSchema as ReactionExtension,
|
|
|
|
|
ShareSchema as ShareExtension,
|
2024-09-16 16:48:35 +02:00
|
|
|
WebFingerSchema as WebFinger,
|
2024-09-16 12:44:11 +02:00
|
|
|
};
|