s-private API Documentation - v3.8.1
    Preparing search index...

    Domain event emitted when an article is deleted.

    Part of the event-driven architecture for cross-cutting concerns like notifications, logging, and analytics.

    const event = new ArticleDeletedEvent({
    title: "Deleted Article",
    userId: "user-123",
    caller: "deleteArticle",
    });

    // event.eventType === "article.deleted"
    await eventHandler.handle(event);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    eventType: string

    The type of event (e.g., "article.created")

    metadata: { caller: string; timestamp: Date; userId: string }

    Contextual information about the event

    Event-specific data