podverse-orm 5.0.0-beta.4 → 5.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/dist/src/config/index.d.ts +0 -12
- package/dist/src/config/index.js +0 -15
- package/dist/src/db/index.d.ts +0 -2
- package/dist/src/db/index.js +0 -209
- package/dist/src/entities/account/account.d.ts +0 -8
- package/dist/src/entities/account/account.js +0 -47
- package/dist/src/entities/account/accountAdminRoles.d.ts +0 -7
- package/dist/src/entities/account/accountAdminRoles.js +0 -37
- package/dist/src/entities/account/accountAppStorePurchase.d.ts +0 -26
- package/dist/src/entities/account/accountAppStorePurchase.js +0 -113
- package/dist/src/entities/account/accountCredentials.d.ts +0 -7
- package/dist/src/entities/account/accountCredentials.js +0 -37
- package/dist/src/entities/account/accountFCMDevice.d.ts +0 -6
- package/dist/src/entities/account/accountFCMDevice.js +0 -33
- package/dist/src/entities/account/accountFollowingAccount.d.ts +0 -7
- package/dist/src/entities/account/accountFollowingAccount.js +0 -38
- package/dist/src/entities/account/accountFollowingAddByRSSChannel.d.ts +0 -8
- package/dist/src/entities/account/accountFollowingAddByRSSChannel.js +0 -41
- package/dist/src/entities/account/accountFollowingChannel.d.ts +0 -8
- package/dist/src/entities/account/accountFollowingChannel.js +0 -39
- package/dist/src/entities/account/accountFollowingPlaylist.d.ts +0 -8
- package/dist/src/entities/account/accountFollowingPlaylist.js +0 -39
- package/dist/src/entities/account/accountGooglePlayPurchase.d.ts +0 -14
- package/dist/src/entities/account/accountGooglePlayPurchase.js +0 -65
- package/dist/src/entities/account/accountMembership.d.ts +0 -4
- package/dist/src/entities/account/accountMembership.js +0 -27
- package/dist/src/entities/account/accountMembershipStatus.d.ts +0 -8
- package/dist/src/entities/account/accountMembershipStatus.js +0 -39
- package/dist/src/entities/account/accountNotification.d.ts +0 -8
- package/dist/src/entities/account/accountNotification.js +0 -39
- package/dist/src/entities/account/accountPayPalOrder.d.ts +0 -7
- package/dist/src/entities/account/accountPayPalOrder.js +0 -37
- package/dist/src/entities/account/accountProfile.d.ts +0 -7
- package/dist/src/entities/account/accountProfile.js +0 -37
- package/dist/src/entities/account/accountResetPassword.d.ts +0 -7
- package/dist/src/entities/account/accountResetPassword.js +0 -37
- package/dist/src/entities/account/accountUPDevice.d.ts +0 -8
- package/dist/src/entities/account/accountUPDevice.js +0 -41
- package/dist/src/entities/account/accountVerification.d.ts +0 -7
- package/dist/src/entities/account/accountVerification.js +0 -37
- package/dist/src/entities/category.d.ts +0 -6
- package/dist/src/entities/category.js +0 -35
- package/dist/src/entities/channel/channel.d.ts +0 -19
- package/dist/src/entities/channel/channel.js +0 -100
- package/dist/src/entities/channel/channelAbout.d.ts +0 -13
- package/dist/src/entities/channel/channelAbout.js +0 -59
- package/dist/src/entities/channel/channelCategory.d.ts +0 -6
- package/dist/src/entities/channel/channelCategory.js +0 -34
- package/dist/src/entities/channel/channelChat.d.ts +0 -9
- package/dist/src/entities/channel/channelChat.js +0 -45
- package/dist/src/entities/channel/channelDescription.d.ts +0 -6
- package/dist/src/entities/channel/channelDescription.js +0 -34
- package/dist/src/entities/channel/channelFunding.d.ts +0 -7
- package/dist/src/entities/channel/channelFunding.js +0 -37
- package/dist/src/entities/channel/channelImage.d.ts +0 -8
- package/dist/src/entities/channel/channelImage.js +0 -41
- package/dist/src/entities/channel/channelInternalSettings.d.ts +0 -6
- package/dist/src/entities/channel/channelInternalSettings.js +0 -33
- package/dist/src/entities/channel/channelItunesType.d.ts +0 -9
- package/dist/src/entities/channel/channelItunesType.js +0 -49
- package/dist/src/entities/channel/channelLicense.d.ts +0 -7
- package/dist/src/entities/channel/channelLicense.js +0 -38
- package/dist/src/entities/channel/channelLocation.d.ts +0 -8
- package/dist/src/entities/channel/channelLocation.js +0 -42
- package/dist/src/entities/channel/channelPerson.d.ts +0 -11
- package/dist/src/entities/channel/channelPerson.js +0 -64
- package/dist/src/entities/channel/channelPodroll.d.ts +0 -5
- package/dist/src/entities/channel/channelPodroll.js +0 -29
- package/dist/src/entities/channel/channelPodrollRemoteItem.d.ts +0 -9
- package/dist/src/entities/channel/channelPodrollRemoteItem.js +0 -45
- package/dist/src/entities/channel/channelPublisher.d.ts +0 -5
- package/dist/src/entities/channel/channelPublisher.js +0 -29
- package/dist/src/entities/channel/channelPublisherRemoteItem.d.ts +0 -9
- package/dist/src/entities/channel/channelPublisherRemoteItem.js +0 -45
- package/dist/src/entities/channel/channelRemoteItem.d.ts +0 -9
- package/dist/src/entities/channel/channelRemoteItem.js +0 -45
- package/dist/src/entities/channel/channelSeason.d.ts +0 -8
- package/dist/src/entities/channel/channelSeason.js +0 -42
- package/dist/src/entities/channel/channelSocialInteract.d.ts +0 -10
- package/dist/src/entities/channel/channelSocialInteract.js +0 -49
- package/dist/src/entities/channel/channelTrailer.d.ts +0 -12
- package/dist/src/entities/channel/channelTrailer.js +0 -55
- package/dist/src/entities/channel/channelTxt.d.ts +0 -7
- package/dist/src/entities/channel/channelTxt.js +0 -37
- package/dist/src/entities/channel/channelValue.d.ts +0 -8
- package/dist/src/entities/channel/channelValue.js +0 -41
- package/dist/src/entities/channel/channelValueRecipient.d.ts +0 -12
- package/dist/src/entities/channel/channelValueRecipient.js +0 -57
- package/dist/src/entities/clip.d.ts +0 -15
- package/dist/src/entities/clip.js +0 -71
- package/dist/src/entities/feed/feed.d.ts +0 -14
- package/dist/src/entities/feed/feed.js +0 -59
- package/dist/src/entities/feed/feedFlagStatus.d.ts +0 -14
- package/dist/src/entities/feed/feedFlagStatus.js +0 -52
- package/dist/src/entities/feed/feedLog.d.ts +0 -9
- package/dist/src/entities/feed/feedLog.js +0 -44
- package/dist/src/entities/item/item.d.ts +0 -18
- package/dist/src/entities/item/item.js +0 -82
- package/dist/src/entities/item/itemAbout.d.ts +0 -10
- package/dist/src/entities/item/itemAbout.js +0 -47
- package/dist/src/entities/item/itemChapter.d.ts +0 -13
- package/dist/src/entities/item/itemChapter.js +0 -67
- package/dist/src/entities/item/itemChapterLocation.d.ts +0 -8
- package/dist/src/entities/item/itemChapterLocation.js +0 -42
- package/dist/src/entities/item/itemChaptersFeed.d.ts +0 -9
- package/dist/src/entities/item/itemChaptersFeed.js +0 -42
- package/dist/src/entities/item/itemChaptersFeedLog.d.ts +0 -9
- package/dist/src/entities/item/itemChaptersFeedLog.js +0 -44
- package/dist/src/entities/item/itemChat.d.ts +0 -9
- package/dist/src/entities/item/itemChat.js +0 -45
- package/dist/src/entities/item/itemContentLink.d.ts +0 -7
- package/dist/src/entities/item/itemContentLink.js +0 -37
- package/dist/src/entities/item/itemDescription.d.ts +0 -6
- package/dist/src/entities/item/itemDescription.js +0 -34
- package/dist/src/entities/item/itemEnclosure.d.ts +0 -14
- package/dist/src/entities/item/itemEnclosure.js +0 -65
- package/dist/src/entities/item/itemEnclosureIntegrity.d.ts +0 -7
- package/dist/src/entities/item/itemEnclosureIntegrity.js +0 -37
- package/dist/src/entities/item/itemEnclosureSource.d.ts +0 -7
- package/dist/src/entities/item/itemEnclosureSource.js +0 -37
- package/dist/src/entities/item/itemFunding.d.ts +0 -7
- package/dist/src/entities/item/itemFunding.js +0 -37
- package/dist/src/entities/item/itemImage.d.ts +0 -8
- package/dist/src/entities/item/itemImage.js +0 -41
- package/dist/src/entities/item/itemItunesEpisodeType.d.ts +0 -10
- package/dist/src/entities/item/itemItunesEpisodeType.js +0 -48
- package/dist/src/entities/item/itemLicense.d.ts +0 -7
- package/dist/src/entities/item/itemLicense.js +0 -38
- package/dist/src/entities/item/itemLocation.d.ts +0 -8
- package/dist/src/entities/item/itemLocation.js +0 -42
- package/dist/src/entities/item/itemPerson.d.ts +0 -11
- package/dist/src/entities/item/itemPerson.js +0 -64
- package/dist/src/entities/item/itemSeason.d.ts +0 -9
- package/dist/src/entities/item/itemSeason.js +0 -43
- package/dist/src/entities/item/itemSeasonEpisode.d.ts +0 -7
- package/dist/src/entities/item/itemSeasonEpisode.js +0 -37
- package/dist/src/entities/item/itemSocialInteract.d.ts +0 -10
- package/dist/src/entities/item/itemSocialInteract.js +0 -49
- package/dist/src/entities/item/itemSoundbite.d.ts +0 -10
- package/dist/src/entities/item/itemSoundbite.js +0 -55
- package/dist/src/entities/item/itemTranscript.d.ts +0 -9
- package/dist/src/entities/item/itemTranscript.js +0 -45
- package/dist/src/entities/item/itemTxt.d.ts +0 -7
- package/dist/src/entities/item/itemTxt.js +0 -37
- package/dist/src/entities/item/itemValue.d.ts +0 -8
- package/dist/src/entities/item/itemValue.js +0 -41
- package/dist/src/entities/item/itemValueRecipient.d.ts +0 -12
- package/dist/src/entities/item/itemValueRecipient.js +0 -57
- package/dist/src/entities/item/itemValueTimeSplit.d.ts +0 -9
- package/dist/src/entities/item/itemValueTimeSplit.js +0 -45
- package/dist/src/entities/item/itemValueTimeSplitRecipient.d.ts +0 -12
- package/dist/src/entities/item/itemValueTimeSplitRecipient.js +0 -57
- package/dist/src/entities/item/itemValueTimeSplitRemoteItem.d.ts +0 -9
- package/dist/src/entities/item/itemValueTimeSplitRemoteItem.js +0 -45
- package/dist/src/entities/liveItem/liveItem.d.ts +0 -10
- package/dist/src/entities/liveItem/liveItem.js +0 -47
- package/dist/src/entities/liveItem/liveItemStatus.d.ts +0 -10
- package/dist/src/entities/liveItem/liveItemStatus.js +0 -43
- package/dist/src/entities/medium.d.ts +0 -26
- package/dist/src/entities/medium.js +0 -78
- package/dist/src/entities/membershipClaimToken.d.ts +0 -8
- package/dist/src/entities/membershipClaimToken.js +0 -41
- package/dist/src/entities/playlist/playlist.d.ts +0 -16
- package/dist/src/entities/playlist/playlist.js +0 -75
- package/dist/src/entities/playlist/playlistResourceBase.d.ts +0 -6
- package/dist/src/entities/playlist/playlistResourceBase.js +0 -34
- package/dist/src/entities/playlist/playlistResourceClip.d.ts +0 -5
- package/dist/src/entities/playlist/playlistResourceClip.js +0 -26
- package/dist/src/entities/playlist/playlistResourceItem.d.ts +0 -5
- package/dist/src/entities/playlist/playlistResourceItem.js +0 -26
- package/dist/src/entities/playlist/playlistResourceItemAddByRSS.d.ts +0 -4
- package/dist/src/entities/playlist/playlistResourceItemAddByRSS.js +0 -24
- package/dist/src/entities/playlist/playlistResourceItemChapter.d.ts +0 -5
- package/dist/src/entities/playlist/playlistResourceItemChapter.js +0 -26
- package/dist/src/entities/playlist/playlistResourceItemSoundbite.d.ts +0 -5
- package/dist/src/entities/playlist/playlistResourceItemSoundbite.js +0 -26
- package/dist/src/entities/queue/queue.d.ts +0 -7
- package/dist/src/entities/queue/queue.js +0 -35
- package/dist/src/entities/queue/queueResourceBase.d.ts +0 -9
- package/dist/src/entities/queue/queueResourceBase.js +0 -45
- package/dist/src/entities/queue/queueResourceClip.d.ts +0 -5
- package/dist/src/entities/queue/queueResourceClip.js +0 -27
- package/dist/src/entities/queue/queueResourceItem.d.ts +0 -5
- package/dist/src/entities/queue/queueResourceItem.js +0 -27
- package/dist/src/entities/queue/queueResourceItemAddByRSS.d.ts +0 -4
- package/dist/src/entities/queue/queueResourceItemAddByRSS.js +0 -25
- package/dist/src/entities/queue/queueResourceItemChapter.d.ts +0 -5
- package/dist/src/entities/queue/queueResourceItemChapter.js +0 -27
- package/dist/src/entities/queue/queueResourceItemSoundbite.d.ts +0 -5
- package/dist/src/entities/queue/queueResourceItemSoundbite.js +0 -27
- package/dist/src/entities/sharableStatus.d.ts +0 -4
- package/dist/src/entities/sharableStatus.js +0 -27
- package/dist/src/index.d.ts +0 -149
- package/dist/src/index.js +0 -165
- package/dist/src/lib/applyProperties.d.ts +0 -1
- package/dist/src/lib/applyProperties.js +0 -12
- package/dist/src/lib/filterImageDtosByHighestWidth.d.ts +0 -6
- package/dist/src/lib/filterImageDtosByHighestWidth.js +0 -17
- package/dist/src/lib/hasDifferentValues.d.ts +0 -1
- package/dist/src/lib/hasDifferentValues.js +0 -29
- package/dist/src/lib/typeORMTypes.d.ts +0 -2
- package/dist/src/lib/typeORMTypes.js +0 -5
- package/dist/src/services/base/baseManyService.d.ts +0 -17
- package/dist/src/services/base/baseManyService.js +0 -116
- package/dist/src/services/base/baseOneService.d.ts +0 -12
- package/dist/src/services/base/baseOneService.js +0 -55
- package/dist/src/services/base/baseRemoteItemsService.d.ts +0 -11
- package/dist/src/services/base/baseRemoteItemsService.js +0 -81
- package/dist/src/services/channel/channel.d.ts +0 -28
- package/dist/src/services/channel/channel.js +0 -58
- package/dist/src/services/channel/channelAbout.d.ts +0 -19
- package/dist/src/services/channel/channelAbout.js +0 -28
- package/dist/src/services/channel/channelChat.d.ts +0 -15
- package/dist/src/services/channel/channelChat.js +0 -28
- package/dist/src/services/channel/channelDescription.d.ts +0 -12
- package/dist/src/services/channel/channelDescription.js +0 -28
- package/dist/src/services/channel/channelFunding.d.ts +0 -14
- package/dist/src/services/channel/channelFunding.js +0 -38
- package/dist/src/services/channel/channelImage.d.ts +0 -14
- package/dist/src/services/channel/channelImage.js +0 -41
- package/dist/src/services/channel/channelLicense.d.ts +0 -13
- package/dist/src/services/channel/channelLicense.js +0 -28
- package/dist/src/services/channel/channelLocation.d.ts +0 -14
- package/dist/src/services/channel/channelLocation.js +0 -28
- package/dist/src/services/channel/channelPerson.d.ts +0 -17
- package/dist/src/services/channel/channelPerson.js +0 -38
- package/dist/src/services/channel/channelPodroll.d.ts +0 -10
- package/dist/src/services/channel/channelPodroll.js +0 -28
- package/dist/src/services/channel/channelPodrollRemoteItem.d.ts +0 -15
- package/dist/src/services/channel/channelPodrollRemoteItem.js +0 -36
- package/dist/src/services/channel/channelPublisher.d.ts +0 -9
- package/dist/src/services/channel/channelPublisher.js +0 -28
- package/dist/src/services/channel/channelPublisherRemoteItem.d.ts +0 -14
- package/dist/src/services/channel/channelPublisherRemoteItem.js +0 -36
- package/dist/src/services/channel/channelRemoteItem.d.ts +0 -15
- package/dist/src/services/channel/channelRemoteItem.js +0 -36
- package/dist/src/services/channel/channelSeason.d.ts +0 -15
- package/dist/src/services/channel/channelSeason.js +0 -48
- package/dist/src/services/channel/channelSocialInteract.d.ts +0 -17
- package/dist/src/services/channel/channelSocialInteract.js +0 -38
- package/dist/src/services/channel/channelTrailer.d.ts +0 -18
- package/dist/src/services/channel/channelTrailer.js +0 -38
- package/dist/src/services/channel/channelTxt.d.ts +0 -14
- package/dist/src/services/channel/channelTxt.js +0 -38
- package/dist/src/services/channel/channelValue.d.ts +0 -15
- package/dist/src/services/channel/channelValue.js +0 -38
- package/dist/src/services/channel/channelValueRecipient.d.ts +0 -19
- package/dist/src/services/channel/channelValueRecipient.js +0 -38
- package/dist/src/services/feed/feed.d.ts +0 -23
- package/dist/src/services/feed/feed.js +0 -92
- package/dist/src/services/feed/feedFlagStatus.d.ts +0 -5
- package/dist/src/services/feed/feedFlagStatus.js +0 -27
- package/dist/src/services/feed/feedLog.d.ts +0 -14
- package/dist/src/services/feed/feedLog.js +0 -28
- package/dist/src/services/item/item.d.ts +0 -28
- package/dist/src/services/item/item.js +0 -113
- package/dist/src/services/item/itemAbout.d.ts +0 -16
- package/dist/src/services/item/itemAbout.js +0 -28
- package/dist/src/services/item/itemChapter.d.ts +0 -16
- package/dist/src/services/item/itemChapter.js +0 -45
- package/dist/src/services/item/itemChaptersFeed.d.ts +0 -13
- package/dist/src/services/item/itemChaptersFeed.js +0 -28
- package/dist/src/services/item/itemChaptersFeedLog.d.ts +0 -14
- package/dist/src/services/item/itemChaptersFeedLog.js +0 -28
- package/dist/src/services/item/itemChat.d.ts +0 -15
- package/dist/src/services/item/itemChat.js +0 -28
- package/dist/src/services/item/itemContentLink.d.ts +0 -13
- package/dist/src/services/item/itemContentLink.js +0 -38
- package/dist/src/services/item/itemDescription.d.ts +0 -12
- package/dist/src/services/item/itemDescription.js +0 -28
- package/dist/src/services/item/itemEnclosure.d.ts +0 -21
- package/dist/src/services/item/itemEnclosure.js +0 -38
- package/dist/src/services/item/itemEnclosureIntegrity.d.ts +0 -13
- package/dist/src/services/item/itemEnclosureIntegrity.js +0 -28
- package/dist/src/services/item/itemEnclosureSource.d.ts +0 -14
- package/dist/src/services/item/itemEnclosureSource.js +0 -38
- package/dist/src/services/item/itemFunding.d.ts +0 -13
- package/dist/src/services/item/itemFunding.js +0 -38
- package/dist/src/services/item/itemImage.d.ts +0 -14
- package/dist/src/services/item/itemImage.js +0 -41
- package/dist/src/services/item/itemLicense.d.ts +0 -13
- package/dist/src/services/item/itemLicense.js +0 -28
- package/dist/src/services/item/itemLocation.d.ts +0 -14
- package/dist/src/services/item/itemLocation.js +0 -28
- package/dist/src/services/item/itemPerson.d.ts +0 -17
- package/dist/src/services/item/itemPerson.js +0 -38
- package/dist/src/services/item/itemSeason.d.ts +0 -13
- package/dist/src/services/item/itemSeason.js +0 -28
- package/dist/src/services/item/itemSeasonEpisode.d.ts +0 -13
- package/dist/src/services/item/itemSeasonEpisode.js +0 -28
- package/dist/src/services/item/itemSocialInteract.d.ts +0 -17
- package/dist/src/services/item/itemSocialInteract.js +0 -38
- package/dist/src/services/item/itemSoundbite.d.ts +0 -16
- package/dist/src/services/item/itemSoundbite.js +0 -43
- package/dist/src/services/item/itemTranscript.d.ts +0 -14
- package/dist/src/services/item/itemTranscript.js +0 -38
- package/dist/src/services/item/itemTxt.d.ts +0 -14
- package/dist/src/services/item/itemTxt.js +0 -38
- package/dist/src/services/item/itemValue.d.ts +0 -15
- package/dist/src/services/item/itemValue.js +0 -38
- package/dist/src/services/item/itemValueRecipient.d.ts +0 -19
- package/dist/src/services/item/itemValueRecipient.js +0 -38
- package/dist/src/services/item/itemValueTimeSplit.d.ts +0 -16
- package/dist/src/services/item/itemValueTimeSplit.js +0 -38
- package/dist/src/services/item/itemValueTimeSplitRecipient.d.ts +0 -19
- package/dist/src/services/item/itemValueTimeSplitRecipient.js +0 -38
- package/dist/src/services/item/itemValueTimeSplitRemoteItem.d.ts +0 -14
- package/dist/src/services/item/itemValueTimeSplitRemoteItem.js +0 -28
- package/dist/src/services/liveItem/liveItem.d.ts +0 -14
- package/dist/src/services/liveItem/liveItem.js +0 -28
- package/dist/src/services/medium.d.ts +0 -5
- package/dist/src/services/medium.js +0 -25
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { Channel } from '@/entities/channel/channel';
|
|
3
|
-
import { ChannelAbout } from '@/entities/channel/channelAbout';
|
|
4
|
-
import { ChannelItunesTypeItunesTypeEnum } from '@/entities/channel/channelItunesType';
|
|
5
|
-
import { BaseOneService } from '@/services/base/baseOneService';
|
|
6
|
-
type ChannelAboutDto = {
|
|
7
|
-
author: string | null;
|
|
8
|
-
explicit: boolean | null;
|
|
9
|
-
language: string | null;
|
|
10
|
-
last_pub_date: Date | null;
|
|
11
|
-
website_link_url: string | null;
|
|
12
|
-
itunes_type: ChannelItunesTypeItunesTypeEnum;
|
|
13
|
-
episode_count: number;
|
|
14
|
-
};
|
|
15
|
-
export declare class ChannelAboutService extends BaseOneService<ChannelAbout, 'channel'> {
|
|
16
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
17
|
-
update(channel: Channel, dto: ChannelAboutDto): Promise<ChannelAbout>;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelAboutService = void 0;
|
|
13
|
-
const channelAbout_1 = require("@/entities/channel/channelAbout");
|
|
14
|
-
const baseOneService_1 = require("@/services/base/baseOneService");
|
|
15
|
-
class ChannelAboutService extends baseOneService_1.BaseOneService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(channelAbout_1.ChannelAbout, 'channel', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(channel, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
_update: { get: () => super._update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return _super._update.call(this, channel, dto, { relations: ['itunes_type'] });
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.ChannelAboutService = ChannelAboutService;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { Channel } from '@/entities/channel/channel';
|
|
3
|
-
import { ChannelChat } from '@/entities/channel/channelChat';
|
|
4
|
-
import { BaseOneService } from '@/services/base/baseOneService';
|
|
5
|
-
type ChannelChatDto = {
|
|
6
|
-
server: string;
|
|
7
|
-
protocol: string;
|
|
8
|
-
account_id: string | null;
|
|
9
|
-
space: string | null;
|
|
10
|
-
};
|
|
11
|
-
export declare class ChannelChatService extends BaseOneService<ChannelChat, 'channel'> {
|
|
12
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
13
|
-
update(channel: Channel, dto: ChannelChatDto): Promise<ChannelChat>;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelChatService = void 0;
|
|
13
|
-
const channelChat_1 = require("@/entities/channel/channelChat");
|
|
14
|
-
const baseOneService_1 = require("@/services/base/baseOneService");
|
|
15
|
-
class ChannelChatService extends baseOneService_1.BaseOneService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(channelChat_1.ChannelChat, 'channel', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(channel, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
_update: { get: () => super._update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return _super._update.call(this, channel, dto);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.ChannelChatService = ChannelChatService;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { Channel } from '@/entities/channel/channel';
|
|
3
|
-
import { ChannelDescription } from '@/entities/channel/channelDescription';
|
|
4
|
-
import { BaseOneService } from '@/services/base/baseOneService';
|
|
5
|
-
type ChannelDescriptionDto = {
|
|
6
|
-
value: string;
|
|
7
|
-
};
|
|
8
|
-
export declare class ChannelDescriptionService extends BaseOneService<ChannelDescription, 'channel'> {
|
|
9
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
10
|
-
update(channel: Channel, dto: ChannelDescriptionDto): Promise<ChannelDescription>;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelDescriptionService = void 0;
|
|
13
|
-
const channelDescription_1 = require("@/entities/channel/channelDescription");
|
|
14
|
-
const baseOneService_1 = require("@/services/base/baseOneService");
|
|
15
|
-
class ChannelDescriptionService extends baseOneService_1.BaseOneService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(channelDescription_1.ChannelDescription, 'channel', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(channel, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
_update: { get: () => super._update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return _super._update.call(this, channel, dto);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.ChannelDescriptionService = ChannelDescriptionService;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { Channel } from '@/entities/channel/channel';
|
|
3
|
-
import { ChannelFunding } from '@/entities/channel/channelFunding';
|
|
4
|
-
import { BaseManyService } from '@/services/base/baseManyService';
|
|
5
|
-
type ChannelFundingDto = {
|
|
6
|
-
url: string;
|
|
7
|
-
title: string | null;
|
|
8
|
-
};
|
|
9
|
-
export declare class ChannelFundingService extends BaseManyService<ChannelFunding, 'channel'> {
|
|
10
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
11
|
-
update(channel: Channel, dto: ChannelFundingDto): Promise<ChannelFunding>;
|
|
12
|
-
updateMany(channel: Channel, dtos: ChannelFundingDto[]): Promise<ChannelFunding[]>;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelFundingService = void 0;
|
|
13
|
-
const channelFunding_1 = require("@/entities/channel/channelFunding");
|
|
14
|
-
const baseManyService_1 = require("@/services/base/baseManyService");
|
|
15
|
-
class ChannelFundingService extends baseManyService_1.BaseManyService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(channelFunding_1.ChannelFunding, 'channel', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(channel, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
_update: { get: () => super._update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
const whereKeys = ['url'];
|
|
25
|
-
return _super._update.call(this, channel, whereKeys, dto);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
updateMany(channel, dtos) {
|
|
29
|
-
const _super = Object.create(null, {
|
|
30
|
-
_updateMany: { get: () => super._updateMany }
|
|
31
|
-
});
|
|
32
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
-
const whereKeys = ['url'];
|
|
34
|
-
return _super._updateMany.call(this, channel, whereKeys, dtos);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.ChannelFundingService = ChannelFundingService;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { Channel } from '@/entities/channel/channel';
|
|
3
|
-
import { ChannelImage } from '@/entities/channel/channelImage';
|
|
4
|
-
import { BaseManyService } from '@/services/base/baseManyService';
|
|
5
|
-
type ChannelImageDto = {
|
|
6
|
-
url: string;
|
|
7
|
-
image_width_size: number | null;
|
|
8
|
-
};
|
|
9
|
-
export declare class ChannelImageService extends BaseManyService<ChannelImage, 'channel'> {
|
|
10
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
11
|
-
update(channel: Channel, dto: ChannelImageDto): Promise<ChannelImage>;
|
|
12
|
-
updateMany(channel: Channel, dtos: ChannelImageDto[]): Promise<ChannelImage[]>;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelImageService = void 0;
|
|
13
|
-
const channelImage_1 = require("@/entities/channel/channelImage");
|
|
14
|
-
const filterImageDtosByHighestWidth_1 = require("@/lib/filterImageDtosByHighestWidth");
|
|
15
|
-
const baseManyService_1 = require("@/services/base/baseManyService");
|
|
16
|
-
class ChannelImageService extends baseManyService_1.BaseManyService {
|
|
17
|
-
constructor(transactionalEntityManager) {
|
|
18
|
-
super(channelImage_1.ChannelImage, 'channel', transactionalEntityManager);
|
|
19
|
-
}
|
|
20
|
-
update(channel, dto) {
|
|
21
|
-
const _super = Object.create(null, {
|
|
22
|
-
_update: { get: () => super._update }
|
|
23
|
-
});
|
|
24
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
-
const whereKeys = ['url'];
|
|
26
|
-
return _super._update.call(this, channel, whereKeys, dto);
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
updateMany(channel, dtos) {
|
|
30
|
-
const _super = Object.create(null, {
|
|
31
|
-
_updateMany: { get: () => super._updateMany }
|
|
32
|
-
});
|
|
33
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
-
// TODO: adding image shrinking if an image < 500px is not found
|
|
35
|
-
const filteredDtos = (0, filterImageDtosByHighestWidth_1.filterDtosByHighestWidth)(dtos);
|
|
36
|
-
const whereKeys = ['url'];
|
|
37
|
-
return _super._updateMany.call(this, channel, whereKeys, filteredDtos);
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.ChannelImageService = ChannelImageService;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { Channel } from '@/entities/channel/channel';
|
|
3
|
-
import { ChannelLicense } from '@/entities/channel/channelLicense';
|
|
4
|
-
import { BaseOneService } from '@/services/base/baseOneService';
|
|
5
|
-
type ChannelLicenseDto = {
|
|
6
|
-
identifier: string;
|
|
7
|
-
url: string | null;
|
|
8
|
-
};
|
|
9
|
-
export declare class ChannelLicenseService extends BaseOneService<ChannelLicense, 'channel'> {
|
|
10
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
11
|
-
update(channel: Channel, dto: ChannelLicenseDto): Promise<ChannelLicense>;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelLicenseService = void 0;
|
|
13
|
-
const channelLicense_1 = require("@/entities/channel/channelLicense");
|
|
14
|
-
const baseOneService_1 = require("@/services/base/baseOneService");
|
|
15
|
-
class ChannelLicenseService extends baseOneService_1.BaseOneService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(channelLicense_1.ChannelLicense, 'channel', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(channel, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
_update: { get: () => super._update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return _super._update.call(this, channel, dto);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.ChannelLicenseService = ChannelLicenseService;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { Channel } from '@/entities/channel/channel';
|
|
3
|
-
import { ChannelLocation } from '@/entities/channel/channelLocation';
|
|
4
|
-
import { BaseOneService } from '@/services/base/baseOneService';
|
|
5
|
-
type ChannelLocationDto = {
|
|
6
|
-
geo: string | null;
|
|
7
|
-
osm: string | null;
|
|
8
|
-
name: string | null;
|
|
9
|
-
};
|
|
10
|
-
export declare class ChannelLocationService extends BaseOneService<ChannelLocation, 'channel'> {
|
|
11
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
12
|
-
update(channel: Channel, dto: ChannelLocationDto): Promise<ChannelLocation>;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelLocationService = void 0;
|
|
13
|
-
const channelLocation_1 = require("@/entities/channel/channelLocation");
|
|
14
|
-
const baseOneService_1 = require("@/services/base/baseOneService");
|
|
15
|
-
class ChannelLocationService extends baseOneService_1.BaseOneService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(channelLocation_1.ChannelLocation, 'channel', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(channel, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
_update: { get: () => super._update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return _super._update.call(this, channel, dto);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.ChannelLocationService = ChannelLocationService;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { Channel } from '@/entities/channel/channel';
|
|
3
|
-
import { ChannelPerson } from '@/entities/channel/channelPerson';
|
|
4
|
-
import { BaseManyService } from '@/services/base/baseManyService';
|
|
5
|
-
type ChannelPersonDto = {
|
|
6
|
-
name: string;
|
|
7
|
-
role: string | null;
|
|
8
|
-
person_group: string | 'cast';
|
|
9
|
-
img: string | null;
|
|
10
|
-
href: string | null;
|
|
11
|
-
};
|
|
12
|
-
export declare class ChannelPersonService extends BaseManyService<ChannelPerson, 'channel'> {
|
|
13
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
14
|
-
update(channel: Channel, dto: ChannelPersonDto): Promise<ChannelPerson>;
|
|
15
|
-
updateMany(channel: Channel, dtos: ChannelPersonDto[]): Promise<ChannelPerson[]>;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelPersonService = void 0;
|
|
13
|
-
const channelPerson_1 = require("@/entities/channel/channelPerson");
|
|
14
|
-
const baseManyService_1 = require("@/services/base/baseManyService");
|
|
15
|
-
class ChannelPersonService extends baseManyService_1.BaseManyService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(channelPerson_1.ChannelPerson, 'channel', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(channel, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
_update: { get: () => super._update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
const whereKeys = ['name'];
|
|
25
|
-
return _super._update.call(this, channel, whereKeys, dto);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
updateMany(channel, dtos) {
|
|
29
|
-
const _super = Object.create(null, {
|
|
30
|
-
_updateMany: { get: () => super._updateMany }
|
|
31
|
-
});
|
|
32
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
-
const whereKeys = ['name'];
|
|
34
|
-
return _super._updateMany.call(this, channel, whereKeys, dtos);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.ChannelPersonService = ChannelPersonService;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { Channel } from '@/entities/channel/channel';
|
|
3
|
-
import { ChannelPodroll } from '@/entities/channel/channelPodroll';
|
|
4
|
-
import { BaseOneService } from '@/services/base/baseOneService';
|
|
5
|
-
type ChannelPodrollDto = object;
|
|
6
|
-
export declare class ChannelPodrollService extends BaseOneService<ChannelPodroll, 'channel'> {
|
|
7
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
8
|
-
update(channel: Channel, dto: ChannelPodrollDto): Promise<ChannelPodroll>;
|
|
9
|
-
}
|
|
10
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelPodrollService = void 0;
|
|
13
|
-
const channelPodroll_1 = require("@/entities/channel/channelPodroll");
|
|
14
|
-
const baseOneService_1 = require("@/services/base/baseOneService");
|
|
15
|
-
class ChannelPodrollService extends baseOneService_1.BaseOneService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(channelPodroll_1.ChannelPodroll, 'channel', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(channel, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
_update: { get: () => super._update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return _super._update.call(this, channel, dto);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.ChannelPodrollService = ChannelPodrollService;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { ChannelPodroll } from '@/entities/channel/channelPodroll';
|
|
3
|
-
import { ChannelPodrollRemoteItem } from '@/entities/channel/channelPodrollRemoteItem';
|
|
4
|
-
import { BaseRemoteItemsService } from '@/services/base/baseRemoteItemsService';
|
|
5
|
-
type ChannelPodrollRemoteItemDto = {
|
|
6
|
-
feed_guid: string;
|
|
7
|
-
feed_url: string | null;
|
|
8
|
-
item_guid: string | null;
|
|
9
|
-
};
|
|
10
|
-
export declare class ChannelPodrollRemoteItemService extends BaseRemoteItemsService<ChannelPodrollRemoteItem, 'channel_podroll'> {
|
|
11
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
12
|
-
update(channel_podroll: ChannelPodroll, dto: ChannelPodrollRemoteItemDto): Promise<ChannelPodrollRemoteItem>;
|
|
13
|
-
updateMany(channel_podroll: ChannelPodroll, dtos: ChannelPodrollRemoteItemDto[]): Promise<ChannelPodrollRemoteItem[]>;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelPodrollRemoteItemService = void 0;
|
|
13
|
-
const channelPodrollRemoteItem_1 = require("@/entities/channel/channelPodrollRemoteItem");
|
|
14
|
-
const baseRemoteItemsService_1 = require("@/services/base/baseRemoteItemsService");
|
|
15
|
-
class ChannelPodrollRemoteItemService extends baseRemoteItemsService_1.BaseRemoteItemsService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(channelPodrollRemoteItem_1.ChannelPodrollRemoteItem, 'channel_podroll', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(channel_podroll, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
update: { get: () => super.update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return _super.update.call(this, channel_podroll, dto);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
updateMany(channel_podroll, dtos) {
|
|
28
|
-
const _super = Object.create(null, {
|
|
29
|
-
updateMany: { get: () => super.updateMany }
|
|
30
|
-
});
|
|
31
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
return _super.updateMany.call(this, channel_podroll, dtos);
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
exports.ChannelPodrollRemoteItemService = ChannelPodrollRemoteItemService;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Channel } from '@/entities/channel/channel';
|
|
2
|
-
import { ChannelPublisher } from '@/entities/channel/channelPublisher';
|
|
3
|
-
import { BaseOneService } from '@/services/base/baseOneService';
|
|
4
|
-
type ChannelPublisherDto = object;
|
|
5
|
-
export declare class ChannelPublisherService extends BaseOneService<ChannelPublisher, 'channel'> {
|
|
6
|
-
constructor();
|
|
7
|
-
update(channel: Channel, dto: ChannelPublisherDto): Promise<ChannelPublisher>;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelPublisherService = void 0;
|
|
13
|
-
const channelPublisher_1 = require("@/entities/channel/channelPublisher");
|
|
14
|
-
const baseOneService_1 = require("@/services/base/baseOneService");
|
|
15
|
-
class ChannelPublisherService extends baseOneService_1.BaseOneService {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(channelPublisher_1.ChannelPublisher, 'channel');
|
|
18
|
-
}
|
|
19
|
-
update(channel, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
_update: { get: () => super._update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return _super._update.call(this, channel, dto);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.ChannelPublisherService = ChannelPublisherService;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ChannelPublisher } from '@/entities/channel/channelPublisher';
|
|
2
|
-
import { ChannelPublisherRemoteItem } from '@/entities/channel/channelPublisherRemoteItem';
|
|
3
|
-
import { BaseRemoteItemsService } from '@/services/base/baseRemoteItemsService';
|
|
4
|
-
type ChannelPublisherRemoteItemDto = {
|
|
5
|
-
feed_guid: string;
|
|
6
|
-
feed_url: string | null;
|
|
7
|
-
item_guid: string | null;
|
|
8
|
-
};
|
|
9
|
-
export declare class ChannelPublisherRemoteItemService extends BaseRemoteItemsService<ChannelPublisherRemoteItem, 'channel_publisher'> {
|
|
10
|
-
constructor();
|
|
11
|
-
update(channel_publisher: ChannelPublisher, dto: ChannelPublisherRemoteItemDto): Promise<ChannelPublisherRemoteItem>;
|
|
12
|
-
updateMany(channel_publisher: ChannelPublisher, dtos: ChannelPublisherRemoteItemDto[]): Promise<ChannelPublisherRemoteItem[]>;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelPublisherRemoteItemService = void 0;
|
|
13
|
-
const channelPublisherRemoteItem_1 = require("@/entities/channel/channelPublisherRemoteItem");
|
|
14
|
-
const baseRemoteItemsService_1 = require("@/services/base/baseRemoteItemsService");
|
|
15
|
-
class ChannelPublisherRemoteItemService extends baseRemoteItemsService_1.BaseRemoteItemsService {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(channelPublisherRemoteItem_1.ChannelPublisherRemoteItem, 'channel_publisher');
|
|
18
|
-
}
|
|
19
|
-
update(channel_publisher, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
update: { get: () => super.update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return _super.update.call(this, channel_publisher, dto);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
updateMany(channel_publisher, dtos) {
|
|
28
|
-
const _super = Object.create(null, {
|
|
29
|
-
updateMany: { get: () => super.updateMany }
|
|
30
|
-
});
|
|
31
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
return _super.updateMany.call(this, channel_publisher, dtos);
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
exports.ChannelPublisherRemoteItemService = ChannelPublisherRemoteItemService;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { Channel } from '@/entities/channel/channel';
|
|
3
|
-
import { ChannelRemoteItem } from '@/entities/channel/channelRemoteItem';
|
|
4
|
-
import { BaseRemoteItemsService } from '@/services/base/baseRemoteItemsService';
|
|
5
|
-
type ChannelRemoteItemDto = {
|
|
6
|
-
feed_guid: string;
|
|
7
|
-
feed_url: string | null;
|
|
8
|
-
item_guid: string | null;
|
|
9
|
-
};
|
|
10
|
-
export declare class ChannelRemoteItemService extends BaseRemoteItemsService<ChannelRemoteItem, 'channel'> {
|
|
11
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
12
|
-
update(channel: Channel, dto: ChannelRemoteItemDto): Promise<ChannelRemoteItem>;
|
|
13
|
-
updateMany(channel: Channel, dtos: ChannelRemoteItemDto[]): Promise<ChannelRemoteItem[]>;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ChannelRemoteItemService = void 0;
|
|
13
|
-
const channelRemoteItem_1 = require("@/entities/channel/channelRemoteItem");
|
|
14
|
-
const baseRemoteItemsService_1 = require("@/services/base/baseRemoteItemsService");
|
|
15
|
-
class ChannelRemoteItemService extends baseRemoteItemsService_1.BaseRemoteItemsService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(channelRemoteItem_1.ChannelRemoteItem, 'channel', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(channel, dto) {
|
|
20
|
-
const _super = Object.create(null, {
|
|
21
|
-
update: { get: () => super.update }
|
|
22
|
-
});
|
|
23
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
-
return _super.update.call(this, channel, dto);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
updateMany(channel, dtos) {
|
|
28
|
-
const _super = Object.create(null, {
|
|
29
|
-
updateMany: { get: () => super.updateMany }
|
|
30
|
-
});
|
|
31
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
return _super.updateMany.call(this, channel, dtos);
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
exports.ChannelRemoteItemService = ChannelRemoteItemService;
|