podverse-parser 5.1.0-alpha.1 → 5.1.0-alpha.10

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.
Files changed (74) hide show
  1. package/dist/config/index.d.ts +9 -3
  2. package/dist/config/index.d.ts.map +1 -1
  3. package/dist/config/index.js +9 -3
  4. package/dist/factories/firebaseAccessTokenService.d.ts +3 -0
  5. package/dist/factories/firebaseAccessTokenService.d.ts.map +1 -0
  6. package/dist/factories/firebaseAccessTokenService.js +9 -0
  7. package/dist/factories/loggerService.d.ts +3 -0
  8. package/dist/factories/loggerService.d.ts.map +1 -0
  9. package/dist/factories/loggerService.js +9 -0
  10. package/dist/factories/notificationsService.d.ts +3 -0
  11. package/dist/factories/notificationsService.d.ts.map +1 -0
  12. package/dist/factories/notificationsService.js +12 -0
  13. package/dist/factories/podcastIndex.d.ts.map +1 -1
  14. package/dist/factories/podcastIndex.js +8 -5
  15. package/dist/factories/timerManager.d.ts +3 -0
  16. package/dist/factories/timerManager.d.ts.map +1 -0
  17. package/dist/factories/timerManager.js +7 -0
  18. package/dist/lib/chapters/chapters.d.ts.map +1 -1
  19. package/dist/lib/chapters/chapters.js +2 -1
  20. package/dist/lib/compat/partytime/channel.d.ts +1 -1
  21. package/dist/lib/compat/partytime/channel.d.ts.map +1 -1
  22. package/dist/lib/compat/partytime/channel.js +10 -6
  23. package/dist/lib/rss/channel/channel.d.ts.map +1 -1
  24. package/dist/lib/rss/channel/channel.js +4 -5
  25. package/dist/lib/rss/channel/channelAbout.d.ts.map +1 -1
  26. package/dist/lib/rss/channel/channelAbout.js +3 -3
  27. package/dist/lib/rss/channel/channelCategory.d.ts.map +1 -1
  28. package/dist/lib/rss/channel/channelCategory.js +3 -3
  29. package/dist/lib/rss/channel/channelChat.d.ts.map +1 -1
  30. package/dist/lib/rss/channel/channelChat.js +3 -3
  31. package/dist/lib/rss/channel/channelDescription.d.ts.map +1 -1
  32. package/dist/lib/rss/channel/channelDescription.js +3 -3
  33. package/dist/lib/rss/channel/channelFunding.d.ts.map +1 -1
  34. package/dist/lib/rss/channel/channelFunding.js +3 -3
  35. package/dist/lib/rss/channel/channelImage.d.ts.map +1 -1
  36. package/dist/lib/rss/channel/channelImage.js +3 -3
  37. package/dist/lib/rss/channel/channelLicense.d.ts.map +1 -1
  38. package/dist/lib/rss/channel/channelLicense.js +3 -3
  39. package/dist/lib/rss/channel/channelLocation.d.ts.map +1 -1
  40. package/dist/lib/rss/channel/channelLocation.js +3 -3
  41. package/dist/lib/rss/channel/channelPerson.d.ts.map +1 -1
  42. package/dist/lib/rss/channel/channelPerson.js +3 -3
  43. package/dist/lib/rss/channel/channelPodroll.d.ts.map +1 -1
  44. package/dist/lib/rss/channel/channelPodroll.js +3 -3
  45. package/dist/lib/rss/channel/channelPublisher.d.ts.map +1 -1
  46. package/dist/lib/rss/channel/channelPublisher.js +3 -3
  47. package/dist/lib/rss/channel/channelRemoteItem.d.ts.map +1 -1
  48. package/dist/lib/rss/channel/channelRemoteItem.js +3 -3
  49. package/dist/lib/rss/channel/channelSeason.d.ts.map +1 -1
  50. package/dist/lib/rss/channel/channelSeason.js +3 -3
  51. package/dist/lib/rss/channel/channelSocialInteract.d.ts.map +1 -1
  52. package/dist/lib/rss/channel/channelSocialInteract.js +3 -3
  53. package/dist/lib/rss/channel/channelTrailer.d.ts.map +1 -1
  54. package/dist/lib/rss/channel/channelTrailer.js +3 -3
  55. package/dist/lib/rss/channel/channelTxt.d.ts.map +1 -1
  56. package/dist/lib/rss/channel/channelTxt.js +3 -3
  57. package/dist/lib/rss/channel/channelValue.d.ts.map +1 -1
  58. package/dist/lib/rss/channel/channelValue.js +3 -3
  59. package/dist/lib/rss/errors.d.ts +7 -0
  60. package/dist/lib/rss/errors.d.ts.map +1 -0
  61. package/dist/lib/rss/errors.js +17 -0
  62. package/dist/lib/rss/feed/feed.d.ts.map +1 -1
  63. package/dist/lib/rss/feed/feed.js +14 -12
  64. package/dist/lib/rss/hash/parsedFeed.d.ts.map +1 -1
  65. package/dist/lib/rss/hash/parsedFeed.js +2 -2
  66. package/dist/lib/rss/item/item.d.ts.map +1 -1
  67. package/dist/lib/rss/item/item.js +45 -44
  68. package/dist/lib/rss/liveItem/liveItem.d.ts.map +1 -1
  69. package/dist/lib/rss/liveItem/liveItem.js +9 -4
  70. package/dist/lib/rss/parser.d.ts.map +1 -1
  71. package/dist/lib/rss/parser.js +30 -15
  72. package/dist/lib/rss/remoteItemParser.d.ts.map +1 -1
  73. package/dist/lib/rss/remoteItemParser.js +3 -2
  74. package/package.json +5 -5
