@social-mail/social-mail-client 1.2.486 → 1.2.488
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/content/local-db/worker.js +12 -0
- package/dist/admin/AdminAppIndex.pack.js +5 -3
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/services/files/FileShareService.js +5 -3
- package/dist/services/files/FileShareService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +5 -3
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/services/files/FileShareService.ts +2 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PGlite } from '@electric-sql/pglite'
|
|
2
|
+
import { worker } from '@electric-sql/pglite/worker'
|
|
3
|
+
|
|
4
|
+
worker({
|
|
5
|
+
async init(options) {
|
|
6
|
+
const meta = options.meta;
|
|
7
|
+
// Create and return a PGlite instance
|
|
8
|
+
return new PGlite({
|
|
9
|
+
dataDir: options.dataDir,
|
|
10
|
+
})
|
|
11
|
+
},
|
|
12
|
+
})
|
|
@@ -33241,11 +33241,13 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
|
|
|
33241
33241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
33242
33242
|
yield this.entityService.save(fa);
|
|
33243
33243
|
const {
|
|
33244
|
-
|
|
33244
|
+
fileID,
|
|
33245
|
+
userID
|
|
33245
33246
|
} = fa;
|
|
33246
33247
|
return this.entityService.query(AppFileAccess).where({
|
|
33247
|
-
|
|
33248
|
-
|
|
33248
|
+
userID,
|
|
33249
|
+
fileID
|
|
33250
|
+
}, p => x => x.fileID === p.fileID && x.userID === p.userID).include(x => x.user).firstOrDefault();
|
|
33249
33251
|
});
|
|
33250
33252
|
}
|
|
33251
33253
|
};
|