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,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.ItemValueRecipientService = void 0;
|
|
13
|
-
const itemValueRecipient_1 = require("@/entities/item/itemValueRecipient");
|
|
14
|
-
const baseManyService_1 = require("@/services/base/baseManyService");
|
|
15
|
-
class ItemValueRecipientService extends baseManyService_1.BaseManyService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(itemValueRecipient_1.ItemValueRecipient, 'item_value', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(item_value, 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 = ['type', 'address', 'custom_key', 'custom_value'];
|
|
25
|
-
return _super._update.call(this, item_value, whereKeys, dto);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
updateMany(item_value, 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 = ['type', 'address', 'custom_key', 'custom_value'];
|
|
34
|
-
return _super._updateMany.call(this, item_value, whereKeys, dtos);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.ItemValueRecipientService = ItemValueRecipientService;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { ItemValue } from '@/entities/item/itemValue';
|
|
3
|
-
import { ItemValueTimeSplit } from '@/entities/item/itemValueTimeSplit';
|
|
4
|
-
import { BaseManyService } from '@/services/base/baseManyService';
|
|
5
|
-
type ItemValueTimeSplitDto = {
|
|
6
|
-
start_time: string;
|
|
7
|
-
duration: string;
|
|
8
|
-
remote_start_time: string;
|
|
9
|
-
remote_percentage: string;
|
|
10
|
-
};
|
|
11
|
-
export declare class ItemValueTimeSplitService extends BaseManyService<ItemValueTimeSplit, 'item_value'> {
|
|
12
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
13
|
-
update(item_value: ItemValue, dto: ItemValueTimeSplitDto): Promise<ItemValueTimeSplit>;
|
|
14
|
-
updateMany(item: ItemValue, dtos: ItemValueTimeSplitDto[]): Promise<ItemValueTimeSplit[]>;
|
|
15
|
-
}
|
|
16
|
-
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.ItemValueTimeSplitService = void 0;
|
|
13
|
-
const itemValueTimeSplit_1 = require("@/entities/item/itemValueTimeSplit");
|
|
14
|
-
const baseManyService_1 = require("@/services/base/baseManyService");
|
|
15
|
-
class ItemValueTimeSplitService extends baseManyService_1.BaseManyService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(itemValueTimeSplit_1.ItemValueTimeSplit, 'item_value', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(item_value, 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 = ['start_time', 'duration'];
|
|
25
|
-
return _super._update.call(this, item_value, whereKeys, dto);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
updateMany(item, 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 = ['start_time', 'duration'];
|
|
34
|
-
return _super._updateMany.call(this, item, whereKeys, dtos);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.ItemValueTimeSplitService = ItemValueTimeSplitService;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { ItemValueTimeSplit } from '@/entities/item/itemValueTimeSplit';
|
|
3
|
-
import { ItemValueTimeSplitRecipient } from '@/entities/item/itemValueTimeSplitRecipient';
|
|
4
|
-
import { BaseManyService } from '@/services/base/baseManyService';
|
|
5
|
-
type ItemValueTimeSplitRecipientDto = {
|
|
6
|
-
type: string;
|
|
7
|
-
address: string;
|
|
8
|
-
split: number;
|
|
9
|
-
name: string | null;
|
|
10
|
-
custom_key: string | null;
|
|
11
|
-
custom_value: string | null;
|
|
12
|
-
fee: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare class ItemValueTimeSplitRecipientService extends BaseManyService<ItemValueTimeSplitRecipient, 'item_value_time_split'> {
|
|
15
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
16
|
-
update(item_value_time_split: ItemValueTimeSplit, dto: ItemValueTimeSplitRecipientDto): Promise<ItemValueTimeSplitRecipient>;
|
|
17
|
-
updateMany(item_value_time_split: ItemValueTimeSplit, dtos: ItemValueTimeSplitRecipientDto[]): Promise<ItemValueTimeSplitRecipient[]>;
|
|
18
|
-
}
|
|
19
|
-
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.ItemValueTimeSplitRecipientService = void 0;
|
|
13
|
-
const itemValueTimeSplitRecipient_1 = require("@/entities/item/itemValueTimeSplitRecipient");
|
|
14
|
-
const baseManyService_1 = require("@/services/base/baseManyService");
|
|
15
|
-
class ItemValueTimeSplitRecipientService extends baseManyService_1.BaseManyService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(itemValueTimeSplitRecipient_1.ItemValueTimeSplitRecipient, 'item_value_time_split', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(item_value_time_split, 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 = ['type', 'address', 'custom_key', 'custom_value'];
|
|
25
|
-
return _super._update.call(this, item_value_time_split, whereKeys, dto);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
updateMany(item_value_time_split, 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 = ['type', 'address', 'custom_key', 'custom_value'];
|
|
34
|
-
return _super._updateMany.call(this, item_value_time_split, whereKeys, dtos);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.ItemValueTimeSplitRecipientService = ItemValueTimeSplitRecipientService;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EntityManager } from 'typeorm';
|
|
2
|
-
import { ItemValueTimeSplit } from '@/entities/item/itemValueTimeSplit';
|
|
3
|
-
import { ItemValueTimeSplitRemoteItem } from '@/entities/item/itemValueTimeSplitRemoteItem';
|
|
4
|
-
import { BaseRemoteItemsService } from '@/services/base/baseRemoteItemsService';
|
|
5
|
-
type ItemValueTimeSplitRemoteItemDto = {
|
|
6
|
-
feed_guid: string;
|
|
7
|
-
feed_url: string | null;
|
|
8
|
-
item_guid: string | null;
|
|
9
|
-
};
|
|
10
|
-
export declare class ItemValueTimeSplitRemoteItemService extends BaseRemoteItemsService<ItemValueTimeSplitRemoteItem, 'item_value_time_split'> {
|
|
11
|
-
constructor(transactionalEntityManager?: EntityManager);
|
|
12
|
-
update(item_value_time_split: ItemValueTimeSplit, dto: ItemValueTimeSplitRemoteItemDto): Promise<ItemValueTimeSplitRemoteItem>;
|
|
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.ItemValueTimeSplitRemoteItemService = void 0;
|
|
13
|
-
const itemValueTimeSplitRemoteItem_1 = require("@/entities/item/itemValueTimeSplitRemoteItem");
|
|
14
|
-
const baseRemoteItemsService_1 = require("@/services/base/baseRemoteItemsService");
|
|
15
|
-
class ItemValueTimeSplitRemoteItemService extends baseRemoteItemsService_1.BaseRemoteItemsService {
|
|
16
|
-
constructor(transactionalEntityManager) {
|
|
17
|
-
super(itemValueTimeSplitRemoteItem_1.ItemValueTimeSplitRemoteItem, 'item_value_time_split', transactionalEntityManager);
|
|
18
|
-
}
|
|
19
|
-
update(item_value_time_split, 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, item_value_time_split, dto);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.ItemValueTimeSplitRemoteItemService = ItemValueTimeSplitRemoteItemService;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Item } from '@/entities/item/item';
|
|
2
|
-
import { LiveItem } from '@/entities/liveItem/liveItem';
|
|
3
|
-
import { LiveItemStatusEnum } from '@/entities/liveItem/liveItemStatus';
|
|
4
|
-
import { BaseOneService } from '../base/baseOneService';
|
|
5
|
-
type LiveItemDto = {
|
|
6
|
-
live_item_status: LiveItemStatusEnum;
|
|
7
|
-
start_time: Date;
|
|
8
|
-
end_time: Date | null;
|
|
9
|
-
};
|
|
10
|
-
export declare class LiveItemService extends BaseOneService<LiveItem, 'item'> {
|
|
11
|
-
constructor();
|
|
12
|
-
update(item: Item, dto: LiveItemDto): Promise<LiveItem>;
|
|
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.LiveItemService = void 0;
|
|
13
|
-
const liveItem_1 = require("@/entities/liveItem/liveItem");
|
|
14
|
-
const baseOneService_1 = require("../base/baseOneService");
|
|
15
|
-
class LiveItemService extends baseOneService_1.BaseOneService {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(liveItem_1.LiveItem, 'item');
|
|
18
|
-
}
|
|
19
|
-
update(item, 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, item, dto, { relations: ['live_item_status'] });
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.LiveItemService = LiveItemService;
|
|
@@ -1,25 +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.MediumService = void 0;
|
|
13
|
-
const db_1 = require("@/db");
|
|
14
|
-
const medium_1 = require("@/entities/medium");
|
|
15
|
-
class MediumService {
|
|
16
|
-
constructor() {
|
|
17
|
-
this.mediumRepository = db_1.AppDataSource.getRepository(medium_1.Medium);
|
|
18
|
-
}
|
|
19
|
-
mediumGetAll() {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
return yield this.mediumRepository.find();
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.MediumService = MediumService;
|