@social-mail/social-mail-web-server 1.7.357 → 1.7.360

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.357",
3
+ "version": "1.7.360",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "@aws-sdk/client-s3": "^3.717.0",
23
23
  "@azure/storage-blob": "^12.25.0",
24
24
  "@entity-access/entity-access": "^1.0.407",
25
- "@entity-access/server-pages": "^1.1.417",
25
+ "@entity-access/server-pages": "^1.1.418",
26
26
  "@ffmpeg/core-mt": "^0.12.6",
27
27
  "@ffmpeg/ffmpeg": "^0.12.10",
28
28
  "@ffmpeg/util": "^0.12.1",
@@ -29,15 +29,15 @@ export default class HostedDomainEvents extends AuthenticatedEvents<HostedDomain
29
29
  private context: WorkflowContext;
30
30
 
31
31
  @ExternalQuery
32
- async hosted(query: IEntityQuery<HostedDomain>) {
32
+ async hosted() {
33
33
  if (this.verify) {
34
34
  this.sessionUser.ensureLoggedIn();
35
35
  }
36
36
  if (this.sessionUser.isAdmin) {
37
- return query;
37
+ return this.db.hostedDomains.asQuery();
38
38
  }
39
39
  const { userID } = this.sessionUser;
40
- return query.where({ userID }, (p) => (x) => x.domainUsers.some((d) => d.userID === p.userID));
40
+ return this.db.hostedDomains.where({ userID }, (p) => (x) => x.domainUsers.some((d) => d.userID === p.userID));
41
41
  }
42
42
 
43
43
  @ExternalInvoke
@@ -5,7 +5,7 @@ export default async function seedUI(config: DBConfig) {
5
5
  await config.saveVersion(UIPackageConfig, {
6
6
  package: "@social-mail/social-mail-client",
7
7
  view: "dist/web/AppIndex",
8
- version: "1.4.210"
8
+ version: "1.4.212"
9
9
  });
10
10
 
11
11
  await config.saveVersion(WebComponentsPackageConfig, {
@@ -50,7 +50,6 @@ export default class AppTempFileService {
50
50
  && Sql.text.like(x.path, p.path)
51
51
  && !Sql.text.includes(Sql.text.substring(x.path, p.pathLength), "/")
52
52
  )
53
- .trace(console.log)
54
53
  .toArray();
55
54
 
56
55
  for (const child of children) {
@@ -124,7 +123,7 @@ export default class AppTempFileService {
124
123
  }
125
124
 
126
125
  async downloadFolder(folder: AppTempFile, url: string, path: string, transform: {[key: string]: string}) {
127
- console.log(url);
126
+ // console.log(url);
128
127
  const r = await fetch(url);
129
128
  const contentType = r.headers.get("content-type");
130
129
  if ( /json/i.test(contentType) && r.headers.get("x-content-type") === "folder") {