- Add BadgePubSub interface with Redis and in-memory adapters - Implement cross-instance badge snapshot delivery via Redis pub/sub - Add message validation, echo loop prevention, and structured caching - Support graceful fallback to in-memory mode when Redis unavailable - Update ServerOptions for dependency injection and add documentation
15 lines
675 B
TypeScript
15 lines
675 B
TypeScript
export { createServer, type ServerOptions } from "./server.js";
|
|
export { GitHubClient, isPrMergeReady, type PrMergeStatus, type PrCheckStatus, type ReviewDecision, type MergePrParams, type FindPrParams } from "./github.js";
|
|
export { rateLimit, RATE_LIMITS, type RateLimitOptions } from "./rate-limit.js";
|
|
export { GitHubPollingService, type GitHubPollingServiceOptions, type TaskWatchInput, type WatchedBadgeType } from "./github-poll.js";
|
|
export {
|
|
type BadgePubSub,
|
|
type BadgePubSubEvents,
|
|
type BadgePubSubMessage,
|
|
type BadgePubSubFactory,
|
|
type BadgePubSubFactoryOptions,
|
|
InMemoryBadgePubSub,
|
|
RedisBadgePubSub,
|
|
createBadgePubSub,
|
|
} from "./badge-pubsub.js";
|