Export new schemas
This commit is contained in:
parent
e024e92125
commit
0e7ccd57ae
|
@ -121,4 +121,4 @@ const accountSchema = z.object({
|
||||||
|
|
||||||
type Account = z.infer<typeof accountSchema>;
|
type Account = z.infer<typeof accountSchema>;
|
||||||
|
|
||||||
export { accountSchema, Account };
|
export { accountSchema, type Account };
|
|
@ -14,4 +14,4 @@ const customEmojiSchema = z.object({
|
||||||
|
|
||||||
type CustomEmoji = z.infer<typeof customEmojiSchema>;
|
type CustomEmoji = z.infer<typeof customEmojiSchema>;
|
||||||
|
|
||||||
export { customEmojiSchema, CustomEmoji };
|
export { customEmojiSchema, type CustomEmoji };
|
||||||
|
|
|
@ -11,4 +11,4 @@ const emojiReactionSchema = z.object({
|
||||||
|
|
||||||
type EmojiReaction = z.infer<typeof emojiReactionSchema>;
|
type EmojiReaction = z.infer<typeof emojiReactionSchema>;
|
||||||
|
|
||||||
export { emojiReactionSchema, EmojiReaction };
|
export { emojiReactionSchema, type EmojiReaction };
|
|
@ -16,4 +16,4 @@ const groupMemberSchema = z.object({
|
||||||
|
|
||||||
type GroupMember = z.infer<typeof groupMemberSchema>;
|
type GroupMember = z.infer<typeof groupMemberSchema>;
|
||||||
|
|
||||||
export { groupMemberSchema, GroupMember, GroupRoles };
|
export { groupMemberSchema, type GroupMember, GroupRoles };
|
|
@ -14,4 +14,4 @@ const groupRelationshipSchema = z.object({
|
||||||
|
|
||||||
type GroupRelationship = z.infer<typeof groupRelationshipSchema>;
|
type GroupRelationship = z.infer<typeof groupRelationshipSchema>;
|
||||||
|
|
||||||
export { groupRelationshipSchema, GroupRelationship };
|
export { groupRelationshipSchema, type GroupRelationship };
|
|
@ -1,13 +1,18 @@
|
||||||
export { accountSchema, type Account } from './account';
|
export { accountSchema, type Account } from './account';
|
||||||
|
export { attachmentSchema, type Attachment } from './attachment';
|
||||||
export { cardSchema, type Card } from './card';
|
export { cardSchema, type Card } from './card';
|
||||||
|
export { chatMessageSchema, type ChatMessage } from './chat-message';
|
||||||
export { customEmojiSchema, type CustomEmoji } from './custom-emoji';
|
export { customEmojiSchema, type CustomEmoji } from './custom-emoji';
|
||||||
export { emojiReactionSchema, type EmojiReaction } from './emoji-reaction';
|
export { emojiReactionSchema, type EmojiReaction } from './emoji-reaction';
|
||||||
export { groupSchema, type Group } from './group';
|
export { groupSchema, type Group } from './group';
|
||||||
export { groupMemberSchema, type GroupMember } from './group-member';
|
export { groupMemberSchema, type GroupMember } from './group-member';
|
||||||
export { groupRelationshipSchema, type GroupRelationship } from './group-relationship';
|
export { groupRelationshipSchema, type GroupRelationship } from './group-relationship';
|
||||||
export { groupTagSchema, type GroupTag } from './group-tag';
|
export { groupTagSchema, type GroupTag } from './group-tag';
|
||||||
|
export { mentionSchema, type Mention } from './mention';
|
||||||
|
export { notificationSchema, type Notification } from './notification';
|
||||||
export { pollSchema, type Poll, type PollOption } from './poll';
|
export { pollSchema, type Poll, type PollOption } from './poll';
|
||||||
export { relationshipSchema, type Relationship } from './relationship';
|
export { relationshipSchema, type Relationship } from './relationship';
|
||||||
|
export { statusSchema, type Status } from './status';
|
||||||
export { tagSchema, type Tag } from './tag';
|
export { tagSchema, type Tag } from './tag';
|
||||||
|
|
||||||
// Soapbox
|
// Soapbox
|
||||||
|
|
Loading…
Reference in New Issue