- Added support for following users with optional federation URLs, allowing for cross-server interactions. - Implemented new endpoints for following and unfollowing users, including payload validation and error handling. - Introduced federation delivery jobs to handle follow requests across different servers. - Updated database schema to include references for follower and following server URLs. - Enhanced URL validation to allow localhost during development while maintaining security checks. - Refactored existing social endpoints to accommodate new follow logic and improve code organization.
7 lines
404 B
TypeScript
7 lines
404 B
TypeScript
import { createBlock, deleteBlock, getBlocks } from "./blocks";
|
|
import { followUser, getFollowers, getFollows } from "./follows";
|
|
import { createMute, deleteMute, getMutes } from "./mutes";
|
|
import { createPost, getPost, uploadFile } from "./posts";
|
|
|
|
export { createBlock, createMute, createPost, deleteBlock, deleteMute, followUser, getBlocks, getFollowers, getFollows, getMutes, getPost, uploadFile };
|
|
|