A server-side link shortening service powered by Linkat
1/**
2 * Main library exports
3 *
4 * This file provides a clean public API for the application's core functionality.
5 */
6
7// Services
8export { getShortLinks, findShortLink, clearCache as clearLinkatCache } from './services/linkat';
9export { createAgent, getPublicAgent, getPDSAgent, resetAgents } from './services/atproto';
10
11// Utilities
12export { encodeUrl, isValidShortcode, getMaxCombinations } from './utils/encoding';
13
14// Types
15export type { LinkCard, LinkData, ShortLink } from './services/types';
16export type { ResolvedIdentity } from './services/atproto';
17
18// Cache
19export { Cache } from './services/cache';
20
21// Constants
22export { CACHE, SHORTCODE, ATPROTO, HTTP } from './constants';