@@ -1,7 +1,13 @@
1
1
  export declare const config: {
2
- nodeEnv: string;
3
- shouldLogTimer: boolean;
4
- userAgent: string;
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;;;;;;;;;CASlB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;CAelB,CAAC"}
@@ -2,9 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.config = void 0;
4
4
  exports.config = {
5
- nodeEnv: process.env.NODE_ENV || 'development',
6
- shouldLogTimer: process.env.LOG_TIMER === 'true',
7
- userAgent: process.env.USER_AGENT || '',
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,3 @@
1
+ import { FirebaseAccessTokenService } from 'podverse-external-services';
2
+ export declare const firebaseAccessTokenServiceFactory: () => FirebaseAccessTokenService;
3
+ //# sourceMappingURL=firebaseAccessTokenService.d.ts.map
@@ -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,3 @@
1
+ import { LoggerService } from 'podverse-helpers/dist/lib/backend/logger';
2
+ export declare const loggerService: LoggerService;
3
+ //# sourceMappingURL=loggerService.d.ts.map
@@ -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,3 @@
1
+ import { NotificationsService } from 'podverse-external-services';
2
+ export declare const NotificationsServiceFactory: (googleAuthToken: string) => NotificationsService;
3
+ //# sourceMappingURL=notificationsService.d.ts.map
@@ -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":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAOjE,eAAO,MAAM,mBAAmB,qBAA2D,CAAC"}
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 config_1 = require("@parser/config");
6
- const authKey = config_1.config.podcastIndex.authKey || '';
7
- const baseUrl = config_1.config.podcastIndex.baseUrl || '';
8
- const secretKey = config_1.config.podcastIndex.secretKey || '';
9
- exports.podcastIndexService = new podverse_external_services_1.PodcastIndexService({ authKey, baseUrl, secretKey });
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,3 @@
1
+ import { TimerManager } from 'podverse-helpers/dist/lib/backend/logTimer';
2
+ export declare const timerManager: TimerManager;
3
+ //# sourceMappingURL=timerManager.d.ts.map
@@ -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":"chapters.d.ts","sourceRoot":"","sources":["../../../src/lib/chapters/chapters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAoE,MAAM,cAAc,CAAC;AA2BtG,eAAO,MAAM,aAAa,GAAU,MAAM,IAAI,KAAG,OAAO,CAAC,IAAI,CAyB5D,CAAC"}
1
+ {"version":3,"file":"chapters.d.ts","sourceRoot":"","sources":["../../../src/lib/chapters/chapters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAoE,MAAM,cAAc,CAAC;AA4BtG,eAAO,MAAM,aAAa,GAAU,MAAM,IAAI,KAAG,OAAO,CAAC,IAAI,CAyB5D,CAAC"}
@@ -17,11 +17,12 @@ const getParsedChapters = (item_chapters_feed) => __awaiter(void 0, void 0, void
17
17
  const itemChaptersFeedLogService = new podverse_orm_1.ItemChaptersFeedLogService();
18
18
  try {
19
19
  const response = yield (0, podverse_helpers_1.request)(item_chapters_feed.url);
20
+ const data = response.data;
20
21
  yield itemChaptersFeedLogService.update(item_chapters_feed, {
21
22
  last_http_status: 200,
22
23
  last_good_http_status_time: new Date()
23
24
  });
24
- return (0, chapters_1.compatParsedChapters)(response.chapters);
25
+ return (0, chapters_1.compatParsedChapters)(data);
25
26
  }
26
27
  catch (error) {
27
28
  // TODO: how to handle errors?
@@ -12,7 +12,7 @@ export declare const compatChannelAboutDto: (parsedFeed: FeedObject) => {
12
12
  website_link_url: string | null;
13
13
  itunes_type: import("podverse-orm").ChannelItunesTypeItunesTypeEnum;
14
14
  episode_count: number;
15
- last_pub_date: Date;
15
+ last_pub_date: Date | null;
16
16
  };
17
17
  export declare const compatChannelCategoryDtos: (parsedFeed: FeedObject) => {
18
18
  category_id: import("podverse-helpers").CategoryEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../../../src/lib/compat/partytime/channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAO7D,eAAO,MAAM,gBAAgB,GAAI,YAAY,UAAU;;;;;CAKrD,CAAC;AAEH,eAAO,MAAM,qBAAqB,GAAI,YAAY,UAAU;;;;;;;;CAmB1D,CAAC;AAEH,eAAO,MAAM,yBAAyB,GAAI,YAAY,UAAU;;GAU/D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,YAAY,UAAU;;;;;QAU1D,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,YAAY,UAAU;;QAOjE,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,YAAY,UAAU;;;GAe9D,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,YAAY,UAAU;;;;;;IA8B5D,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,YAAY,UAAU;;;QAQ7D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,YAAY,UAAU;;;;QAU9D,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,YAAY,UAAU;;;;;;GAkB7D,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAAI,YAAY,UAAU;;;;;GAgBxE,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAAI,YAAY,UAAU;;;;;GAa1E,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,YAAY,UAAU;;;;;GAiBjE,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAI,YAAY,UAAU;;;;;;GAiBrE,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,YAAY,UAAU;;;GA0B7D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,YAAY,UAAU;;;;;;;GAkB9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,YAAY,UAAU;;;GAY1D,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,YAAY,UAAU;;;;;;;;;;;;;;;GAiB5D,CAAC"}
1
+ {"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../../../src/lib/compat/partytime/channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAO7D,eAAO,MAAM,gBAAgB,GAAI,YAAY,UAAU;;;;;CAKrD,CAAC;AAEH,eAAO,MAAM,qBAAqB,GAAI,YAAY,UAAU;;;;;;;;CAqB1D,CAAC;AAEH,eAAO,MAAM,yBAAyB,GAAI,YAAY,UAAU;;GAU/D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,YAAY,UAAU;;;;;QAU1D,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,YAAY,UAAU;;QAOjE,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,YAAY,UAAU;;;GAe9D,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,YAAY,UAAU;;;;;;IA8B5D,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,YAAY,UAAU;;;QAQ7D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,YAAY,UAAU;;;;QAU9D,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,YAAY,UAAU;;;;;;GAkB7D,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAAI,YAAY,UAAU;;;;;GAgBxE,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAAI,YAAY,UAAU;;;;;GAa1E,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,YAAY,UAAU;;;;;GAiBjE,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAAI,YAAY,UAAU;;;;;;GAiBrE,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,YAAY,UAAU;;;GA0B7D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,YAAY,UAAU;;;;;;;GAkB9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,YAAY,UAAU;;;GAY1D,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,YAAY,UAAU;;;;;;;;;;;;;;;GAiB5D,CAAC"}
@@ -16,7 +16,7 @@ const compatChannelDto = (parsedFeed) => {
16
16
  };
17
17
  exports.compatChannelDto = compatChannelDto;
18
18
  const compatChannelAboutDto = (parsedFeed) => {
19
- var _a, _b, _c, _d, _e, _f;
19
+ var _a, _b, _c, _d, _e;
20
20
  return ({
21
21
  author: ((_b = ((_a = (Array.isArray(parsedFeed.author)
22
22
  ? parsedFeed.author
@@ -27,13 +27,17 @@ const compatChannelAboutDto = (parsedFeed) => {
27
27
  website_link_url: (0, podverse_helpers_1.isValidHttpUrl)(parsedFeed.link) && ((_d = parsedFeed.link) === null || _d === void 0 ? void 0 : _d.slice(0, podverse_helpers_1.DATABASE_CONSTANTS.varchar_url)) || null,
28
28
  itunes_type: (0, podverse_orm_1.getChannelItunesTypeItunesTypeEnumValue)(parsedFeed.itunesType || 'episodic'),
29
29
  episode_count: ((_e = parsedFeed.items) === null || _e === void 0 ? void 0 : _e.length) || 0,
30
- last_pub_date: ((_f = parsedFeed.items) === null || _f === void 0 ? void 0 : _f.reduce((latest, item) => {
31
- if (item.pubDate) {
30
+ last_pub_date: (() => {
31
+ var _a;
32
+ const itemsWithPubDate = ((_a = parsedFeed.items) === null || _a === void 0 ? void 0 : _a.filter(item => !!item.pubDate)) || [];
33
+ if (itemsWithPubDate.length === 0)
34
+ return null;
35
+ const latestDate = itemsWithPubDate.reduce((latest, item) => {
32
36
  const itemDate = new Date(item.pubDate);
33
37
  return itemDate > latest ? itemDate : latest;
34
- }
35
- return latest;
36
- }, new Date(0))) || null
38
+ }, new Date(itemsWithPubDate[0].pubDate));
39
+ return isNaN(latestDate.getTime()) ? null : latestDate;
40
+ })()
37
41
  });
38
42
  };
39
43
  exports.compatChannelAboutDto = compatChannelAboutDto;
@@ -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;AAE/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"}
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
- podverse_helpers_1.timerManager.start('handleParsedChannel');
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 (config_1.config.shouldLogTimer) {
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
- podverse_helpers_1.timerManager.end('handleParsedChannel');
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;AAE/C,OAAO,EAAuB,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG3E,eAAO,MAAM,wBAAwB,GACnC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelAbout");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelAbout");
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;AAE/C,OAAO,EAAE,OAAO,EAA0B,aAAa,EAAE,MAAM,cAAc,CAAC;AAG9E,eAAO,MAAM,2BAA2B,GACtC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAY3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelCategory");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelCategory");
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;AAE/C,OAAO,EAAE,OAAO,EAAsB,aAAa,EAAE,MAAM,cAAc,CAAC;AAI1E,eAAO,MAAM,uBAAuB,GAClC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelChat");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelChat");
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;AAE/C,OAAO,EAAE,OAAO,EAA6B,aAAa,EAAE,MAAM,cAAc,CAAC;AAIjF,eAAO,MAAM,8BAA8B,GACzC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelDescription");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelDescription");
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;AAE/C,OAAO,EAAE,OAAO,EAAyB,aAAa,EAAE,MAAM,cAAc,CAAC;AAI7E,eAAO,MAAM,0BAA0B,GACrC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelFunding");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelFunding");
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;AAE/C,OAAO,EAAE,OAAO,EAAuB,aAAa,EAAE,MAAM,cAAc,CAAC;AAI3E,eAAO,MAAM,wBAAwB,GACnC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelImage");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelImage");
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;AAE/C,OAAO,EAAE,OAAO,EAAyB,aAAa,EAAE,MAAM,cAAc,CAAC;AAI7E,eAAO,MAAM,0BAA0B,GACrC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelLicense");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelLicense");
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;AAE/C,OAAO,EAAE,OAAO,EAA0B,aAAa,EAAE,MAAM,cAAc,CAAC;AAI9E,eAAO,MAAM,2BAA2B,GACtC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelLocation");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelLocation");
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;AAE/C,OAAO,EAAE,OAAO,EAAwB,aAAa,EAAE,MAAM,cAAc,CAAC;AAI5E,eAAO,MAAM,yBAAyB,GACpC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelPerson");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelPerson");
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;AAE/C,OAAO,EAAE,OAAO,EAA0D,aAAa,EAAE,MAAM,cAAc,CAAC;AAG9G,eAAO,MAAM,0BAA0B,GACrC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAe3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelPodroll");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelPodroll");
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;AAE/C,OAAO,EAAE,OAAO,EAA8D,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlH,eAAO,MAAM,4BAA4B,GACvC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAe3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelPublisher");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelPublisher");
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;AAE/C,OAAO,EAAE,OAAO,EAA4B,aAAa,EAAE,MAAM,cAAc,CAAC;AAIhF,eAAO,MAAM,6BAA6B,GACxC,YAAY,UAAU,EACtB,SAAS,OAAO,EAChB,6BAA6B,aAAa,kBAO3C,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
- podverse_helpers_1.timerManager.start("handleParsedChannelRemoteItem");
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
- podverse_helpers_1.timerManager.end("handleParsedChannelRemoteItem");
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;AAE/C,OAAO,EAAE,OAAO,EAAwB,MAAM,cAAc,CAAC;AAG7D,eAAO,MAAM,0BAA0B,GAAU,YAAY,UAAU,EAAE,SAAS,OAAO,KAAG,OAAO,CAAC,IAAI,CAWvG,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"}