@remit/mailbox-service 0.0.86 → 0.0.87
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/package.json +1 -1
- package/src/index.ts +5 -1
- package/src/placement-settled.ts +6 -4
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -249,7 +249,11 @@ export {
|
|
|
249
249
|
type ResolveExhaustedPlacementMoveResult,
|
|
250
250
|
resolveExhaustedPlacementMoveFailure,
|
|
251
251
|
} from "./placement-move-terminal.js";
|
|
252
|
-
export {
|
|
252
|
+
export {
|
|
253
|
+
isPlacementUnsettled,
|
|
254
|
+
type PlacementBinding,
|
|
255
|
+
placementBindingOf,
|
|
256
|
+
} from "./placement-settled.js";
|
|
253
257
|
export {
|
|
254
258
|
type QuarantineContext,
|
|
255
259
|
QuarantinedUids,
|
package/src/placement-settled.ts
CHANGED
|
@@ -44,10 +44,12 @@ export const bindsForeignUid = (
|
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* `in_flight` — a mover is still working on the row, so waiting resolves it.
|
|
47
|
-
* `abandoned` — the
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
47
|
+
* `abandoned` — the last attempt failed (`syncStatus: failed`) and the row is
|
|
48
|
+
* still `moving`: either a redelivery is pending, or the record dead-lettered
|
|
49
|
+
* and nothing is coming for it. The two are indistinguishable from the row
|
|
50
|
+
* (`message-settlement.ts`), and the pair is a lie either way, so neither is
|
|
51
|
+
* worth spending the settle ceiling on. A mover that exhausts its budget
|
|
52
|
+
* settles the row against IMAP instead of leaving this state behind (#1005).
|
|
51
53
|
*/
|
|
52
54
|
export type PlacementBinding = "consistent" | "in_flight" | "abandoned";
|
|
53
55
|
|