feat(docs): Update README to reflect new modular architecture and expanded core utilities: add Project Architecture Overview, update export paths and API references, and mark plan tasks as completed

This commit is contained in:
2025-05-09 22:11:56 +00:00
parent 5e97c088bf
commit 6b910587ab
9 changed files with 408 additions and 501 deletions

View File

@ -5,7 +5,7 @@ import type { ICertificateData, ICertificateFailure, ICertificateExpiring } from
/**
* Subscribers callback definitions for Port80Handler events
*/
export interface Port80HandlerSubscribers {
export interface IPort80HandlerSubscribers {
onCertificateIssued?: (data: ICertificateData) => void;
onCertificateRenewed?: (data: ICertificateData) => void;
onCertificateFailed?: (data: ICertificateFailure) => void;
@ -17,7 +17,7 @@ export interface Port80HandlerSubscribers {
*/
export function subscribeToPort80Handler(
handler: Port80Handler,
subscribers: Port80HandlerSubscribers
subscribers: IPort80HandlerSubscribers
): void {
if (subscribers.onCertificateIssued) {
handler.on(Port80HandlerEvents.CERTIFICATE_ISSUED, subscribers.onCertificateIssued);