@remit/mailbox-service 0.0.77 → 0.0.78
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
CHANGED
|
@@ -17,6 +17,7 @@ import type {
|
|
|
17
17
|
import { MessagePlacementUnsettledError } from "@remit/data-ports/errors";
|
|
18
18
|
import type { RoleResolution } from "@remit/data-ports/folder-role";
|
|
19
19
|
import { MessageMoveService } from "./message-move.js";
|
|
20
|
+
import { NO_JUNK_ROLES } from "./test-helpers/folder-roles.js";
|
|
20
21
|
|
|
21
22
|
const ACCOUNT = "acc-1";
|
|
22
23
|
const ACCOUNT_CONFIG = "cfg-1";
|
|
@@ -162,6 +163,7 @@ const buildWorld = (seed: Array<Record<string, unknown>>) => {
|
|
|
162
163
|
const mailboxSpecialUseService = {
|
|
163
164
|
resolveTrashRole: async () => flaggedTrash,
|
|
164
165
|
findTrashMailbox: async () => flaggedTrash.mailbox,
|
|
166
|
+
resolveJunkRolesForConfig: async () => NO_JUNK_ROLES,
|
|
165
167
|
} as unknown as IMailboxSpecialUseRepository;
|
|
166
168
|
|
|
167
169
|
const addressService = {
|