@social-mail/social-mail-client 1.2.38 → 1.2.39

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.
@@ -18763,7 +18763,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18763
18763
  }) {
18764
18764
  return __awaiter(this, void 0, void 0, function* () {
18765
18765
  const userID = SocialMailApp.user.userID;
18766
- let q = this.entityService.query(AppFile).where(x => x.isFolder === true && x.parentID === null && x.path !== null);
18766
+ let q = this.entityService.query(AppFile).where(x => x.isFolder === true && x.parentID === null && x.path !== null && x.contentType !== "snapshot");
18767
18767
  if (search) {
18768
18768
  q = q.where({
18769
18769
  search
@@ -18889,6 +18889,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18889
18889
  folder,
18890
18890
  cancelToken,
18891
18891
  showDeleted = false,
18892
+ showSnapShot = false,
18892
18893
  showFolder = true
18893
18894
  }) {
18894
18895
  var _a, _b;
@@ -18920,6 +18921,9 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
18920
18921
  } else {
18921
18922
  q = q.orderByDescending(x => x.isFolder).thenBy(x => x.name);
18922
18923
  }
18924
+ if (!showSnapShot) {
18925
+ q = q.where(x => x.contentType !== "snapshot");
18926
+ }
18923
18927
  const files = yield q.toArray({
18924
18928
  cancelToken
18925
18929
  });