@mpgd/game-services 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/notifications/ait-functional-delivery.d.ts +165 -0
- package/dist/notifications/ait-functional-delivery.js +445 -0
- package/dist/notifications/delivery-provider.d.ts +121 -0
- package/dist/notifications/delivery-provider.js +23 -0
- package/dist/notifications/fcm.d.ts +138 -0
- package/dist/notifications/fcm.js +602 -0
- package/dist/notifications/index.d.ts +12 -0
- package/dist/notifications/index.js +12 -0
- package/dist/notifications/registry.d.ts +86 -0
- package/dist/notifications/registry.js +131 -0
- package/dist/notifications/service.d.ts +222 -0
- package/dist/notifications/service.js +2609 -0
- package/dist/notifications/store-conformance.d.ts +11 -0
- package/dist/notifications/store-conformance.js +795 -0
- package/dist/notifications/store.d.ts +423 -0
- package/dist/notifications/store.js +443 -0
- package/dist/notifications/text.d.ts +2 -0
- package/dist/notifications/text.js +4 -0
- package/package.json +18 -6
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { NotificationStore } from './store.js';
|
|
2
|
+
/**
|
|
3
|
+
* The behavior every `NotificationStore` must have, run against a fresh
|
|
4
|
+
* store: the atomic steps the service relies on (consent dating, endpoint
|
|
5
|
+
* address uniqueness and dead addresses, versioned compare-and-set on sends
|
|
6
|
+
* and schedule entries, idempotent notices and history, consent pruning,
|
|
7
|
+
* provider-wide history counts) and the purge cutoffs. A durable store
|
|
8
|
+
* (the Worker's D1 store, a Redis store) runs it in its own tests. Throws on
|
|
9
|
+
* the first difference.
|
|
10
|
+
*/
|
|
11
|
+
export declare function runNotificationStoreConformance(createStore: () => NotificationStore | Promise<NotificationStore>): Promise<void>;
|