Files
clean-architecture-frontend…/src/adapters/web-push/index.ts
T

67 lines
1.9 KiB
TypeScript

export {
createAssociationNotificationTag,
createWebPushNotificationRegistry,
type SafeNotification,
type WebPushNotificationRegistry,
} from "./notification-registry.ts";
export {
createPushAssociationFenceStore,
type PushAssociationFenceStore,
type PushAssociationFenceStoreDependencies,
type PushControlReceipt,
type PushControlRepository,
} from "./push-association-fence-store.ts";
export {
clickDataFromHint,
decodeNotificationClickData,
decodeNotificationClickDataForCleanup,
decodeWebPushHint,
} from "./push-codec.ts";
export {
createWebPushRegistrationGateway,
WEB_PUSH_REGISTRATION_OPERATIONS,
type NativePushSubscriptionMaterial,
type WebPushReconciliation,
type WebPushRegistrationCommit,
type WebPushRegistrationExecutor,
type WebPushRegistrationGateway,
} from "./push-registration-gateway.ts";
export {
createWebPushSubscriptionAdapter,
type NotificationPermissionFacade,
type OwnedNotificationFacade,
type WindowPushManagerFacade,
type WindowPushSubscriptionFacade,
type WindowServiceWorkerRegistrationFacade,
} from "./push-subscription-adapter.ts";
export {
createWebPushServiceWorkerRuntime,
type ServiceWorkerEventHost,
type WebPushServiceWorkerRuntime,
} from "./service-worker-runtime.ts";
export {
createLinkedAbortController,
failureCode,
nativeFailure,
observeWebPush,
systemTimeoutScheduler,
withAbortableDeadline,
type LinkedAbortController,
type TimeoutScheduler,
} from "./runtime-support.ts";
export {
createNotificationClickAdapter,
type NotificationClickAdapter,
type NotificationClickEventFacade,
type NotificationFacade,
type WindowClientFacade,
type WorkerClientsFacade,
} from "./inbound/notification-click-adapter.ts";
export {
createPushEventAdapter,
type PushEventAdapter,
type PushEventFacade,
type PushMessageDataFacade,
type WorkerNotificationFacade,
} from "./inbound/push-event-adapter.ts";