2024-05-14 09:00:05 +02:00
|
|
|
/**
|
|
|
|
|
* @file index.ts
|
|
|
|
|
* @fileoverview Main entrypoint and export for the module
|
|
|
|
|
* @module federation
|
|
|
|
|
* @see module:federation/schemas/base
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import type { z } from "zod";
|
|
|
|
|
import {
|
|
|
|
|
Action,
|
|
|
|
|
ActorPublicKeyData,
|
|
|
|
|
ContentFormat,
|
|
|
|
|
Dislike,
|
|
|
|
|
Entity,
|
|
|
|
|
Extension,
|
|
|
|
|
Follow,
|
|
|
|
|
FollowAccept,
|
|
|
|
|
FollowReject,
|
|
|
|
|
Like,
|
|
|
|
|
Note,
|
|
|
|
|
Patch,
|
|
|
|
|
Publication,
|
|
|
|
|
Report,
|
|
|
|
|
ServerMetadata,
|
|
|
|
|
Undo,
|
|
|
|
|
User,
|
|
|
|
|
VanityExtension,
|
|
|
|
|
Visibility,
|
2024-05-14 10:35:25 +02:00
|
|
|
} from "./schemas/base";
|
2024-05-14 09:00:05 +02:00
|
|
|
|
|
|
|
|
export type InferType<T extends z.AnyZodObject> = z.infer<T>;
|
|
|
|
|
|
|
|
|
|
export {
|
|
|
|
|
Entity,
|
|
|
|
|
ContentFormat,
|
|
|
|
|
Visibility,
|
|
|
|
|
Publication,
|
|
|
|
|
Note,
|
|
|
|
|
Patch,
|
|
|
|
|
ActorPublicKeyData,
|
|
|
|
|
VanityExtension,
|
|
|
|
|
User,
|
|
|
|
|
Action,
|
|
|
|
|
Like,
|
|
|
|
|
Undo,
|
|
|
|
|
Dislike,
|
|
|
|
|
Follow,
|
|
|
|
|
FollowAccept,
|
|
|
|
|
FollowReject,
|
|
|
|
|
Extension,
|
|
|
|
|
Report,
|
|
|
|
|
ServerMetadata,
|
|
|
|
|
};
|