podverse-parser 5.1.0-alpha.8 → 5.1.0-alpha.9
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/config/index.d.ts +9 -3
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +9 -3
- package/dist/factories/firebaseAccessTokenService.d.ts +3 -0
- package/dist/factories/firebaseAccessTokenService.d.ts.map +1 -0
- package/dist/factories/firebaseAccessTokenService.js +9 -0
- package/dist/factories/loggerService.d.ts +3 -0
- package/dist/factories/loggerService.d.ts.map +1 -0
- package/dist/factories/loggerService.js +9 -0
- package/dist/factories/notificationsService.d.ts +3 -0
- package/dist/factories/notificationsService.d.ts.map +1 -0
- package/dist/factories/notificationsService.js +12 -0
- package/dist/factories/podcastIndex.d.ts.map +1 -1
- package/dist/factories/podcastIndex.js +8 -5
- package/dist/factories/timerManager.d.ts +3 -0
- package/dist/factories/timerManager.d.ts.map +1 -0
- package/dist/factories/timerManager.js +7 -0
- package/dist/lib/rss/channel/channel.d.ts.map +1 -1
- package/dist/lib/rss/channel/channel.js +4 -5
- package/dist/lib/rss/channel/channelAbout.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelAbout.js +3 -3
- package/dist/lib/rss/channel/channelCategory.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelCategory.js +3 -3
- package/dist/lib/rss/channel/channelChat.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelChat.js +3 -3
- package/dist/lib/rss/channel/channelDescription.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelDescription.js +3 -3
- package/dist/lib/rss/channel/channelFunding.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelFunding.js +3 -3
- package/dist/lib/rss/channel/channelImage.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelImage.js +3 -3
- package/dist/lib/rss/channel/channelLicense.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelLicense.js +3 -3
- package/dist/lib/rss/channel/channelLocation.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelLocation.js +3 -3
- package/dist/lib/rss/channel/channelPerson.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelPerson.js +3 -3
- package/dist/lib/rss/channel/channelPodroll.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelPodroll.js +3 -3
- package/dist/lib/rss/channel/channelPublisher.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelPublisher.js +3 -3
- package/dist/lib/rss/channel/channelRemoteItem.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelRemoteItem.js +3 -3
- package/dist/lib/rss/channel/channelSeason.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelSeason.js +3 -3
- package/dist/lib/rss/channel/channelSocialInteract.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelSocialInteract.js +3 -3
- package/dist/lib/rss/channel/channelTrailer.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelTrailer.js +3 -3
- package/dist/lib/rss/channel/channelTxt.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelTxt.js +3 -3
- package/dist/lib/rss/channel/channelValue.d.ts.map +1 -1
- package/dist/lib/rss/channel/channelValue.js +3 -3
- package/dist/lib/rss/feed/feed.d.ts.map +1 -1
- package/dist/lib/rss/feed/feed.js +8 -10
- package/dist/lib/rss/item/item.d.ts.map +1 -1
- package/dist/lib/rss/item/item.js +45 -44
- package/dist/lib/rss/liveItem/liveItem.d.ts.map +1 -1
- package/dist/lib/rss/liveItem/liveItem.js +9 -4
- package/dist/lib/rss/parser.d.ts.map +1 -1
- package/dist/lib/rss/parser.js +16 -15
- package/dist/lib/rss/remoteItemParser.d.ts.map +1 -1
- package/dist/lib/rss/remoteItemParser.js +2 -1
- package/package.json +4 -4
package/dist/config/index.d.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export declare const config: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
log: {
|
|
3
|
+
level: string;
|
|
4
|
+
dir: string;
|
|
5
|
+
timer: boolean;
|
|
6
|
+
};
|
|
7
|
+
firebase: {
|
|
8
|
+
projectId: string;
|
|
9
|
+
authJsonPath: string;
|
|
10
|
+
};
|
|
5
11
|
podcastIndex: {
|
|
6
12
|
authKey: string;
|
|
7
13
|
baseUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;CAelB,CAAC"}
|
package/dist/config/index.js
CHANGED
|
@@ -2,9 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.config = void 0;
|
|
4
4
|
exports.config = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
log: {
|
|
6
|
+
level: process.env.LOG_LEVEL || 'info',
|
|
7
|
+
dir: process.env.LOG_DIR || 'logs',
|
|
8
|
+
timer: process.env.LOG_TIMER === 'true',
|
|
9
|
+
},
|
|
10
|
+
firebase: {
|
|
11
|
+
projectId: process.env.FIREBASE_PROJECT_ID || '',
|
|
12
|
+
authJsonPath: process.env.FIREBASE_PATH_TO_AUTH_JSON || '',
|
|
13
|
+
},
|
|
8
14
|
podcastIndex: {
|
|
9
15
|
authKey: process.env.PODCAST_INDEX_AUTH_KEY || '',
|
|
10
16
|
baseUrl: process.env.PODCAST_INDEX_BASE_URL || '',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"firebaseAccessTokenService.d.ts","sourceRoot":"","sources":["../../src/factories/firebaseAccessTokenService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAGxE,eAAO,MAAM,iCAAiC,kCAE5C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.firebaseAccessTokenServiceFactory = void 0;
|
|
4
|
+
const podverse_external_services_1 = require("podverse-external-services");
|
|
5
|
+
const config_1 = require("../config");
|
|
6
|
+
const firebaseAccessTokenServiceFactory = () => new podverse_external_services_1.FirebaseAccessTokenService({
|
|
7
|
+
keyFilePath: config_1.config.firebase.authJsonPath
|
|
8
|
+
});
|
|
9
|
+
exports.firebaseAccessTokenServiceFactory = firebaseAccessTokenServiceFactory;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loggerService.d.ts","sourceRoot":"","sources":["../../src/factories/loggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAGzE,eAAO,MAAM,aAAa,eAGxB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.loggerService = void 0;
|
|
4
|
+
const logger_1 = require("podverse-helpers/dist/lib/backend/logger");
|
|
5
|
+
const config_1 = require("../config");
|
|
6
|
+
exports.loggerService = new logger_1.LoggerService({
|
|
7
|
+
logDir: config_1.config.log.dir,
|
|
8
|
+
logLevel: config_1.config.log.level,
|
|
9
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationsService.d.ts","sourceRoot":"","sources":["../../src/factories/notificationsService.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAIlE,eAAO,MAAM,2BAA2B,GAAI,iBAAiB,MAAM,yBAIjE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationsServiceFactory = void 0;
|
|
4
|
+
const podverse_external_services_1 = require("podverse-external-services");
|
|
5
|
+
const loggerService_1 = require("./loggerService");
|
|
6
|
+
const config_1 = require("../config");
|
|
7
|
+
const NotificationsServiceFactory = (googleAuthToken) => new podverse_external_services_1.NotificationsService({
|
|
8
|
+
googleAuthToken,
|
|
9
|
+
firebaseProjectId: config_1.config.firebase.projectId,
|
|
10
|
+
loggerService: loggerService_1.loggerService
|
|
11
|
+
});
|
|
12
|
+
exports.NotificationsServiceFactory = NotificationsServiceFactory;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"podcastIndex.d.ts","sourceRoot":"","sources":["../../src/factories/podcastIndex.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"podcastIndex.d.ts","sourceRoot":"","sources":["../../src/factories/podcastIndex.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAIjE,eAAO,MAAM,mBAAmB,qBAK9B,CAAC"}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.podcastIndexService = void 0;
|
|
4
4
|
const podverse_external_services_1 = require("podverse-external-services");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
const loggerService_1 = require("./loggerService");
|
|
6
|
+
const config_1 = require("../config");
|
|
7
|
+
exports.podcastIndexService = new podverse_external_services_1.PodcastIndexService({
|
|
8
|
+
authKey: config_1.config.podcastIndex.authKey,
|
|
9
|
+
baseUrl: config_1.config.podcastIndex.baseUrl,
|
|
10
|
+
secretKey: config_1.config.podcastIndex.secretKey,
|
|
11
|
+
loggerService: loggerService_1.loggerService
|
|
12
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timerManager.d.ts","sourceRoot":"","sources":["../../src/factories/timerManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAI1E,eAAO,MAAM,YAAY,cAAoD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.timerManager = void 0;
|
|
4
|
+
const logTimer_1 = require("podverse-helpers/dist/lib/backend/logTimer");
|
|
5
|
+
const loggerService_1 = require("./loggerService");
|
|
6
|
+
const config_1 = require("../config");
|
|
7
|
+
exports.timerManager = new logTimer_1.TimerManager(config_1.config.log.timer, loggerService_1.loggerService);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAA0B,OAAO,EAAkB,kBAAkB,EAAiB,MAAM,cAAc,CAAC;AAoBlH,eAAO,MAAM,mBAAmB,GAAU,YAAY,UAAU,EAAE,SAAS,OAAO,EAAE,oBAAoB,kBAAkB,kBAgBzH,CAAC"}
|
|
@@ -10,9 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannel = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
|
-
const config_1 = require("@parser/config");
|
|
16
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
17
15
|
const channelAbout_1 = require("@parser/lib/rss/channel/channelAbout");
|
|
18
16
|
const channelCategory_1 = require("@parser/lib/rss/channel/channelCategory");
|
|
@@ -30,12 +28,13 @@ const channelSocialInteract_1 = require("@parser/lib/rss/channel/channelSocialIn
|
|
|
30
28
|
const channelTrailer_1 = require("@parser/lib/rss/channel/channelTrailer");
|
|
31
29
|
const channelTxt_1 = require("@parser/lib/rss/channel/channelTxt");
|
|
32
30
|
const channelValue_1 = require("@parser/lib/rss/channel/channelValue");
|
|
31
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
33
32
|
const handleParsedChannel = (parsedFeed, channel, channelSeasonIndex) => __awaiter(void 0, void 0, void 0, function* () {
|
|
34
|
-
|
|
33
|
+
timerManager_1.timerManager.start('handleParsedChannel');
|
|
35
34
|
const channelService = new podverse_orm_1.ChannelService();
|
|
36
35
|
const channelDto = (0, channel_1.compatChannelDto)(parsedFeed);
|
|
37
36
|
yield channelService.update(channel.id, channelDto);
|
|
38
|
-
if (
|
|
37
|
+
if (timerManager_1.timerManager.shouldLogTimer) {
|
|
39
38
|
yield handleParsingTables(parsedFeed, channel, channelSeasonIndex);
|
|
40
39
|
}
|
|
41
40
|
else {
|
|
@@ -43,7 +42,7 @@ const handleParsedChannel = (parsedFeed, channel, channelSeasonIndex) => __await
|
|
|
43
42
|
yield handleParsingTables(parsedFeed, channel, channelSeasonIndex, transactionalEntityManager);
|
|
44
43
|
}));
|
|
45
44
|
}
|
|
46
|
-
|
|
45
|
+
timerManager_1.timerManager.end('handleParsedChannel');
|
|
47
46
|
});
|
|
48
47
|
exports.handleParsedChannel = handleParsedChannel;
|
|
49
48
|
const handleParsingTables = (parsedFeed, channel, channelSeasonIndex, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelAbout.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelAbout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelAbout.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelAbout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAuB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAI3E,eAAO,MAAM,wBAAwB,GACnC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,14 +10,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelAbout = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
15
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
16
16
|
const handleParsedChannelAbout = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
17
|
-
|
|
17
|
+
timerManager_1.timerManager.start("handleParsedChannelAbout");
|
|
18
18
|
const channelAboutService = new podverse_orm_1.ChannelAboutService(transactionalEntityManager);
|
|
19
19
|
const channelAboutDto = (0, channel_1.compatChannelAboutDto)(parsedFeed);
|
|
20
20
|
yield channelAboutService.update(channel, channelAboutDto);
|
|
21
|
-
|
|
21
|
+
timerManager_1.timerManager.end("handleParsedChannelAbout");
|
|
22
22
|
});
|
|
23
23
|
exports.handleParsedChannelAbout = handleParsedChannelAbout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelCategory.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelCategory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelCategory.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelCategory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAA0B,aAAa,EAAE,MAAM,cAAc,CAAC;AAI9E,eAAO,MAAM,2BAA2B,GACtC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAY3C,CAAC"}
|
|
@@ -10,11 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelCategory = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
15
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
16
16
|
const handleParsedChannelCategory = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
17
|
-
|
|
17
|
+
timerManager_1.timerManager.start("handleParsedChannelCategory");
|
|
18
18
|
const channelCategoryService = new podverse_orm_1.ChannelCategoryService(transactionalEntityManager);
|
|
19
19
|
const channelCategoryDtos = (0, channel_1.compatChannelCategoryDtos)(parsedFeed);
|
|
20
20
|
if (channelCategoryDtos.length > 0) {
|
|
@@ -23,6 +23,6 @@ const handleParsedChannelCategory = (parsedFeed, channel, transactionalEntityMan
|
|
|
23
23
|
else {
|
|
24
24
|
yield channelCategoryService.deleteAll(channel);
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
timerManager_1.timerManager.end("handleParsedChannelCategory");
|
|
27
27
|
});
|
|
28
28
|
exports.handleParsedChannelCategory = handleParsedChannelCategory;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelChat.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelChat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelChat.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelChat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAsB,aAAa,EAAE,MAAM,cAAc,CAAC;AAK1E,eAAO,MAAM,uBAAuB,GAClC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,15 +10,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelChat = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
16
15
|
const handleParsedOneData_1 = require("../base/handleParsedOneData");
|
|
16
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
17
17
|
const handleParsedChannelChat = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
|
|
18
|
+
timerManager_1.timerManager.start("handleParsedChannelChat");
|
|
19
19
|
const channelChatService = new podverse_orm_1.ChannelChatService(transactionalEntityManager);
|
|
20
20
|
const channelChatDto = (0, channel_1.compatChannelChatDto)(parsedFeed);
|
|
21
21
|
yield (0, handleParsedOneData_1.handleParsedOneData)(channel, channelChatService, channelChatDto);
|
|
22
|
-
|
|
22
|
+
timerManager_1.timerManager.end("handleParsedChannelChat");
|
|
23
23
|
});
|
|
24
24
|
exports.handleParsedChannelChat = handleParsedChannelChat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelDescription.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelDescription.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAA6B,aAAa,EAAE,MAAM,cAAc,CAAC;AAKjF,eAAO,MAAM,8BAA8B,GACzC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,15 +10,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelDescription = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
16
15
|
const handleParsedOneData_1 = require("../base/handleParsedOneData");
|
|
16
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
17
17
|
const handleParsedChannelDescription = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
|
|
18
|
+
timerManager_1.timerManager.start("handleParsedChannelDescription");
|
|
19
19
|
const channelDescriptionService = new podverse_orm_1.ChannelDescriptionService(transactionalEntityManager);
|
|
20
20
|
const channelDescriptionDto = (0, channel_1.compatChannelDescriptionDto)(parsedFeed);
|
|
21
21
|
yield (0, handleParsedOneData_1.handleParsedOneData)(channel, channelDescriptionService, channelDescriptionDto);
|
|
22
|
-
|
|
22
|
+
timerManager_1.timerManager.end("handleParsedChannelDescription");
|
|
23
23
|
});
|
|
24
24
|
exports.handleParsedChannelDescription = handleParsedChannelDescription;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelFunding.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelFunding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelFunding.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelFunding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAyB,aAAa,EAAE,MAAM,cAAc,CAAC;AAK7E,eAAO,MAAM,0BAA0B,GACrC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,15 +10,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelFunding = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
16
15
|
const handleParsedManyData_1 = require("../base/handleParsedManyData");
|
|
16
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
17
17
|
const handleParsedChannelFunding = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
|
|
18
|
+
timerManager_1.timerManager.start("handleParsedChannelFunding");
|
|
19
19
|
const channelFundingService = new podverse_orm_1.ChannelFundingService(transactionalEntityManager);
|
|
20
20
|
const channelFundingDtos = (0, channel_1.compatChannelFundingDtos)(parsedFeed);
|
|
21
21
|
yield (0, handleParsedManyData_1.handleParsedManyData)(channel, channelFundingService, channelFundingDtos);
|
|
22
|
-
|
|
22
|
+
timerManager_1.timerManager.end("handleParsedChannelFunding");
|
|
23
23
|
});
|
|
24
24
|
exports.handleParsedChannelFunding = handleParsedChannelFunding;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelImage.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelImage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelImage.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelImage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAuB,aAAa,EAAE,MAAM,cAAc,CAAC;AAK3E,eAAO,MAAM,wBAAwB,GACnC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,15 +10,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelImage = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
16
15
|
const handleParsedManyData_1 = require("../base/handleParsedManyData");
|
|
16
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
17
17
|
const handleParsedChannelImage = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
|
|
18
|
+
timerManager_1.timerManager.start("handleParsedChannelImage");
|
|
19
19
|
const channelImageService = new podverse_orm_1.ChannelImageService(transactionalEntityManager);
|
|
20
20
|
const channelImageDtos = (0, channel_1.compatChannelImageDtos)(parsedFeed);
|
|
21
21
|
yield (0, handleParsedManyData_1.handleParsedManyData)(channel, channelImageService, channelImageDtos);
|
|
22
|
-
|
|
22
|
+
timerManager_1.timerManager.end("handleParsedChannelImage");
|
|
23
23
|
});
|
|
24
24
|
exports.handleParsedChannelImage = handleParsedChannelImage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelLicense.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelLicense.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelLicense.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelLicense.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAyB,aAAa,EAAE,MAAM,cAAc,CAAC;AAK7E,eAAO,MAAM,0BAA0B,GACrC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,15 +10,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelLicense = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
16
15
|
const handleParsedOneData_1 = require("../base/handleParsedOneData");
|
|
16
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
17
17
|
const handleParsedChannelLicense = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
|
|
18
|
+
timerManager_1.timerManager.start("handleParsedChannelLicense");
|
|
19
19
|
const channelLicenseService = new podverse_orm_1.ChannelLicenseService(transactionalEntityManager);
|
|
20
20
|
const channelLicenseDtos = (0, channel_1.compatChannelLicenseDto)(parsedFeed);
|
|
21
21
|
yield (0, handleParsedOneData_1.handleParsedOneData)(channel, channelLicenseService, channelLicenseDtos);
|
|
22
|
-
|
|
22
|
+
timerManager_1.timerManager.end("handleParsedChannelLicense");
|
|
23
23
|
});
|
|
24
24
|
exports.handleParsedChannelLicense = handleParsedChannelLicense;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelLocation.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelLocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelLocation.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelLocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAA0B,aAAa,EAAE,MAAM,cAAc,CAAC;AAK9E,eAAO,MAAM,2BAA2B,GACtC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,15 +10,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelLocation = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
16
15
|
const handleParsedOneData_1 = require("../base/handleParsedOneData");
|
|
16
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
17
17
|
const handleParsedChannelLocation = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
|
|
18
|
+
timerManager_1.timerManager.start("handleParsedChannelLocation");
|
|
19
19
|
const channelLocationService = new podverse_orm_1.ChannelLocationService(transactionalEntityManager);
|
|
20
20
|
const channelLocationDtos = (0, channel_1.compatChannelLocationDto)(parsedFeed);
|
|
21
21
|
yield (0, handleParsedOneData_1.handleParsedOneData)(channel, channelLocationService, channelLocationDtos);
|
|
22
|
-
|
|
22
|
+
timerManager_1.timerManager.end("handleParsedChannelLocation");
|
|
23
23
|
});
|
|
24
24
|
exports.handleParsedChannelLocation = handleParsedChannelLocation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelPerson.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelPerson.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelPerson.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelPerson.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAwB,aAAa,EAAE,MAAM,cAAc,CAAC;AAK5E,eAAO,MAAM,yBAAyB,GACpC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,15 +10,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelPerson = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
16
15
|
const handleParsedManyData_1 = require("../base/handleParsedManyData");
|
|
16
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
17
17
|
const handleParsedChannelPerson = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
|
|
18
|
+
timerManager_1.timerManager.start("handleParsedChannelPerson");
|
|
19
19
|
const channelPersonService = new podverse_orm_1.ChannelPersonService(transactionalEntityManager);
|
|
20
20
|
const channelPersonDtos = (0, channel_1.compatChannelPersonDtos)(parsedFeed);
|
|
21
21
|
yield (0, handleParsedManyData_1.handleParsedManyData)(channel, channelPersonService, channelPersonDtos);
|
|
22
|
-
|
|
22
|
+
timerManager_1.timerManager.end("handleParsedChannelPerson");
|
|
23
23
|
});
|
|
24
24
|
exports.handleParsedChannelPerson = handleParsedChannelPerson;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelPodroll.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelPodroll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelPodroll.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelPodroll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAA0D,aAAa,EAAE,MAAM,cAAc,CAAC;AAI9G,eAAO,MAAM,0BAA0B,GACrC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAe3C,CAAC"}
|
|
@@ -10,11 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelPodroll = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
15
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
16
16
|
const handleParsedChannelPodroll = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
17
|
-
|
|
17
|
+
timerManager_1.timerManager.start("handleParsedChannelPodroll");
|
|
18
18
|
const channelPodrollService = new podverse_orm_1.ChannelPodrollService(transactionalEntityManager);
|
|
19
19
|
const channelPodrollDto = {};
|
|
20
20
|
const channelPodrollRemoteItemService = new podverse_orm_1.ChannelPodrollRemoteItemService(transactionalEntityManager);
|
|
@@ -26,6 +26,6 @@ const handleParsedChannelPodroll = (parsedFeed, channel, transactionalEntityMana
|
|
|
26
26
|
else {
|
|
27
27
|
yield channelPodrollService.delete(channel);
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
timerManager_1.timerManager.end("handleParsedChannelPodroll");
|
|
30
30
|
});
|
|
31
31
|
exports.handleParsedChannelPodroll = handleParsedChannelPodroll;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelPublisher.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelPublisher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelPublisher.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelPublisher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAA8D,aAAa,EAAE,MAAM,cAAc,CAAC;AAIlH,eAAO,MAAM,4BAA4B,GACvC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAe3C,CAAC"}
|
|
@@ -10,11 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelPublisher = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
15
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
16
16
|
const handleParsedChannelPublisher = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
17
|
-
|
|
17
|
+
timerManager_1.timerManager.start("handleParsedChannelPublisher");
|
|
18
18
|
const channelPublisherService = new podverse_orm_1.ChannelPublisherService(transactionalEntityManager);
|
|
19
19
|
const channelPublisherDto = {};
|
|
20
20
|
const channelPublisherRemoteItemService = new podverse_orm_1.ChannelPublisherRemoteItemService(transactionalEntityManager);
|
|
@@ -26,6 +26,6 @@ const handleParsedChannelPublisher = (parsedFeed, channel, transactionalEntityMa
|
|
|
26
26
|
else {
|
|
27
27
|
yield channelPublisherService.delete(channel);
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
timerManager_1.timerManager.end("handleParsedChannelPublisher");
|
|
30
30
|
});
|
|
31
31
|
exports.handleParsedChannelPublisher = handleParsedChannelPublisher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelRemoteItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelRemoteItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelRemoteItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelRemoteItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAA4B,aAAa,EAAE,MAAM,cAAc,CAAC;AAKhF,eAAO,MAAM,6BAA6B,GACxC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,15 +10,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelRemoteItem = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
16
15
|
const handleParsedManyData_1 = require("../base/handleParsedManyData");
|
|
16
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
17
17
|
const handleParsedChannelRemoteItem = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
|
|
18
|
+
timerManager_1.timerManager.start("handleParsedChannelRemoteItem");
|
|
19
19
|
const channelRemoteItemService = new podverse_orm_1.ChannelRemoteItemService(transactionalEntityManager);
|
|
20
20
|
const channelRemoteItemDtos = (0, channel_1.compatChannelRemoteItemDtos)(parsedFeed);
|
|
21
21
|
yield (0, handleParsedManyData_1.handleParsedManyData)(channel, channelRemoteItemService, channelRemoteItemDtos);
|
|
22
|
-
|
|
22
|
+
timerManager_1.timerManager.end("handleParsedChannelRemoteItem");
|
|
23
23
|
});
|
|
24
24
|
exports.handleParsedChannelRemoteItem = handleParsedChannelRemoteItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelSeason.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelSeason.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelSeason.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelSeason.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAwB,MAAM,cAAc,CAAC;AAI7D,eAAO,MAAM,0BAA0B,GAAU,YAAY,UAAU,EAAE,SAAS,OAAO,KAAG,OAAO,CAAC,IAAI,CAWvG,CAAC"}
|
|
@@ -10,11 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelSeasons = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
15
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
16
16
|
const handleParsedChannelSeasons = (parsedFeed, channel) => __awaiter(void 0, void 0, void 0, function* () {
|
|
17
|
-
|
|
17
|
+
timerManager_1.timerManager.start('handleParsedChannelSeasons');
|
|
18
18
|
const channelSeasonService = new podverse_orm_1.ChannelSeasonService();
|
|
19
19
|
const channelSeasonDtos = (0, channel_1.compatChannelSeasonDtos)(parsedFeed);
|
|
20
20
|
if (channelSeasonDtos.length > 0) {
|
|
@@ -23,6 +23,6 @@ const handleParsedChannelSeasons = (parsedFeed, channel) => __awaiter(void 0, vo
|
|
|
23
23
|
else {
|
|
24
24
|
yield channelSeasonService.deleteAll(channel);
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
timerManager_1.timerManager.end('handleParsedChannelSeasons');
|
|
27
27
|
});
|
|
28
28
|
exports.handleParsedChannelSeasons = handleParsedChannelSeasons;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelSocialInteract.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelSocialInteract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelSocialInteract.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelSocialInteract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAgC,aAAa,EAAE,MAAM,cAAc,CAAC;AAKpF,eAAO,MAAM,iCAAiC,GAC5C,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,15 +10,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelSocialInteract = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
16
15
|
const handleParsedManyData_1 = require("../base/handleParsedManyData");
|
|
16
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
17
17
|
const handleParsedChannelSocialInteract = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
|
|
18
|
+
timerManager_1.timerManager.start("handleParsedChannelSocialInteract");
|
|
19
19
|
const channelSocialInteractService = new podverse_orm_1.ChannelSocialInteractService(transactionalEntityManager);
|
|
20
20
|
const channelSocialInteractDtos = (0, channel_1.compatChannelSocialInteractDtos)(parsedFeed);
|
|
21
21
|
yield (0, handleParsedManyData_1.handleParsedManyData)(channel, channelSocialInteractService, channelSocialInteractDtos);
|
|
22
|
-
|
|
22
|
+
timerManager_1.timerManager.end("handleParsedChannelSocialInteract");
|
|
23
23
|
});
|
|
24
24
|
exports.handleParsedChannelSocialInteract = handleParsedChannelSocialInteract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelTrailer.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelTrailer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelTrailer.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelTrailer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,aAAa,EAA4C,aAAa,EAAE,MAAM,cAAc,CAAC;AAI/G,eAAO,MAAM,0BAA0B,GACrC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,oBAAoB,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EACjD,6BAA6B,aAAa,kBAwB3C,CAAC"}
|
|
@@ -10,11 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelTrailer = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
15
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
16
16
|
const handleParsedChannelTrailer = (parsedFeed, channel, channelSeasonIndex, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
17
|
-
|
|
17
|
+
timerManager_1.timerManager.start("handleParsedChannelTrailer");
|
|
18
18
|
const channelTrailerService = new podverse_orm_1.ChannelTrailerService(transactionalEntityManager);
|
|
19
19
|
const channelTrailerDtos = (0, channel_1.compatChannelTrailerDtos)(parsedFeed);
|
|
20
20
|
const enrichedChannelTrailerDtos = channelTrailerDtos.map((channelTrailerDto) => {
|
|
@@ -34,6 +34,6 @@ const handleParsedChannelTrailer = (parsedFeed, channel, channelSeasonIndex, tra
|
|
|
34
34
|
else {
|
|
35
35
|
yield channelTrailerService.deleteAll(channel);
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
timerManager_1.timerManager.end("handleParsedChannelTrailer");
|
|
38
38
|
});
|
|
39
39
|
exports.handleParsedChannelTrailer = handleParsedChannelTrailer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelTxt.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelTxt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelTxt.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelTxt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAqB,aAAa,EAAE,MAAM,cAAc,CAAC;AAKzE,eAAO,MAAM,sBAAsB,GACjC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,CAAC"}
|
|
@@ -10,15 +10,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelTxt = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
16
15
|
const handleParsedManyData_1 = require("../base/handleParsedManyData");
|
|
16
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
17
17
|
const handleParsedChannelTxt = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
|
|
18
|
+
timerManager_1.timerManager.start("handleParsedChannelTxt");
|
|
19
19
|
const channelTxtService = new podverse_orm_1.ChannelTxtService(transactionalEntityManager);
|
|
20
20
|
const channelTxtDtos = (0, channel_1.compatChannelTxtDtos)(parsedFeed);
|
|
21
21
|
yield (0, handleParsedManyData_1.handleParsedManyData)(channel, channelTxtService, channelTxtDtos);
|
|
22
|
-
|
|
22
|
+
timerManager_1.timerManager.end("handleParsedChannelTxt");
|
|
23
23
|
});
|
|
24
24
|
exports.handleParsedChannelTxt = handleParsedChannelTxt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelValue.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"channelValue.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/channel/channelValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAqD,aAAa,EAAE,MAAM,cAAc,CAAC;AAIzG,eAAO,MAAM,wBAAwB,GACnC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAwB3C,CAAC"}
|
|
@@ -10,11 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.handleParsedChannelValue = void 0;
|
|
13
|
-
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
13
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
14
|
const channel_1 = require("@parser/lib/compat/partytime/channel");
|
|
15
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
16
16
|
const handleParsedChannelValue = (parsedFeed, channel, transactionalEntityManager) => __awaiter(void 0, void 0, void 0, function* () {
|
|
17
|
-
|
|
17
|
+
timerManager_1.timerManager.start("handleParsedChannelValue");
|
|
18
18
|
const channelValueService = new podverse_orm_1.ChannelValueService(transactionalEntityManager);
|
|
19
19
|
const channelValueDtos = (0, channel_1.compatChannelValueDtos)(parsedFeed);
|
|
20
20
|
const channelValueRecipientService = new podverse_orm_1.ChannelValueRecipientService(transactionalEntityManager);
|
|
@@ -35,6 +35,6 @@ const handleParsedChannelValue = (parsedFeed, channel, transactionalEntityManage
|
|
|
35
35
|
else {
|
|
36
36
|
yield channelValueService.deleteAll(channel);
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
timerManager_1.timerManager.end("handleParsedChannelValue");
|
|
39
39
|
});
|
|
40
40
|
exports.handleParsedChannelValue = handleParsedChannelValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/feed/feed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,IAAI,EAA+B,MAAM,cAAc,CAAC;AAMjE,eAAO,MAAM,gBAAgB,GAAU,KAAK,MAAM,EAAE,kBAAkB,MAAM,KAAG,OAAO,CAAC,IAAI,CA0B1F,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,MAAM,IAAI,KAAG,OAAO,CAAC,UAAU,CAsCzE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAU,YAAY,UAAU,EAAE,MAAM,IAAI,KAAG,OAAO,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/feed/feed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,IAAI,EAA+B,MAAM,cAAc,CAAC;AAMjE,eAAO,MAAM,gBAAgB,GAAU,KAAK,MAAM,EAAE,kBAAkB,MAAM,KAAG,OAAO,CAAC,IAAI,CA0B1F,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,MAAM,IAAI,KAAG,OAAO,CAAC,UAAU,CAsCzE,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAU,YAAY,UAAU,EAAE,MAAM,IAAI,KAAG,OAAO,CAAC,IAAI,CAUvF,CAAC"}
|
|
@@ -12,12 +12,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.handleParsedFeed = exports.handleRequestRSSFeed = exports.handleGetRSSFeed = void 0;
|
|
13
13
|
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
14
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
|
-
const config_1 = require("@parser/config");
|
|
16
15
|
const parsedFeed_1 = require("../hash/parsedFeed");
|
|
17
16
|
const parser_1 = require("../parser");
|
|
18
17
|
const errors_1 = require("../errors");
|
|
18
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
19
19
|
const handleGetRSSFeed = (url, podcast_index_id) => __awaiter(void 0, void 0, void 0, function* () {
|
|
20
|
-
|
|
20
|
+
timerManager_1.timerManager.start('handleGetRSSFeed');
|
|
21
21
|
const feedService = new podverse_orm_1.FeedService();
|
|
22
22
|
let feed = yield feedService.getByUrlAndPodcastIndexId({ url, podcast_index_id });
|
|
23
23
|
if (!feed) {
|
|
@@ -30,7 +30,7 @@ const handleGetRSSFeed = (url, podcast_index_id) => __awaiter(void 0, void 0, vo
|
|
|
30
30
|
if (!feed) {
|
|
31
31
|
feed = yield feedService.getOrCreate({ url, podcast_index_id });
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
timerManager_1.timerManager.end('handleGetRSSFeed');
|
|
34
34
|
if (!feed) {
|
|
35
35
|
throw new Error(`parseRSSFeedAndSaveToDatabase: feed not found for ${url}`);
|
|
36
36
|
}
|
|
@@ -38,7 +38,7 @@ const handleGetRSSFeed = (url, podcast_index_id) => __awaiter(void 0, void 0, vo
|
|
|
38
38
|
});
|
|
39
39
|
exports.handleGetRSSFeed = handleGetRSSFeed;
|
|
40
40
|
const handleRequestRSSFeed = (feed) => __awaiter(void 0, void 0, void 0, function* () {
|
|
41
|
-
|
|
41
|
+
timerManager_1.timerManager.start('handleRequestRSSFeed');
|
|
42
42
|
const feedLogService = new podverse_orm_1.FeedLogService();
|
|
43
43
|
let parsedFeed = null;
|
|
44
44
|
try {
|
|
@@ -70,17 +70,15 @@ const handleRequestRSSFeed = (feed) => __awaiter(void 0, void 0, void 0, functio
|
|
|
70
70
|
});
|
|
71
71
|
return (0, podverse_helpers_1.throwRequestError)('parsedFeed no data found');
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
timerManager_1.timerManager.end('handleRequestRSSFeed');
|
|
74
74
|
return parsedFeed;
|
|
75
75
|
});
|
|
76
76
|
exports.handleRequestRSSFeed = handleRequestRSSFeed;
|
|
77
77
|
const handleParsedFeed = (parsedFeed, feed) => __awaiter(void 0, void 0, void 0, function* () {
|
|
78
78
|
const currentFeedFileHash = (0, parsedFeed_1.getParsedFeedMd5Hash)(parsedFeed);
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
throw new errors_1.FeedNoChangesSinceLastParsedError(feed.id);
|
|
83
|
-
}
|
|
79
|
+
checkIfFeedIsParsing(feed);
|
|
80
|
+
if (feed.last_parsed_file_hash === currentFeedFileHash) {
|
|
81
|
+
throw new errors_1.FeedNoChangesSinceLastParsedError(feed.id);
|
|
84
82
|
}
|
|
85
83
|
const feedService = new podverse_orm_1.FeedService();
|
|
86
84
|
return feedService.update(feed.id, { last_parsed_file_hash: currentFeedFileHash });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/item/item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAA0B,OAAO,EAAE,kBAAkB,EAAe,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/item/item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAA0B,OAAO,EAAE,kBAAkB,EAAe,MAAM,cAAc,CAAC;AA4ChG,KAAK,oBAAoB,GAAG;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,4BAA4B,EAAE,MAAM,CAAC;IACrC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,2BAA2B,EAAE,MAAM,CAAC;IACpC,yBAAyB,EAAE,MAAM,CAAC;IAClC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,uBAAuB,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;IACjC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,6BAA6B,EAAE,MAAM,CAAC;IACtC,8BAA8B,EAAE,MAAM,CAAC;IACvC,yBAAyB,EAAE,MAAM,CAAC;IAClC,0BAA0B,EAAE,MAAM,CAAC;IACnC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,qBAAqB,EAAE,MAAM,CAAC;CAC/B,CAAC;AAYF,KAAK,gBAAgB,GAAG;IAEtB,UAAU,EAAE,GAAG,CAAA;IACf,OAAO,EAAE,OAAO,CAAA;IAChB,kBAAkB,EAAE,kBAAkB,CAAA;IAEtC,0BAA0B,CAAC,EAAE,GAAG,CAAA;IAChC,gBAAgB,EAAE,oBAAoB,CAAA;IACtC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAAO,oBAqB7C,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,wBAAwB,EAAE,MAAM,EAAE,CAAA;CACnC,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAU,aAAa,OAAO,EAAE,EAAE,SAAS,OAAO,EAAE,oBAAoB,kBAAkB,KAAG,OAAO,CAAC,uBAAuB,CAqEzJ,CAAC;AAwCF,eAAO,MAAM,gBAAgB,GAAU,uGAOpC,gBAAgB,kBAoFlB,CAAC"}
|
|
@@ -29,8 +29,9 @@ const itemTranscript_1 = require("@parser/lib/rss/item/itemTranscript");
|
|
|
29
29
|
const itemTxt_1 = require("@parser/lib/rss/item/itemTxt");
|
|
30
30
|
const itemValue_1 = require("@parser/lib/rss/item/itemValue");
|
|
31
31
|
const itemChat_1 = require("@parser/lib/rss/item/itemChat");
|
|
32
|
-
const config_1 = require("@parser/config");
|
|
33
32
|
const itemFlagStatus_1 = require("podverse-orm/dist/entities/item/itemFlagStatus");
|
|
33
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
34
|
+
const loggerService_1 = require("@parser/factories/loggerService");
|
|
34
35
|
const removeInvalidItems = (parsedItems) => {
|
|
35
36
|
const seenEnclosureUrls = new Set();
|
|
36
37
|
const seenGuids = new Set();
|
|
@@ -74,10 +75,10 @@ const createItemTimerAccumulator = () => {
|
|
|
74
75
|
exports.createItemTimerAccumulator = createItemTimerAccumulator;
|
|
75
76
|
const handleParsedItems = (parsedItems, channel, channelSeasonIndex) => __awaiter(void 0, void 0, void 0, function* () {
|
|
76
77
|
const itemService = new podverse_orm_1.ItemService();
|
|
77
|
-
|
|
78
|
+
timerManager_1.timerManager.start('getManyByChannel');
|
|
78
79
|
const existingItems = yield itemService.getManyByChannel(channel, { select: ['id', 'guid', 'guid_enclosure_url'] });
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
timerManager_1.timerManager.end('getManyByChannel');
|
|
81
|
+
timerManager_1.timerManager.start('existingItemIds');
|
|
81
82
|
const existingItemIds = existingItems.map(item => item.id);
|
|
82
83
|
const existingItemGuids = new Set(existingItems.map(item => item.guid));
|
|
83
84
|
const existingItemGuidEnclosureUrls = new Set(existingItems.map(item => item.guid_enclosure_url));
|
|
@@ -87,10 +88,10 @@ const handleParsedItems = (parsedItems, channel, channelSeasonIndex) => __awaite
|
|
|
87
88
|
const uniqueParsedItems = removeInvalidItems(parsedItems);
|
|
88
89
|
const parsedItemBatchs = (0, podverse_helpers_1.chunkArray)(uniqueParsedItems, 100);
|
|
89
90
|
const timerAccumulator = (0, exports.createItemTimerAccumulator)();
|
|
90
|
-
|
|
91
|
+
timerManager_1.timerManager.end('existingItemIds');
|
|
91
92
|
for (const parsedItemBatch of parsedItemBatchs) {
|
|
92
|
-
|
|
93
|
-
if (
|
|
93
|
+
timerManager_1.timerManager.start('handleParsedItemBatch');
|
|
94
|
+
if (timerManager_1.timerManager.shouldLogTimer) {
|
|
94
95
|
yield handleParsedItemBatch({
|
|
95
96
|
parsedItemBatch,
|
|
96
97
|
channel,
|
|
@@ -119,11 +120,11 @@ const handleParsedItems = (parsedItems, channel, channelSeasonIndex) => __awaite
|
|
|
119
120
|
});
|
|
120
121
|
}));
|
|
121
122
|
}
|
|
122
|
-
|
|
123
|
+
timerManager_1.timerManager.end('handleParsedItemBatch');
|
|
123
124
|
}
|
|
124
|
-
if (
|
|
125
|
+
if (timerManager_1.timerManager.shouldLogTimer) {
|
|
125
126
|
Object.entries(timerAccumulator).forEach(([key, value]) => {
|
|
126
|
-
|
|
127
|
+
loggerService_1.loggerService.info(`${key} took ${value}ms`);
|
|
127
128
|
});
|
|
128
129
|
}
|
|
129
130
|
const itemIdsToDelete = existingItemIds.filter(id => !updatedItemIds.includes(id));
|
|
@@ -158,19 +159,19 @@ const handleParsedItemBatch = (_a) => __awaiter(void 0, [_a], void 0, function*
|
|
|
158
159
|
const handleParsedItem = (_a) => __awaiter(void 0, [_a], void 0, function* ({ parsedItem, channel, channelSeasonIndex, transactionalEntityManager, timerAccumulator, isLiveItem }) {
|
|
159
160
|
const itemService = new podverse_orm_1.ItemService();
|
|
160
161
|
const itemDto = (0, item_1.compatItemDto)(parsedItem, { isLiveItem });
|
|
161
|
-
|
|
162
|
+
timerManager_1.timerManager.start('updateItem');
|
|
162
163
|
const item = yield itemService.update(channel, itemFlagStatus_1.ItemFlagStatusStatusEnum.Active, itemDto);
|
|
163
|
-
timerAccumulator.updateItem =
|
|
164
|
+
timerAccumulator.updateItem = timerManager_1.timerManager.end('updateItem', true) + timerAccumulator.updateItem;
|
|
164
165
|
const preventTimerLog = true;
|
|
165
|
-
|
|
166
|
+
timerManager_1.timerManager.start('handleParsedItemAbout');
|
|
166
167
|
yield (0, itemAbout_1.handleParsedItemAbout)(parsedItem, item, transactionalEntityManager);
|
|
167
|
-
timerAccumulator.handleParsedItemAbout =
|
|
168
|
-
|
|
168
|
+
timerAccumulator.handleParsedItemAbout = timerManager_1.timerManager.end('handleParsedItemAbout', preventTimerLog) + timerAccumulator.handleParsedItemAbout;
|
|
169
|
+
timerManager_1.timerManager.start('handleParsedItemChapterFeed');
|
|
169
170
|
yield (0, itemChaptersFeed_1.handleParsedItemChaptersFeed)(parsedItem, item, transactionalEntityManager);
|
|
170
|
-
timerAccumulator.handleParsedItemChaptersFeed =
|
|
171
|
-
|
|
171
|
+
timerAccumulator.handleParsedItemChaptersFeed = timerManager_1.timerManager.end('handleParsedItemChapterFeed', preventTimerLog) + timerAccumulator.handleParsedItemChaptersFeed;
|
|
172
|
+
timerManager_1.timerManager.start('handleParsedItemChat');
|
|
172
173
|
yield (0, itemChat_1.handleParsedItemChat)(parsedItem, item, transactionalEntityManager);
|
|
173
|
-
timerAccumulator.handleParsedItemChat =
|
|
174
|
+
timerAccumulator.handleParsedItemChat = timerManager_1.timerManager.end('handleParsedItemChat', preventTimerLog) + timerAccumulator.handleParsedItemChat;
|
|
174
175
|
// // PTDO: add itemContentLinkService support after partytime adds chat support
|
|
175
176
|
// const itemContentLinkService = new ItemContentLinkService();
|
|
176
177
|
// const itemContentLinkDtos = compatItemContentLinkDtos(parsedItem);
|
|
@@ -179,45 +180,45 @@ const handleParsedItem = (_a) => __awaiter(void 0, [_a], void 0, function* ({ pa
|
|
|
179
180
|
// } else {
|
|
180
181
|
// await itemContentLinkService._deleteAll(item);
|
|
181
182
|
// }
|
|
182
|
-
|
|
183
|
+
timerManager_1.timerManager.start('handleParsedItemDescription');
|
|
183
184
|
yield (0, itemDescription_1.handleParsedItemDescription)(parsedItem, item, transactionalEntityManager);
|
|
184
|
-
timerAccumulator.handleParsedItemDescription =
|
|
185
|
-
|
|
185
|
+
timerAccumulator.handleParsedItemDescription = timerManager_1.timerManager.end('handleParsedItemDescription', preventTimerLog) + timerAccumulator.handleParsedItemDescription;
|
|
186
|
+
timerManager_1.timerManager.start('handleParsedItemEnclosure');
|
|
186
187
|
yield (0, itemEnclosure_1.handleParsedItemEnclosure)(parsedItem, item, transactionalEntityManager);
|
|
187
|
-
timerAccumulator.handleParsedItemEnclosure =
|
|
188
|
-
|
|
188
|
+
timerAccumulator.handleParsedItemEnclosure = timerManager_1.timerManager.end('handleParsedItemEnclosure', preventTimerLog) + timerAccumulator.handleParsedItemEnclosure;
|
|
189
|
+
timerManager_1.timerManager.start('handleParsedItemImage');
|
|
189
190
|
yield (0, itemImage_1.handleParsedItemImage)(parsedItem, item, transactionalEntityManager);
|
|
190
|
-
timerAccumulator.handleParsedItemImage =
|
|
191
|
-
|
|
191
|
+
timerAccumulator.handleParsedItemImage = timerManager_1.timerManager.end('handleParsedItemImage', preventTimerLog) + timerAccumulator.handleParsedItemImage;
|
|
192
|
+
timerManager_1.timerManager.start('handleParsedItemLicense');
|
|
192
193
|
yield (0, itemLicense_1.handleParsedItemLicense)(parsedItem, item, transactionalEntityManager);
|
|
193
|
-
timerAccumulator.handleParsedItemLicense =
|
|
194
|
-
|
|
194
|
+
timerAccumulator.handleParsedItemLicense = timerManager_1.timerManager.end('handleParsedItemLicense', preventTimerLog) + timerAccumulator.handleParsedItemLicense;
|
|
195
|
+
timerManager_1.timerManager.start('handleParsedItemLocation');
|
|
195
196
|
yield (0, itemLocation_1.handleParsedItemLocation)(parsedItem, item, transactionalEntityManager);
|
|
196
|
-
timerAccumulator.handleParsedItemLocation =
|
|
197
|
-
|
|
197
|
+
timerAccumulator.handleParsedItemLocation = timerManager_1.timerManager.end('handleParsedItemLocation', preventTimerLog) + timerAccumulator.handleParsedItemLocation;
|
|
198
|
+
timerManager_1.timerManager.start('handleParsedItemPerson');
|
|
198
199
|
yield (0, itemPerson_1.handleParsedItemPerson)(parsedItem, item, transactionalEntityManager);
|
|
199
|
-
timerAccumulator.handleParsedItemPerson =
|
|
200
|
-
|
|
200
|
+
timerAccumulator.handleParsedItemPerson = timerManager_1.timerManager.end('handleParsedItemPerson', preventTimerLog) + timerAccumulator.handleParsedItemPerson;
|
|
201
|
+
timerManager_1.timerManager.start('handleParsedItemSeason');
|
|
201
202
|
yield (0, itemSeason_1.handleParsedItemSeason)(parsedItem, item, channelSeasonIndex, transactionalEntityManager);
|
|
202
|
-
timerAccumulator.handleParsedItemSeason =
|
|
203
|
-
|
|
203
|
+
timerAccumulator.handleParsedItemSeason = timerManager_1.timerManager.end('handleParsedItemSeason', preventTimerLog) + timerAccumulator.handleParsedItemSeason;
|
|
204
|
+
timerManager_1.timerManager.start('handleParsedItemSeasonEpisode');
|
|
204
205
|
yield (0, itemSeasonEpisode_1.handleParsedItemSeasonEpisode)(parsedItem, item, transactionalEntityManager);
|
|
205
|
-
timerAccumulator.handleParsedItemSeasonEpisode =
|
|
206
|
-
|
|
206
|
+
timerAccumulator.handleParsedItemSeasonEpisode = timerManager_1.timerManager.end('handleParsedItemSeasonEpisode', preventTimerLog) + timerAccumulator.handleParsedItemSeasonEpisode;
|
|
207
|
+
timerManager_1.timerManager.start('handleParsedItemSocialInteract');
|
|
207
208
|
yield (0, itemSocialInteract_1.handleParsedItemSocialInteract)(parsedItem, item, transactionalEntityManager);
|
|
208
|
-
timerAccumulator.handleParsedItemSocialInteract =
|
|
209
|
-
|
|
209
|
+
timerAccumulator.handleParsedItemSocialInteract = timerManager_1.timerManager.end('handleParsedItemSocialInteract', preventTimerLog) + timerAccumulator.handleParsedItemSocialInteract;
|
|
210
|
+
timerManager_1.timerManager.start('handleParsedItemSoundbite');
|
|
210
211
|
yield (0, itemSoundbite_1.handleParsedItemSoundbite)(parsedItem, item, transactionalEntityManager);
|
|
211
|
-
timerAccumulator.handleParsedItemSoundbite =
|
|
212
|
-
|
|
212
|
+
timerAccumulator.handleParsedItemSoundbite = timerManager_1.timerManager.end('handleParsedItemSoundbite', preventTimerLog) + timerAccumulator.handleParsedItemSoundbite;
|
|
213
|
+
timerManager_1.timerManager.start('handleParsedItemTranscript');
|
|
213
214
|
yield (0, itemTranscript_1.handleParsedItemTranscript)(parsedItem, item, transactionalEntityManager);
|
|
214
|
-
timerAccumulator.handleParsedItemTranscript =
|
|
215
|
-
|
|
215
|
+
timerAccumulator.handleParsedItemTranscript = timerManager_1.timerManager.end('handleParsedItemTranscript', preventTimerLog) + timerAccumulator.handleParsedItemTranscript;
|
|
216
|
+
timerManager_1.timerManager.start('handleParsedItemTxt');
|
|
216
217
|
yield (0, itemTxt_1.handleParsedItemTxt)(parsedItem, item, transactionalEntityManager);
|
|
217
|
-
timerAccumulator.handleParsedItemTxt =
|
|
218
|
-
|
|
218
|
+
timerAccumulator.handleParsedItemTxt = timerManager_1.timerManager.end('handleParsedItemTxt', preventTimerLog) + timerAccumulator.handleParsedItemTxt;
|
|
219
|
+
timerManager_1.timerManager.start('handleParsedItemValue');
|
|
219
220
|
yield (0, itemValue_1.handleParsedItemValue)(parsedItem, item, channel, transactionalEntityManager);
|
|
220
|
-
timerAccumulator.handleParsedItemValue =
|
|
221
|
+
timerAccumulator.handleParsedItemValue = timerManager_1.timerManager.end('handleParsedItemValue', preventTimerLog) + timerAccumulator.handleParsedItemValue;
|
|
221
222
|
return item;
|
|
222
223
|
});
|
|
223
224
|
exports.handleParsedItem = handleParsedItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liveItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/liveItem/liveItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAEpF,OAAO,EAA0B,OAAO,EAAE,kBAAkB,EAA0F,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"liveItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/rss/liveItem/liveItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAEpF,OAAO,EAA0B,OAAO,EAAE,kBAAkB,EAA0F,MAAM,cAAc,CAAC;AAO3K,MAAM,MAAM,2BAA2B,GAAG;IACxC,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AA2DF,eAAO,MAAM,qBAAqB,GAChC,iBAAiB,qBAAqB,EAAE,EACxC,SAAS,OAAO,EAChB,oBAAoB,kBAAkB,KACrC,OAAO,CAAC,2BAA2B,CAsCrC,CAAC"}
|
|
@@ -12,11 +12,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.handleParsedLiveItems = void 0;
|
|
13
13
|
const podverse_helpers_1 = require("podverse-helpers");
|
|
14
14
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
|
-
const config_1 = require("@parser/config");
|
|
16
15
|
const liveItem_1 = require("@parser/lib/compat/partytime/liveItem");
|
|
17
16
|
const item_1 = require("@parser/lib/rss/item/item");
|
|
18
17
|
const itemFlagStatus_1 = require("podverse-orm/dist/entities/item/itemFlagStatus");
|
|
19
|
-
const
|
|
18
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
19
|
+
const loggerService_1 = require("@parser/factories/loggerService");
|
|
20
|
+
const processLiveItemBatch = (liveItemObjDtosBatch, channel, channelSeasonIndex, existingLiveItemMap, updatedLiveItemIds, newItemGuids,
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
22
|
+
transactionalEntityManager,
|
|
23
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
24
|
+
timerAccumulator, liveItemService) => __awaiter(void 0, void 0, void 0, function* () {
|
|
20
25
|
for (const liveItemObjDto of liveItemObjDtosBatch) {
|
|
21
26
|
const itemDto = liveItemObjDto.item;
|
|
22
27
|
const item = yield (0, item_1.handleParsedItem)({
|
|
@@ -39,9 +44,9 @@ const processLiveItemBatch = (liveItemObjDtosBatch, channel, channelSeasonIndex,
|
|
|
39
44
|
}
|
|
40
45
|
});
|
|
41
46
|
const logTimerAccumulator = (timerAccumulator) => {
|
|
42
|
-
if (
|
|
47
|
+
if (timerManager_1.timerManager.shouldLogTimer) {
|
|
43
48
|
Object.entries(timerAccumulator).forEach(([key, value]) => {
|
|
44
|
-
|
|
49
|
+
loggerService_1.loggerService.info(`${key} took ${value}ms`);
|
|
45
50
|
});
|
|
46
51
|
}
|
|
47
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/lib/rss/parser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/lib/rss/parser.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,kBAAkB,GAAU,KAAK,MAAM,oDASnD,CAAC;AAQF,eAAO,MAAM,6BAA6B,GAAU,KAAK,MAAM,EAAE,kBAAkB,MAAM,kBAmFxF,CAAC"}
|
package/dist/lib/rss/parser.js
CHANGED
|
@@ -11,10 +11,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.parseRSSFeedAndSaveToDatabase = exports.getAndParseRSSFeed = void 0;
|
|
13
13
|
const podcast_partytime_1 = require("podcast-partytime");
|
|
14
|
-
const podverse_external_services_1 = require("podverse-external-services");
|
|
15
14
|
const podverse_helpers_1 = require("podverse-helpers");
|
|
16
15
|
const podverse_orm_1 = require("podverse-orm");
|
|
17
|
-
const config_1 = require("@parser/config");
|
|
18
16
|
const notifications_1 = require("@parser/lib/notifications");
|
|
19
17
|
const channel_1 = require("@parser/lib/rss/channel/channel");
|
|
20
18
|
const channelSeason_1 = require("@parser/lib/rss/channel/channelSeason");
|
|
@@ -23,6 +21,10 @@ const item_1 = require("@parser/lib/rss/item/item");
|
|
|
23
21
|
const liveItem_1 = require("@parser/lib/rss/liveItem/liveItem");
|
|
24
22
|
const remoteItemParser_1 = require("@parser/lib/rss/remoteItemParser");
|
|
25
23
|
const errors_1 = require("./errors");
|
|
24
|
+
const timerManager_1 = require("@parser/factories/timerManager");
|
|
25
|
+
const loggerService_1 = require("@parser/factories/loggerService");
|
|
26
|
+
const firebaseAccessTokenService_1 = require("@parser/factories/firebaseAccessTokenService");
|
|
27
|
+
const notificationsService_1 = require("@parser/factories/notificationsService");
|
|
26
28
|
/*
|
|
27
29
|
NOTE: All RSS feeds that have a podcast_index_id will be saved to the database.
|
|
28
30
|
RSS feeds without podcast_index_id (Add By RSS feeds) will NOT be saved to the database.
|
|
@@ -46,9 +48,9 @@ const parseRSSFeedAndSaveToDatabase = (url, podcast_index_id) => __awaiter(void
|
|
|
46
48
|
let feed = null;
|
|
47
49
|
let channel = null;
|
|
48
50
|
const timerFullRunLabel = `parseRSSFeedAndSaveToDatabase ${url} ${podcast_index_id}`;
|
|
49
|
-
|
|
51
|
+
timerManager_1.timerManager.start(timerFullRunLabel);
|
|
50
52
|
try {
|
|
51
|
-
|
|
53
|
+
loggerService_1.loggerService.info(`parseRSSFeedAndSaveToDatabase ${url} ${podcast_index_id}`);
|
|
52
54
|
feed = yield (0, feed_1.handleGetRSSFeed)(url, podcast_index_id);
|
|
53
55
|
if (!(0, podverse_orm_1.checkIfFeedFlagStatusShouldParse)(feed.feed_flag_status.id)) {
|
|
54
56
|
throw new Error(`parseRSSFeedAndSaveToDatabase: feed_flag_status.status is not Active or AlwaysAllow for ${feed.id} ${feed.channel.podcast_index_id} ${feed.url}`);
|
|
@@ -66,15 +68,16 @@ const parseRSSFeedAndSaveToDatabase = (url, podcast_index_id) => __awaiter(void
|
|
|
66
68
|
const channelSeasonService = new podverse_orm_1.ChannelSeasonService();
|
|
67
69
|
const channelSeasonIndex = yield channelSeasonService.getChannelSeasonIndex(channel);
|
|
68
70
|
yield (0, channel_1.handleParsedChannel)(parsedFeed, channel, channelSeasonIndex);
|
|
69
|
-
|
|
71
|
+
loggerService_1.loggerService.info(`item count: ${parsedFeed.items.length}`);
|
|
70
72
|
const newItemIdentifiers = yield (0, item_1.handleParsedItems)(parsedFeed.items, channel, channelSeasonIndex);
|
|
71
73
|
let newLiveItemIdentifiers = { newItemGuids: [] };
|
|
72
74
|
if (parsedFeed.podcastLiveItems) {
|
|
73
75
|
newLiveItemIdentifiers = yield (0, liveItem_1.handleParsedLiveItems)(parsedFeed.podcastLiveItems, channel, channelSeasonIndex);
|
|
74
76
|
}
|
|
75
77
|
if (newItemIdentifiers.newItemGuids.length > 0 || newLiveItemIdentifiers.newItemGuids.length > 0) {
|
|
76
|
-
const
|
|
77
|
-
const
|
|
78
|
+
const firebaseAccessTokenService = (0, firebaseAccessTokenService_1.firebaseAccessTokenServiceFactory)();
|
|
79
|
+
const googleAuthToken = yield firebaseAccessTokenService.generateAccessToken();
|
|
80
|
+
const notificationsService = (0, notificationsService_1.NotificationsServiceFactory)(googleAuthToken);
|
|
78
81
|
const accountFCMDeviceService = new podverse_orm_1.AccountFCMDeviceService();
|
|
79
82
|
const itemService = new podverse_orm_1.ItemService();
|
|
80
83
|
if (newItemIdentifiers.newItemGuids.length > 0) {
|
|
@@ -89,26 +92,24 @@ const parseRSSFeedAndSaveToDatabase = (url, podcast_index_id) => __awaiter(void
|
|
|
89
92
|
}
|
|
90
93
|
catch (error) {
|
|
91
94
|
if (error instanceof errors_1.FeedIsParsingError) {
|
|
92
|
-
|
|
95
|
+
loggerService_1.loggerService.warn(`Feed ${feed === null || feed === void 0 ? void 0 : feed.id} is already parsing.`);
|
|
93
96
|
}
|
|
94
97
|
else if (error instanceof errors_1.FeedNoChangesSinceLastParsedError) {
|
|
95
|
-
|
|
98
|
+
loggerService_1.loggerService.warn(`Feed ${feed === null || feed === void 0 ? void 0 : feed.id} has no changes since last parsed.`);
|
|
96
99
|
}
|
|
97
100
|
else {
|
|
98
101
|
// TODO: Handle other errors
|
|
99
|
-
|
|
102
|
+
loggerService_1.loggerService.logError('parseRSSFeedAndSaveToDatabase', error);
|
|
100
103
|
}
|
|
101
104
|
}
|
|
102
105
|
finally {
|
|
103
|
-
|
|
106
|
+
timerManager_1.timerManager.endAll();
|
|
104
107
|
if (feed) {
|
|
105
108
|
yield feedService.update(feed.id, { is_parsing: null });
|
|
106
109
|
}
|
|
107
110
|
}
|
|
108
|
-
if (
|
|
109
|
-
|
|
110
|
-
yield (0, remoteItemParser_1.handleAllRemoteItemsFeedParsing)(channel);
|
|
111
|
-
}
|
|
111
|
+
if (channel) {
|
|
112
|
+
yield (0, remoteItemParser_1.handleAllRemoteItemsFeedParsing)(channel);
|
|
112
113
|
}
|
|
113
114
|
return;
|
|
114
115
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remoteItemParser.d.ts","sourceRoot":"","sources":["../../../src/lib/rss/remoteItemParser.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EACsD,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"remoteItemParser.d.ts","sourceRoot":"","sources":["../../../src/lib/rss/remoteItemParser.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EACsD,MAAM,cAAc,CAAC;AAqD3F,eAAO,MAAM,+BAA+B,GAAU,SAAS,OAAO,kBAOrE,CAAC"}
|
|
@@ -14,6 +14,7 @@ const podverse_helpers_1 = require("podverse-helpers");
|
|
|
14
14
|
const podverse_orm_1 = require("podverse-orm");
|
|
15
15
|
const podcastIndex_1 = require("@parser/factories/podcastIndex");
|
|
16
16
|
const parser_1 = require("@parser/lib/rss/parser");
|
|
17
|
+
const loggerService_1 = require("@parser/factories/loggerService");
|
|
17
18
|
function handleRequestDelay(url) {
|
|
18
19
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19
20
|
const delayConfig = [
|
|
@@ -49,7 +50,7 @@ const handleRemoteItemsFeedParsing = (feedGuidsToParse) => __awaiter(void 0, voi
|
|
|
49
50
|
let feed = yield feedService.getByUrlAndPodcastIndexId({ url: piFeedData.url, podcast_index_id: piFeedData.id });
|
|
50
51
|
if (!feed) {
|
|
51
52
|
yield handleRequestDelay(piFeedData.url);
|
|
52
|
-
|
|
53
|
+
loggerService_1.loggerService.info(`handleRemoteItemsFeedParsing: ${piFeedData.url} ${piFeedData.id}`);
|
|
53
54
|
yield (0, parser_1.parseRSSFeedAndSaveToDatabase)(piFeedData.url, piFeedData.id);
|
|
54
55
|
}
|
|
55
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "podverse-parser",
|
|
3
|
-
"version": "5.1.0-alpha.
|
|
3
|
+
"version": "5.1.0-alpha.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"module-alias": "^2.2.3",
|
|
20
20
|
"podcast-partytime": "^4.8.1",
|
|
21
|
-
"podverse-external-services": "^5.1.1-alpha.
|
|
22
|
-
"podverse-helpers": "^5.1.2-alpha.
|
|
23
|
-
"podverse-orm": "^5.1.0-alpha.
|
|
21
|
+
"podverse-external-services": "^5.1.1-alpha.14",
|
|
22
|
+
"podverse-helpers": "^5.1.2-alpha.7",
|
|
23
|
+
"podverse-orm": "^5.1.0-alpha.11"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@eslint/config-array": "^0.18.0",
|