@social-mail/social-mail-web-server 1.7.294 → 1.7.296

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.7.294",
3
+ "version": "1.7.296",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -293,6 +293,9 @@ export default class MailboxEvents extends AuthenticatedEvents<Mailbox> {
293
293
  await db.mailboxContactTags.asQuery()
294
294
  .delete(entity, (p) => (x) => x.mailboxID === p.mailboxID);
295
295
 
296
+ await db.mailboxContacts.asQuery()
297
+ .delete(entity, (p) => (x) => x.mailboxID === p.mailboxID);
298
+
296
299
  await db.channelEmails.asQuery()
297
300
  .delete(entity, (p) => (x) => x.mailboxID === p.mailboxID);
298
301
  }
@@ -40,7 +40,7 @@ export default class WebSiteEvents extends AuthenticatedEvents<WebSite> {
40
40
  templates() {
41
41
  const { db } = this;
42
42
  return db.websiteFolders
43
- .where(void 0, (p) => (x) => x.isTemplate === true);
43
+ .where(void 0, (p) => (x) => x.isTemplate === true).limit(10);
44
44
  }
45
45
 
46
46
  @ExternalInvoke