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,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemLocation = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const item_1 = require("@/entities/item/item");
|
|
15
|
-
let ItemLocation = class ItemLocation {
|
|
16
|
-
};
|
|
17
|
-
exports.ItemLocation = ItemLocation;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], ItemLocation.prototype, "id", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.ManyToOne)(() => item_1.Item, item => item.id, { onDelete: 'CASCADE' }),
|
|
24
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_id' }),
|
|
25
|
-
__metadata("design:type", item_1.Item)
|
|
26
|
-
], ItemLocation.prototype, "item", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
29
|
-
__metadata("design:type", Object)
|
|
30
|
-
], ItemLocation.prototype, "geo", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
33
|
-
__metadata("design:type", Object)
|
|
34
|
-
], ItemLocation.prototype, "osm", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
37
|
-
__metadata("design:type", Object)
|
|
38
|
-
], ItemLocation.prototype, "name", void 0);
|
|
39
|
-
exports.ItemLocation = ItemLocation = __decorate([
|
|
40
|
-
(0, typeorm_1.Entity)(),
|
|
41
|
-
(0, typeorm_1.Check)(`(geo IS NOT NULL AND osm IS NULL) OR (geo IS NULL AND osm IS NOT NULL)`)
|
|
42
|
-
], ItemLocation);
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemPerson = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const item_1 = require("./item");
|
|
15
|
-
let ItemPerson = class ItemPerson {
|
|
16
|
-
lowercaseFields() {
|
|
17
|
-
if (this.role) {
|
|
18
|
-
this.role = this.role.toLowerCase();
|
|
19
|
-
}
|
|
20
|
-
if (this.person_group) {
|
|
21
|
-
this.person_group = this.person_group.toLowerCase();
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
exports.ItemPerson = ItemPerson;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
28
|
-
__metadata("design:type", Number)
|
|
29
|
-
], ItemPerson.prototype, "id", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, typeorm_1.ManyToOne)(() => item_1.Item, item => item.id, { onDelete: 'CASCADE' }),
|
|
32
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_id' }),
|
|
33
|
-
__metadata("design:type", item_1.Item)
|
|
34
|
-
], ItemPerson.prototype, "item", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], ItemPerson.prototype, "name", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
41
|
-
__metadata("design:type", Object)
|
|
42
|
-
], ItemPerson.prototype, "role", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'varchar', default: 'cast' }),
|
|
45
|
-
__metadata("design:type", Object)
|
|
46
|
-
], ItemPerson.prototype, "person_group", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
49
|
-
__metadata("design:type", Object)
|
|
50
|
-
], ItemPerson.prototype, "img", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
53
|
-
__metadata("design:type", Object)
|
|
54
|
-
], ItemPerson.prototype, "href", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, typeorm_1.BeforeInsert)(),
|
|
57
|
-
(0, typeorm_1.BeforeUpdate)(),
|
|
58
|
-
__metadata("design:type", Function),
|
|
59
|
-
__metadata("design:paramtypes", []),
|
|
60
|
-
__metadata("design:returntype", void 0)
|
|
61
|
-
], ItemPerson.prototype, "lowercaseFields", null);
|
|
62
|
-
exports.ItemPerson = ItemPerson = __decorate([
|
|
63
|
-
(0, typeorm_1.Entity)()
|
|
64
|
-
], ItemPerson);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ChannelSeason } from '@/entities/channel/channelSeason';
|
|
2
|
-
import { Item } from '@/entities/item/item';
|
|
3
|
-
export declare class ItemSeason {
|
|
4
|
-
id: number;
|
|
5
|
-
channel_season_id: number;
|
|
6
|
-
channel_season: ChannelSeason;
|
|
7
|
-
item: Item;
|
|
8
|
-
title: string | null;
|
|
9
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemSeason = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const channelSeason_1 = require("@/entities/channel/channelSeason");
|
|
15
|
-
const item_1 = require("@/entities/item/item");
|
|
16
|
-
let ItemSeason = class ItemSeason {
|
|
17
|
-
};
|
|
18
|
-
exports.ItemSeason = ItemSeason;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
21
|
-
__metadata("design:type", Number)
|
|
22
|
-
], ItemSeason.prototype, "id", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, typeorm_1.Column)({ type: 'integer', name: 'channel_season_id' }),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], ItemSeason.prototype, "channel_season_id", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.ManyToOne)(() => channelSeason_1.ChannelSeason, channel_season => channel_season.id, { onDelete: 'CASCADE' }),
|
|
29
|
-
(0, typeorm_1.JoinColumn)({ name: 'channel_season_id' }),
|
|
30
|
-
__metadata("design:type", channelSeason_1.ChannelSeason)
|
|
31
|
-
], ItemSeason.prototype, "channel_season", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, typeorm_1.ManyToOne)(() => item_1.Item, item => item.id, { onDelete: 'CASCADE' }),
|
|
34
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_id' }),
|
|
35
|
-
__metadata("design:type", item_1.Item)
|
|
36
|
-
], ItemSeason.prototype, "item", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
39
|
-
__metadata("design:type", Object)
|
|
40
|
-
], ItemSeason.prototype, "title", void 0);
|
|
41
|
-
exports.ItemSeason = ItemSeason = __decorate([
|
|
42
|
-
(0, typeorm_1.Entity)()
|
|
43
|
-
], ItemSeason);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemSeasonEpisode = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const item_1 = require("@/entities/item/item");
|
|
15
|
-
let ItemSeasonEpisode = class ItemSeasonEpisode {
|
|
16
|
-
};
|
|
17
|
-
exports.ItemSeasonEpisode = ItemSeasonEpisode;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], ItemSeasonEpisode.prototype, "id", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.ManyToOne)(() => item_1.Item, item => item.id, { onDelete: 'CASCADE' }),
|
|
24
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_id' }),
|
|
25
|
-
__metadata("design:type", item_1.Item)
|
|
26
|
-
], ItemSeasonEpisode.prototype, "item", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
29
|
-
__metadata("design:type", Object)
|
|
30
|
-
], ItemSeasonEpisode.prototype, "display", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'float' }),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], ItemSeasonEpisode.prototype, "number", void 0);
|
|
35
|
-
exports.ItemSeasonEpisode = ItemSeasonEpisode = __decorate([
|
|
36
|
-
(0, typeorm_1.Entity)('item_season_episode')
|
|
37
|
-
], ItemSeasonEpisode);
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemSocialInteract = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const item_1 = require("@/entities/item/item");
|
|
15
|
-
let ItemSocialInteract = class ItemSocialInteract {
|
|
16
|
-
};
|
|
17
|
-
exports.ItemSocialInteract = ItemSocialInteract;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], ItemSocialInteract.prototype, "id", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.ManyToOne)(() => item_1.Item, item => item.id, { onDelete: 'CASCADE' }),
|
|
24
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_id' }),
|
|
25
|
-
__metadata("design:type", item_1.Item)
|
|
26
|
-
], ItemSocialInteract.prototype, "item", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ItemSocialInteract.prototype, "protocol", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], ItemSocialInteract.prototype, "uri", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
37
|
-
__metadata("design:type", Object)
|
|
38
|
-
], ItemSocialInteract.prototype, "account_id", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
41
|
-
__metadata("design:type", Object)
|
|
42
|
-
], ItemSocialInteract.prototype, "account_url", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
45
|
-
__metadata("design:type", Object)
|
|
46
|
-
], ItemSocialInteract.prototype, "priority", void 0);
|
|
47
|
-
exports.ItemSocialInteract = ItemSocialInteract = __decorate([
|
|
48
|
-
(0, typeorm_1.Entity)()
|
|
49
|
-
], ItemSocialInteract);
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemSoundbite = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const item_1 = require("@/entities/item/item");
|
|
15
|
-
const shortid = require('shortid');
|
|
16
|
-
let ItemSoundbite = class ItemSoundbite {
|
|
17
|
-
generateIdText() {
|
|
18
|
-
this.id_text = shortid.generate();
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
exports.ItemSoundbite = ItemSoundbite;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
24
|
-
__metadata("design:type", Number)
|
|
25
|
-
], ItemSoundbite.prototype, "id", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typeorm_1.Column)({ type: 'varchar', unique: true }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], ItemSoundbite.prototype, "id_text", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, typeorm_1.ManyToOne)(() => item_1.Item, item => item.id, { onDelete: 'CASCADE' }),
|
|
32
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_id' }),
|
|
33
|
-
__metadata("design:type", item_1.Item)
|
|
34
|
-
], ItemSoundbite.prototype, "item", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2 }),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], ItemSoundbite.prototype, "start_time", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2 }),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], ItemSoundbite.prototype, "duration", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
45
|
-
__metadata("design:type", Object)
|
|
46
|
-
], ItemSoundbite.prototype, "title", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.BeforeInsert)(),
|
|
49
|
-
__metadata("design:type", Function),
|
|
50
|
-
__metadata("design:paramtypes", []),
|
|
51
|
-
__metadata("design:returntype", void 0)
|
|
52
|
-
], ItemSoundbite.prototype, "generateIdText", null);
|
|
53
|
-
exports.ItemSoundbite = ItemSoundbite = __decorate([
|
|
54
|
-
(0, typeorm_1.Entity)()
|
|
55
|
-
], ItemSoundbite);
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemTranscript = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const item_1 = require("@/entities/item/item");
|
|
15
|
-
let ItemTranscript = class ItemTranscript {
|
|
16
|
-
};
|
|
17
|
-
exports.ItemTranscript = ItemTranscript;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], ItemTranscript.prototype, "id", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.ManyToOne)(() => item_1.Item, item => item.id, { onDelete: 'CASCADE' }),
|
|
24
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_id' }),
|
|
25
|
-
__metadata("design:type", item_1.Item)
|
|
26
|
-
], ItemTranscript.prototype, "item", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ItemTranscript.prototype, "url", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], ItemTranscript.prototype, "type", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
37
|
-
__metadata("design:type", Object)
|
|
38
|
-
], ItemTranscript.prototype, "language", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
41
|
-
__metadata("design:type", Object)
|
|
42
|
-
], ItemTranscript.prototype, "rel", void 0);
|
|
43
|
-
exports.ItemTranscript = ItemTranscript = __decorate([
|
|
44
|
-
(0, typeorm_1.Entity)()
|
|
45
|
-
], ItemTranscript);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemTxt = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const item_1 = require("@/entities/item/item");
|
|
15
|
-
let ItemTxt = class ItemTxt {
|
|
16
|
-
};
|
|
17
|
-
exports.ItemTxt = ItemTxt;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], ItemTxt.prototype, "id", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.ManyToOne)(() => item_1.Item, item => item.id, { onDelete: 'CASCADE' }),
|
|
24
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_id' }),
|
|
25
|
-
__metadata("design:type", item_1.Item)
|
|
26
|
-
], ItemTxt.prototype, "item", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
29
|
-
__metadata("design:type", Object)
|
|
30
|
-
], ItemTxt.prototype, "purpose", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], ItemTxt.prototype, "value", void 0);
|
|
35
|
-
exports.ItemTxt = ItemTxt = __decorate([
|
|
36
|
-
(0, typeorm_1.Entity)()
|
|
37
|
-
], ItemTxt);
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemValue = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const item_1 = require("@/entities/item/item");
|
|
15
|
-
let ItemValue = class ItemValue {
|
|
16
|
-
};
|
|
17
|
-
exports.ItemValue = ItemValue;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], ItemValue.prototype, "id", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.ManyToOne)(() => item_1.Item, item => item.id, { onDelete: 'CASCADE' }),
|
|
24
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_id' }),
|
|
25
|
-
__metadata("design:type", item_1.Item)
|
|
26
|
-
], ItemValue.prototype, "item", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ItemValue.prototype, "type", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], ItemValue.prototype, "method", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'float', nullable: true }),
|
|
37
|
-
__metadata("design:type", Object)
|
|
38
|
-
], ItemValue.prototype, "suggested", void 0);
|
|
39
|
-
exports.ItemValue = ItemValue = __decorate([
|
|
40
|
-
(0, typeorm_1.Entity)()
|
|
41
|
-
], ItemValue);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ItemValue } from '@/entities/item/itemValue';
|
|
2
|
-
export declare class ItemValueRecipient {
|
|
3
|
-
id: number;
|
|
4
|
-
item_value: ItemValue;
|
|
5
|
-
type: string;
|
|
6
|
-
address: string;
|
|
7
|
-
split: number;
|
|
8
|
-
name?: string | null;
|
|
9
|
-
custom_key?: string | null;
|
|
10
|
-
custom_value?: string | null;
|
|
11
|
-
fee: boolean;
|
|
12
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemValueRecipient = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const itemValue_1 = require("@/entities/item/itemValue");
|
|
15
|
-
let ItemValueRecipient = class ItemValueRecipient {
|
|
16
|
-
};
|
|
17
|
-
exports.ItemValueRecipient = ItemValueRecipient;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], ItemValueRecipient.prototype, "id", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.ManyToOne)(() => itemValue_1.ItemValue, itemValue => itemValue.id, { onDelete: 'CASCADE' }),
|
|
24
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_value_id' }),
|
|
25
|
-
__metadata("design:type", itemValue_1.ItemValue)
|
|
26
|
-
], ItemValueRecipient.prototype, "item_value", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ItemValueRecipient.prototype, "type", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], ItemValueRecipient.prototype, "address", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'float' }),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], ItemValueRecipient.prototype, "split", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
41
|
-
__metadata("design:type", Object)
|
|
42
|
-
], ItemValueRecipient.prototype, "name", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
45
|
-
__metadata("design:type", Object)
|
|
46
|
-
], ItemValueRecipient.prototype, "custom_key", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
49
|
-
__metadata("design:type", Object)
|
|
50
|
-
], ItemValueRecipient.prototype, "custom_value", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
53
|
-
__metadata("design:type", Boolean)
|
|
54
|
-
], ItemValueRecipient.prototype, "fee", void 0);
|
|
55
|
-
exports.ItemValueRecipient = ItemValueRecipient = __decorate([
|
|
56
|
-
(0, typeorm_1.Entity)()
|
|
57
|
-
], ItemValueRecipient);
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ItemValueTimeSplit = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const itemValue_1 = require("@/entities/item/itemValue");
|
|
15
|
-
let ItemValueTimeSplit = class ItemValueTimeSplit {
|
|
16
|
-
};
|
|
17
|
-
exports.ItemValueTimeSplit = ItemValueTimeSplit;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], ItemValueTimeSplit.prototype, "id", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, typeorm_1.ManyToOne)(() => itemValue_1.ItemValue, itemValue => itemValue.id, { onDelete: 'CASCADE' }),
|
|
24
|
-
(0, typeorm_1.JoinColumn)({ name: 'item_value_id' }),
|
|
25
|
-
__metadata("design:type", itemValue_1.ItemValue)
|
|
26
|
-
], ItemValueTimeSplit.prototype, "item_value", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2 }),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], ItemValueTimeSplit.prototype, "start_time", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2 }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], ItemValueTimeSplit.prototype, "duration", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, default: 0 }),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], ItemValueTimeSplit.prototype, "remote_start_time", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, default: 100 }),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], ItemValueTimeSplit.prototype, "remote_percentage", void 0);
|
|
43
|
-
exports.ItemValueTimeSplit = ItemValueTimeSplit = __decorate([
|
|
44
|
-
(0, typeorm_1.Entity)()
|
|
45
|
-
], ItemValueTimeSplit);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ItemValueTimeSplit } from '@/entities/item/itemValueTimeSplit';
|
|
2
|
-
export declare class ItemValueTimeSplitRecipient {
|
|
3
|
-
id: number;
|
|
4
|
-
item_value_time_split: ItemValueTimeSplit;
|
|
5
|
-
type: string;
|
|
6
|
-
address: string;
|
|
7
|
-
split: number;
|
|
8
|
-
name?: string | null;
|
|
9
|
-
custom_key?: string | null;
|
|
10
|
-
custom_value?: string | null;
|
|
11
|
-
fee: boolean;
|
|
12
|
-
}
|