@social-mail/social-mail-client 1.0.98 → 1.0.100

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.
@@ -17996,7 +17996,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
17996
17996
  top() {
17997
17997
  return __awaiter(this, void 0, void 0, function* () {
17998
17998
  const userID = SocialMailApp.user.userID;
17999
- const top = yield this.entityService.query(AppFile).where(x => x.isFolder === true && x.parentID === null).orderByDescending({
17999
+ const top = yield this.entityService.query(AppFile).where(x => x.isFolder === true && x.parentID === null && x.path !== null).orderByDescending({
18000
18000
  userID
18001
18001
  }, p => x => x.userPins.some(s => p.userID === s.userID)).thenByDescending(x => x.dateUpdated).include(x => x.creator).toPagedList({
18002
18002
  size: 3,
@@ -18014,7 +18014,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18014
18014
  }) {
18015
18015
  return __awaiter(this, void 0, void 0, function* () {
18016
18016
  const userID = SocialMailApp.user.userID;
18017
- let q = this.entityService.query(AppFile).where(x => x.isFolder === true && x.parentID === null);
18017
+ let q = this.entityService.query(AppFile).where(x => x.isFolder === true && x.parentID === null && x.path !== null);
18018
18018
  if (search) {
18019
18019
  q = q.where({
18020
18020
  search
@@ -18062,7 +18062,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18062
18062
  }
18063
18063
  rootFolders() {
18064
18064
  return __awaiter(this, void 0, void 0, function* () {
18065
- return this.entityService.query(AppFile).where(x => x.isFolder === true && x.parentID === null).include(x => x.creator).toArray();
18065
+ return this.entityService.query(AppFile).where(x => x.isFolder === true && x.parentID === null && x.path !== null).include(x => x.creator).toArray();
18066
18066
  });
18067
18067
  }
18068
18068
  createFolder({
@@ -21124,7 +21124,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
21124
21124
  search
21125
21125
  }, p => x => Sql.text.iLike(x.email.subject, p.search) || Sql.text.iLike(x.email.textBody, p.search));
21126
21126
  }
21127
- const emails = yield q.include(x => [x.email.recipients.forEach(r => r.emailAddress), x.email.attachments, x.email.senderUser, x.email.senderEmail]).orderByDescending(x => x.email.dateReceived).toPagedList({
21127
+ const emails = yield q.include(x => [x.email.recipients.forEach(r => r.emailAddress), x.email.attachments, x.email.senderUser, x.email.senderEmail]).orderByDescending(x => x.dateReceived).toPagedList({
21128
21128
  start,
21129
21129
  size,
21130
21130
  cancelToken