Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions sdk/notifications/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// ============================================================
// PrivacyLayer SDK — Notifications Module
// ============================================================
// Re-exports all public types and the NotificationService class.
// ============================================================

export {
// Service
NotificationService,

// Enums
EventType,
ChannelType,

// Interfaces — config
type EmailConfig,
type WebhookConfig,
type InAppConfig,
type ChannelConfig,
type NotificationServiceConfig,

// Interfaces — subscriber
type Subscriber,

// Interfaces — notification
type NotificationPayload,
type NotificationResult,
type NotificationTemplate,
type StoredNotification,

// Interfaces — transports (pluggable)
type EmailTransport,
type HttpClient,
} from './notification-service';
Loading