@social-mail/social-mail-client 1.8.271 → 1.8.273
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/dist/admin/AdminAppIndex.pack.js +11 -1
- 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/public/channel/ChannelApp.pack.js +13 -6
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/public/channel/pages/PublicChannelPage.js +1 -1
- package/dist/public/channel/pages/PublicChannelPage.js.map +1 -1
- package/dist/public/channel/pages/posts/ChannelPage.js +2 -5
- package/dist/public/channel/pages/posts/ChannelPage.js.map +1 -1
- package/dist/services/email/EmailContentDownloader.d.ts +2 -1
- package/dist/services/email/EmailContentDownloader.d.ts.map +1 -1
- package/dist/services/email/EmailContentDownloader.js +11 -1
- package/dist/services/email/EmailContentDownloader.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +11 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +11 -1
- 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/public/channel/pages/PublicChannelPage.tsx +1 -1
- package/src/public/channel/pages/posts/ChannelPage.tsx +2 -2
- package/src/services/email/EmailContentDownloader.ts +8 -1
|
@@ -37515,7 +37515,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "@web-at
|
|
|
37515
37515
|
System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/entity/dist/models/TaskManager", "../../model/model", "@web-atoms/core/dist/di/Inject", "../EntityService", "../../common/cache/CacheTTL", "../../common/cache/CacheVersions"], function (_export, _context) {
|
|
37516
37516
|
"use strict";
|
|
37517
37517
|
|
|
37518
|
-
var __awaiter, __decorate, __metadata, DISingleton, TaskManager, Email, Inject, EntityService, CacheTTL, CacheVersions, cacheSeconds, EmailContentDownloader;
|
|
37518
|
+
var __awaiter, __decorate, __metadata, DISingleton, TaskManager, ChannelEmail, Email, Inject, EntityService, CacheTTL, CacheVersions, cacheSeconds, EmailContentDownloader;
|
|
37519
37519
|
return {
|
|
37520
37520
|
setters: [function (_tslib) {
|
|
37521
37521
|
__awaiter = _tslib.__awaiter;
|
|
@@ -37526,6 +37526,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
37526
37526
|
}, function (_webAtomsEntityDistModelsTaskManager) {
|
|
37527
37527
|
TaskManager = _webAtomsEntityDistModelsTaskManager.default;
|
|
37528
37528
|
}, function (_modelModel) {
|
|
37529
|
+
ChannelEmail = _modelModel.ChannelEmail;
|
|
37529
37530
|
Email = _modelModel.Email;
|
|
37530
37531
|
}, function (_webAtomsCoreDistDiInject) {
|
|
37531
37532
|
Inject = _webAtomsCoreDistDiInject.Inject;
|
|
@@ -37539,6 +37540,15 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
37539
37540
|
execute: function () {
|
|
37540
37541
|
cacheSeconds = CacheTTL.seconds.oneMonth;
|
|
37541
37542
|
EmailContentDownloader = class EmailContentDownloader extends TaskManager {
|
|
37543
|
+
downloadPostContent(email) {
|
|
37544
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37545
|
+
var _a;
|
|
37546
|
+
(_a = email.email).htmlBody || (_a.htmlBody = yield this.entityService.run(ChannelEmail, "getBody", email, {
|
|
37547
|
+
cacheVersion: CacheVersions.email,
|
|
37548
|
+
cacheSeconds
|
|
37549
|
+
}).asText());
|
|
37550
|
+
});
|
|
37551
|
+
}
|
|
37542
37552
|
downloadPost(email) {
|
|
37543
37553
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37544
37554
|
email.htmlBody || (email.htmlBody = yield this.entityService.run(Email, "getBody", email, {
|