@jest-com/types 1.260920.2 → 1.260921.7
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/index.d.ts +4 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -241,9 +241,10 @@ export type ScheduleNotificationOptions = {
|
|
|
241
241
|
} | {
|
|
242
242
|
scheduledAt?: never;
|
|
243
243
|
/**
|
|
244
|
-
* Days from now to deliver the notification (
|
|
244
|
+
* Days from now to deliver the notification (0–7, inclusive).
|
|
245
245
|
* The platform picks an optimal delivery time within that window
|
|
246
|
-
* for each player.
|
|
246
|
+
* for each player. Use 0 to deliver later the same day; it lands
|
|
247
|
+
* 10 minutes from now at the earliest.
|
|
247
248
|
*/
|
|
248
249
|
scheduledInDays: number;
|
|
249
250
|
});
|
|
@@ -337,7 +338,7 @@ export interface NotificationsModule {
|
|
|
337
338
|
*
|
|
338
339
|
* Constraints (out-of-range values throw `INVALID_ARGUMENTS`):
|
|
339
340
|
* - `scheduledAt` must be within the next 7 days
|
|
340
|
-
* - `scheduledInDays` must be an integer
|
|
341
|
+
* - `scheduledInDays` must be an integer 0–7 (inclusive); 0 is later today
|
|
341
342
|
* - `ctaText` must be 1–50 characters
|
|
342
343
|
*
|
|
343
344
|
* Use exact scheduling for fixed events/deadlines. Use fuzzy
|