@earbug/db-models 0.0.55 → 0.0.57

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.
@@ -1,906 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MerchItem = exports.KnexMigrationsLock = exports.KnexMigrations = exports.JukeboxUserType = exports.JukeboxUser = exports.JukeboxType = exports.JukeboxTerminationCondition = exports.JukeboxStatus = exports.JukeboxSessionGenreAffinity = exports.JukeboxSessionArtistAffinity = exports.JukeboxSession = exports.JukeboxQueueMode = exports.JukeboxQueueEntry = exports.JukeboxInvite = exports.JukeboxCanonGenreRelation = exports.JukeboxAccessType = exports.GuestUser = exports.FeedContentType = exports.FeedConfig = exports.ExternalReference = exports.ConfigParam = exports.CanonTrack = exports.CanonToPlatformTrackRelation = exports.CanonToPlatformGenreRelation = exports.CanonToPlatformArtistRelation = exports.CanonToPlatformAlbumRelation = exports.CanonMemberExternalReferenceRelation = exports.CanonMember = exports.CanonLabelExternalReferenceRelation = exports.CanonLabel = exports.CanonGenreExternalReferenceRelation = exports.CanonGenre = exports.CanonArtistTrackRelation = exports.CanonArtistMemberRelation = exports.CanonArtistGenreRelation = exports.CanonArtistExternalReferenceRelation = exports.CanonArtistAlbumRelation = exports.CanonArtist = exports.CanonAlbumTrackRelation = exports.CanonAlbumLabelRelation = exports.CanonAlbumGenreRelation = exports.CanonAlbumExternalReferenceRelation = exports.CanonAlbum = exports.AppUserPlatformRelation = exports.AppUserFollowRelation = exports.AppUserDevice = exports.AppUser = exports.AffinityTier = exports.AffinityRelationshipType = exports.AccessControlPreference = void 0;
4
- exports.Versus = exports.UserMessages = exports.UserLikes = exports.UserGenreAffinity = exports.UserEngagementFactor = exports.UserContacts = exports.UserComments = exports.UserBookmarks = exports.UserArtistAffinity = exports.UserAffinity = exports.UserAbuseReports = exports.UnmatchedArtist = exports.UnmatchedAlbum = exports.TrackDeletionReason = exports.State = exports.RadioShowPublishRequests = exports.RadioShowPlacement = exports.RadioShowMedia = exports.RadioShowGenres = exports.RadioShow = exports.PlaybackStatusType = exports.PlaybackStatus = exports.PlatformUserPlaylistTrack = exports.PlatformUserPlaylistGenreAffinity = exports.PlatformUserPlaylistArtistAffinity = exports.PlatformUserPlaylist = exports.PlatformUserAlbumTrack = exports.PlatformUserAlbum = exports.PlatformTrackGenreRelation = exports.PlatformTrack = exports.PlatformGenre = exports.PlatformArtistTrackRelation = exports.PlatformArtistGenreRelation = exports.PlatformArtistAlbumRelation = exports.PlatformArtist = exports.PlatformAlbumTrackRelation = exports.PlatformAlbumGenreRelation = exports.PlatformAlbum = exports.Platform = exports.PauseStatusType = exports.NotificationType = exports.Notification = exports.NewsSite = exports.NewsPlatform = exports.NewsArticle = exports.MetricsEvent = exports.MetricsDaily = exports.MerchType = exports.MerchPlatform = exports.MerchOrchestration = void 0;
5
- exports.VersusVotingMode = exports.VersusVotingListType = exports.VersusVote = exports.VersusQuestionVariableType = exports.VersusQuestion = exports.VersusPublishIssue = exports.VersusOption = exports.VersusEntityKind = exports.VersusEndVoteThreshold = exports.VersusEndTimerDuration = exports.VersusEndMode = exports.VersusCreatorScope = exports.VersusCoCreator = exports.VersusAccessType = void 0;
6
3
  exports.initModels = initModels;
7
- const AccessControlPreference_1 = require("./AccessControlPreference");
8
- Object.defineProperty(exports, "AccessControlPreference", { enumerable: true, get: function () { return AccessControlPreference_1.AccessControlPreference; } });
9
- const AffinityRelationshipType_1 = require("./AffinityRelationshipType");
10
- Object.defineProperty(exports, "AffinityRelationshipType", { enumerable: true, get: function () { return AffinityRelationshipType_1.AffinityRelationshipType; } });
11
- const AffinityTier_1 = require("./AffinityTier");
12
- Object.defineProperty(exports, "AffinityTier", { enumerable: true, get: function () { return AffinityTier_1.AffinityTier; } });
13
- const AppUser_1 = require("./AppUser");
14
- Object.defineProperty(exports, "AppUser", { enumerable: true, get: function () { return AppUser_1.AppUser; } });
15
- const AppUserDevice_1 = require("./AppUserDevice");
16
- Object.defineProperty(exports, "AppUserDevice", { enumerable: true, get: function () { return AppUserDevice_1.AppUserDevice; } });
17
- const AppUserFollowRelation_1 = require("./AppUserFollowRelation");
18
- Object.defineProperty(exports, "AppUserFollowRelation", { enumerable: true, get: function () { return AppUserFollowRelation_1.AppUserFollowRelation; } });
19
- const AppUserPlatformRelation_1 = require("./AppUserPlatformRelation");
20
- Object.defineProperty(exports, "AppUserPlatformRelation", { enumerable: true, get: function () { return AppUserPlatformRelation_1.AppUserPlatformRelation; } });
21
- const CanonAlbum_1 = require("./CanonAlbum");
22
- Object.defineProperty(exports, "CanonAlbum", { enumerable: true, get: function () { return CanonAlbum_1.CanonAlbum; } });
23
- const CanonAlbumExternalReferenceRelation_1 = require("./CanonAlbumExternalReferenceRelation");
24
- Object.defineProperty(exports, "CanonAlbumExternalReferenceRelation", { enumerable: true, get: function () { return CanonAlbumExternalReferenceRelation_1.CanonAlbumExternalReferenceRelation; } });
25
- const CanonAlbumGenreRelation_1 = require("./CanonAlbumGenreRelation");
26
- Object.defineProperty(exports, "CanonAlbumGenreRelation", { enumerable: true, get: function () { return CanonAlbumGenreRelation_1.CanonAlbumGenreRelation; } });
27
- const CanonAlbumLabelRelation_1 = require("./CanonAlbumLabelRelation");
28
- Object.defineProperty(exports, "CanonAlbumLabelRelation", { enumerable: true, get: function () { return CanonAlbumLabelRelation_1.CanonAlbumLabelRelation; } });
29
- const CanonAlbumTrackRelation_1 = require("./CanonAlbumTrackRelation");
30
- Object.defineProperty(exports, "CanonAlbumTrackRelation", { enumerable: true, get: function () { return CanonAlbumTrackRelation_1.CanonAlbumTrackRelation; } });
31
- const CanonArtist_1 = require("./CanonArtist");
32
- Object.defineProperty(exports, "CanonArtist", { enumerable: true, get: function () { return CanonArtist_1.CanonArtist; } });
33
- const CanonArtistAlbumRelation_1 = require("./CanonArtistAlbumRelation");
34
- Object.defineProperty(exports, "CanonArtistAlbumRelation", { enumerable: true, get: function () { return CanonArtistAlbumRelation_1.CanonArtistAlbumRelation; } });
35
- const CanonArtistExternalReferenceRelation_1 = require("./CanonArtistExternalReferenceRelation");
36
- Object.defineProperty(exports, "CanonArtistExternalReferenceRelation", { enumerable: true, get: function () { return CanonArtistExternalReferenceRelation_1.CanonArtistExternalReferenceRelation; } });
37
- const CanonArtistGenreRelation_1 = require("./CanonArtistGenreRelation");
38
- Object.defineProperty(exports, "CanonArtistGenreRelation", { enumerable: true, get: function () { return CanonArtistGenreRelation_1.CanonArtistGenreRelation; } });
39
- const CanonArtistMemberRelation_1 = require("./CanonArtistMemberRelation");
40
- Object.defineProperty(exports, "CanonArtistMemberRelation", { enumerable: true, get: function () { return CanonArtistMemberRelation_1.CanonArtistMemberRelation; } });
41
- const CanonArtistTrackRelation_1 = require("./CanonArtistTrackRelation");
42
- Object.defineProperty(exports, "CanonArtistTrackRelation", { enumerable: true, get: function () { return CanonArtistTrackRelation_1.CanonArtistTrackRelation; } });
43
- const CanonGenre_1 = require("./CanonGenre");
44
- Object.defineProperty(exports, "CanonGenre", { enumerable: true, get: function () { return CanonGenre_1.CanonGenre; } });
45
- const CanonGenreExternalReferenceRelation_1 = require("./CanonGenreExternalReferenceRelation");
46
- Object.defineProperty(exports, "CanonGenreExternalReferenceRelation", { enumerable: true, get: function () { return CanonGenreExternalReferenceRelation_1.CanonGenreExternalReferenceRelation; } });
47
- const CanonLabel_1 = require("./CanonLabel");
48
- Object.defineProperty(exports, "CanonLabel", { enumerable: true, get: function () { return CanonLabel_1.CanonLabel; } });
49
- const CanonLabelExternalReferenceRelation_1 = require("./CanonLabelExternalReferenceRelation");
50
- Object.defineProperty(exports, "CanonLabelExternalReferenceRelation", { enumerable: true, get: function () { return CanonLabelExternalReferenceRelation_1.CanonLabelExternalReferenceRelation; } });
51
- const CanonMember_1 = require("./CanonMember");
52
- Object.defineProperty(exports, "CanonMember", { enumerable: true, get: function () { return CanonMember_1.CanonMember; } });
53
- const CanonMemberExternalReferenceRelation_1 = require("./CanonMemberExternalReferenceRelation");
54
- Object.defineProperty(exports, "CanonMemberExternalReferenceRelation", { enumerable: true, get: function () { return CanonMemberExternalReferenceRelation_1.CanonMemberExternalReferenceRelation; } });
55
- const CanonToPlatformAlbumRelation_1 = require("./CanonToPlatformAlbumRelation");
56
- Object.defineProperty(exports, "CanonToPlatformAlbumRelation", { enumerable: true, get: function () { return CanonToPlatformAlbumRelation_1.CanonToPlatformAlbumRelation; } });
57
- const CanonToPlatformArtistRelation_1 = require("./CanonToPlatformArtistRelation");
58
- Object.defineProperty(exports, "CanonToPlatformArtistRelation", { enumerable: true, get: function () { return CanonToPlatformArtistRelation_1.CanonToPlatformArtistRelation; } });
59
- const CanonToPlatformGenreRelation_1 = require("./CanonToPlatformGenreRelation");
60
- Object.defineProperty(exports, "CanonToPlatformGenreRelation", { enumerable: true, get: function () { return CanonToPlatformGenreRelation_1.CanonToPlatformGenreRelation; } });
61
- const CanonToPlatformTrackRelation_1 = require("./CanonToPlatformTrackRelation");
62
- Object.defineProperty(exports, "CanonToPlatformTrackRelation", { enumerable: true, get: function () { return CanonToPlatformTrackRelation_1.CanonToPlatformTrackRelation; } });
63
- const CanonTrack_1 = require("./CanonTrack");
64
- Object.defineProperty(exports, "CanonTrack", { enumerable: true, get: function () { return CanonTrack_1.CanonTrack; } });
65
- const ConfigParam_1 = require("./ConfigParam");
66
- Object.defineProperty(exports, "ConfigParam", { enumerable: true, get: function () { return ConfigParam_1.ConfigParam; } });
67
- const ExternalReference_1 = require("./ExternalReference");
68
- Object.defineProperty(exports, "ExternalReference", { enumerable: true, get: function () { return ExternalReference_1.ExternalReference; } });
69
- const FeedConfig_1 = require("./FeedConfig");
70
- Object.defineProperty(exports, "FeedConfig", { enumerable: true, get: function () { return FeedConfig_1.FeedConfig; } });
71
- const FeedContentType_1 = require("./FeedContentType");
72
- Object.defineProperty(exports, "FeedContentType", { enumerable: true, get: function () { return FeedContentType_1.FeedContentType; } });
73
- const GuestUser_1 = require("./GuestUser");
74
- Object.defineProperty(exports, "GuestUser", { enumerable: true, get: function () { return GuestUser_1.GuestUser; } });
75
- const JukeboxAccessType_1 = require("./JukeboxAccessType");
76
- Object.defineProperty(exports, "JukeboxAccessType", { enumerable: true, get: function () { return JukeboxAccessType_1.JukeboxAccessType; } });
77
- const JukeboxCanonGenreRelation_1 = require("./JukeboxCanonGenreRelation");
78
- Object.defineProperty(exports, "JukeboxCanonGenreRelation", { enumerable: true, get: function () { return JukeboxCanonGenreRelation_1.JukeboxCanonGenreRelation; } });
79
- const JukeboxInvite_1 = require("./JukeboxInvite");
80
- Object.defineProperty(exports, "JukeboxInvite", { enumerable: true, get: function () { return JukeboxInvite_1.JukeboxInvite; } });
81
- const JukeboxQueueEntry_1 = require("./JukeboxQueueEntry");
82
- Object.defineProperty(exports, "JukeboxQueueEntry", { enumerable: true, get: function () { return JukeboxQueueEntry_1.JukeboxQueueEntry; } });
83
- const JukeboxQueueMode_1 = require("./JukeboxQueueMode");
84
- Object.defineProperty(exports, "JukeboxQueueMode", { enumerable: true, get: function () { return JukeboxQueueMode_1.JukeboxQueueMode; } });
85
- const JukeboxSession_1 = require("./JukeboxSession");
86
- Object.defineProperty(exports, "JukeboxSession", { enumerable: true, get: function () { return JukeboxSession_1.JukeboxSession; } });
87
- const JukeboxSessionArtistAffinity_1 = require("./JukeboxSessionArtistAffinity");
88
- Object.defineProperty(exports, "JukeboxSessionArtistAffinity", { enumerable: true, get: function () { return JukeboxSessionArtistAffinity_1.JukeboxSessionArtistAffinity; } });
89
- const JukeboxSessionGenreAffinity_1 = require("./JukeboxSessionGenreAffinity");
90
- Object.defineProperty(exports, "JukeboxSessionGenreAffinity", { enumerable: true, get: function () { return JukeboxSessionGenreAffinity_1.JukeboxSessionGenreAffinity; } });
91
- const JukeboxStatus_1 = require("./JukeboxStatus");
92
- Object.defineProperty(exports, "JukeboxStatus", { enumerable: true, get: function () { return JukeboxStatus_1.JukeboxStatus; } });
93
- const JukeboxTerminationCondition_1 = require("./JukeboxTerminationCondition");
94
- Object.defineProperty(exports, "JukeboxTerminationCondition", { enumerable: true, get: function () { return JukeboxTerminationCondition_1.JukeboxTerminationCondition; } });
95
- const JukeboxType_1 = require("./JukeboxType");
96
- Object.defineProperty(exports, "JukeboxType", { enumerable: true, get: function () { return JukeboxType_1.JukeboxType; } });
97
- const JukeboxUser_1 = require("./JukeboxUser");
98
- Object.defineProperty(exports, "JukeboxUser", { enumerable: true, get: function () { return JukeboxUser_1.JukeboxUser; } });
99
- const JukeboxUserType_1 = require("./JukeboxUserType");
100
- Object.defineProperty(exports, "JukeboxUserType", { enumerable: true, get: function () { return JukeboxUserType_1.JukeboxUserType; } });
101
- const KnexMigrations_1 = require("./KnexMigrations");
102
- Object.defineProperty(exports, "KnexMigrations", { enumerable: true, get: function () { return KnexMigrations_1.KnexMigrations; } });
103
- const KnexMigrationsLock_1 = require("./KnexMigrationsLock");
104
- Object.defineProperty(exports, "KnexMigrationsLock", { enumerable: true, get: function () { return KnexMigrationsLock_1.KnexMigrationsLock; } });
105
- const MerchItem_1 = require("./MerchItem");
106
- Object.defineProperty(exports, "MerchItem", { enumerable: true, get: function () { return MerchItem_1.MerchItem; } });
107
- const MerchOrchestration_1 = require("./MerchOrchestration");
108
- Object.defineProperty(exports, "MerchOrchestration", { enumerable: true, get: function () { return MerchOrchestration_1.MerchOrchestration; } });
109
- const MerchPlatform_1 = require("./MerchPlatform");
110
- Object.defineProperty(exports, "MerchPlatform", { enumerable: true, get: function () { return MerchPlatform_1.MerchPlatform; } });
111
- const MerchType_1 = require("./MerchType");
112
- Object.defineProperty(exports, "MerchType", { enumerable: true, get: function () { return MerchType_1.MerchType; } });
113
- const MetricsDaily_1 = require("./MetricsDaily");
114
- Object.defineProperty(exports, "MetricsDaily", { enumerable: true, get: function () { return MetricsDaily_1.MetricsDaily; } });
115
- const MetricsEvent_1 = require("./MetricsEvent");
116
- Object.defineProperty(exports, "MetricsEvent", { enumerable: true, get: function () { return MetricsEvent_1.MetricsEvent; } });
117
- const NewsArticle_1 = require("./NewsArticle");
118
- Object.defineProperty(exports, "NewsArticle", { enumerable: true, get: function () { return NewsArticle_1.NewsArticle; } });
119
- const NewsPlatform_1 = require("./NewsPlatform");
120
- Object.defineProperty(exports, "NewsPlatform", { enumerable: true, get: function () { return NewsPlatform_1.NewsPlatform; } });
121
- const NewsSite_1 = require("./NewsSite");
122
- Object.defineProperty(exports, "NewsSite", { enumerable: true, get: function () { return NewsSite_1.NewsSite; } });
123
- const Notification_1 = require("./Notification");
124
- Object.defineProperty(exports, "Notification", { enumerable: true, get: function () { return Notification_1.Notification; } });
125
- const NotificationType_1 = require("./NotificationType");
126
- Object.defineProperty(exports, "NotificationType", { enumerable: true, get: function () { return NotificationType_1.NotificationType; } });
127
- const PauseStatusType_1 = require("./PauseStatusType");
128
- Object.defineProperty(exports, "PauseStatusType", { enumerable: true, get: function () { return PauseStatusType_1.PauseStatusType; } });
129
- const Platform_1 = require("./Platform");
130
- Object.defineProperty(exports, "Platform", { enumerable: true, get: function () { return Platform_1.Platform; } });
131
- const PlatformAlbum_1 = require("./PlatformAlbum");
132
- Object.defineProperty(exports, "PlatformAlbum", { enumerable: true, get: function () { return PlatformAlbum_1.PlatformAlbum; } });
133
- const PlatformAlbumGenreRelation_1 = require("./PlatformAlbumGenreRelation");
134
- Object.defineProperty(exports, "PlatformAlbumGenreRelation", { enumerable: true, get: function () { return PlatformAlbumGenreRelation_1.PlatformAlbumGenreRelation; } });
135
- const PlatformAlbumTrackRelation_1 = require("./PlatformAlbumTrackRelation");
136
- Object.defineProperty(exports, "PlatformAlbumTrackRelation", { enumerable: true, get: function () { return PlatformAlbumTrackRelation_1.PlatformAlbumTrackRelation; } });
137
- const PlatformArtist_1 = require("./PlatformArtist");
138
- Object.defineProperty(exports, "PlatformArtist", { enumerable: true, get: function () { return PlatformArtist_1.PlatformArtist; } });
139
- const PlatformArtistAlbumRelation_1 = require("./PlatformArtistAlbumRelation");
140
- Object.defineProperty(exports, "PlatformArtistAlbumRelation", { enumerable: true, get: function () { return PlatformArtistAlbumRelation_1.PlatformArtistAlbumRelation; } });
141
- const PlatformArtistGenreRelation_1 = require("./PlatformArtistGenreRelation");
142
- Object.defineProperty(exports, "PlatformArtistGenreRelation", { enumerable: true, get: function () { return PlatformArtistGenreRelation_1.PlatformArtistGenreRelation; } });
143
- const PlatformArtistTrackRelation_1 = require("./PlatformArtistTrackRelation");
144
- Object.defineProperty(exports, "PlatformArtistTrackRelation", { enumerable: true, get: function () { return PlatformArtistTrackRelation_1.PlatformArtistTrackRelation; } });
145
- const PlatformGenre_1 = require("./PlatformGenre");
146
- Object.defineProperty(exports, "PlatformGenre", { enumerable: true, get: function () { return PlatformGenre_1.PlatformGenre; } });
147
- const PlatformTrack_1 = require("./PlatformTrack");
148
- Object.defineProperty(exports, "PlatformTrack", { enumerable: true, get: function () { return PlatformTrack_1.PlatformTrack; } });
149
- const PlatformTrackGenreRelation_1 = require("./PlatformTrackGenreRelation");
150
- Object.defineProperty(exports, "PlatformTrackGenreRelation", { enumerable: true, get: function () { return PlatformTrackGenreRelation_1.PlatformTrackGenreRelation; } });
151
- const PlatformUserAlbum_1 = require("./PlatformUserAlbum");
152
- Object.defineProperty(exports, "PlatformUserAlbum", { enumerable: true, get: function () { return PlatformUserAlbum_1.PlatformUserAlbum; } });
153
- const PlatformUserAlbumTrack_1 = require("./PlatformUserAlbumTrack");
154
- Object.defineProperty(exports, "PlatformUserAlbumTrack", { enumerable: true, get: function () { return PlatformUserAlbumTrack_1.PlatformUserAlbumTrack; } });
155
- const PlatformUserPlaylist_1 = require("./PlatformUserPlaylist");
156
- Object.defineProperty(exports, "PlatformUserPlaylist", { enumerable: true, get: function () { return PlatformUserPlaylist_1.PlatformUserPlaylist; } });
157
- const PlatformUserPlaylistArtistAffinity_1 = require("./PlatformUserPlaylistArtistAffinity");
158
- Object.defineProperty(exports, "PlatformUserPlaylistArtistAffinity", { enumerable: true, get: function () { return PlatformUserPlaylistArtistAffinity_1.PlatformUserPlaylistArtistAffinity; } });
159
- const PlatformUserPlaylistGenreAffinity_1 = require("./PlatformUserPlaylistGenreAffinity");
160
- Object.defineProperty(exports, "PlatformUserPlaylistGenreAffinity", { enumerable: true, get: function () { return PlatformUserPlaylistGenreAffinity_1.PlatformUserPlaylistGenreAffinity; } });
161
- const PlatformUserPlaylistTrack_1 = require("./PlatformUserPlaylistTrack");
162
- Object.defineProperty(exports, "PlatformUserPlaylistTrack", { enumerable: true, get: function () { return PlatformUserPlaylistTrack_1.PlatformUserPlaylistTrack; } });
163
- const PlaybackStatus_1 = require("./PlaybackStatus");
164
- Object.defineProperty(exports, "PlaybackStatus", { enumerable: true, get: function () { return PlaybackStatus_1.PlaybackStatus; } });
165
- const PlaybackStatusType_1 = require("./PlaybackStatusType");
166
- Object.defineProperty(exports, "PlaybackStatusType", { enumerable: true, get: function () { return PlaybackStatusType_1.PlaybackStatusType; } });
167
- const RadioShow_1 = require("./RadioShow");
168
- Object.defineProperty(exports, "RadioShow", { enumerable: true, get: function () { return RadioShow_1.RadioShow; } });
169
- const RadioShowGenres_1 = require("./RadioShowGenres");
170
- Object.defineProperty(exports, "RadioShowGenres", { enumerable: true, get: function () { return RadioShowGenres_1.RadioShowGenres; } });
171
- const RadioShowMedia_1 = require("./RadioShowMedia");
172
- Object.defineProperty(exports, "RadioShowMedia", { enumerable: true, get: function () { return RadioShowMedia_1.RadioShowMedia; } });
173
- const RadioShowPlacement_1 = require("./RadioShowPlacement");
174
- Object.defineProperty(exports, "RadioShowPlacement", { enumerable: true, get: function () { return RadioShowPlacement_1.RadioShowPlacement; } });
175
- const RadioShowPublishRequests_1 = require("./RadioShowPublishRequests");
176
- Object.defineProperty(exports, "RadioShowPublishRequests", { enumerable: true, get: function () { return RadioShowPublishRequests_1.RadioShowPublishRequests; } });
177
- const State_1 = require("./State");
178
- Object.defineProperty(exports, "State", { enumerable: true, get: function () { return State_1.State; } });
179
- const TrackDeletionReason_1 = require("./TrackDeletionReason");
180
- Object.defineProperty(exports, "TrackDeletionReason", { enumerable: true, get: function () { return TrackDeletionReason_1.TrackDeletionReason; } });
181
- const UnmatchedAlbum_1 = require("./UnmatchedAlbum");
182
- Object.defineProperty(exports, "UnmatchedAlbum", { enumerable: true, get: function () { return UnmatchedAlbum_1.UnmatchedAlbum; } });
183
- const UnmatchedArtist_1 = require("./UnmatchedArtist");
184
- Object.defineProperty(exports, "UnmatchedArtist", { enumerable: true, get: function () { return UnmatchedArtist_1.UnmatchedArtist; } });
185
- const UserAbuseReports_1 = require("./UserAbuseReports");
186
- Object.defineProperty(exports, "UserAbuseReports", { enumerable: true, get: function () { return UserAbuseReports_1.UserAbuseReports; } });
187
- const UserAffinity_1 = require("./UserAffinity");
188
- Object.defineProperty(exports, "UserAffinity", { enumerable: true, get: function () { return UserAffinity_1.UserAffinity; } });
189
- const UserArtistAffinity_1 = require("./UserArtistAffinity");
190
- Object.defineProperty(exports, "UserArtistAffinity", { enumerable: true, get: function () { return UserArtistAffinity_1.UserArtistAffinity; } });
191
- const UserBookmarks_1 = require("./UserBookmarks");
192
- Object.defineProperty(exports, "UserBookmarks", { enumerable: true, get: function () { return UserBookmarks_1.UserBookmarks; } });
193
- const UserComments_1 = require("./UserComments");
194
- Object.defineProperty(exports, "UserComments", { enumerable: true, get: function () { return UserComments_1.UserComments; } });
195
- const UserContacts_1 = require("./UserContacts");
196
- Object.defineProperty(exports, "UserContacts", { enumerable: true, get: function () { return UserContacts_1.UserContacts; } });
197
- const UserEngagementFactor_1 = require("./UserEngagementFactor");
198
- Object.defineProperty(exports, "UserEngagementFactor", { enumerable: true, get: function () { return UserEngagementFactor_1.UserEngagementFactor; } });
199
- const UserGenreAffinity_1 = require("./UserGenreAffinity");
200
- Object.defineProperty(exports, "UserGenreAffinity", { enumerable: true, get: function () { return UserGenreAffinity_1.UserGenreAffinity; } });
201
- const UserLikes_1 = require("./UserLikes");
202
- Object.defineProperty(exports, "UserLikes", { enumerable: true, get: function () { return UserLikes_1.UserLikes; } });
203
- const UserMessages_1 = require("./UserMessages");
204
- Object.defineProperty(exports, "UserMessages", { enumerable: true, get: function () { return UserMessages_1.UserMessages; } });
205
- const Versus_1 = require("./Versus");
206
- Object.defineProperty(exports, "Versus", { enumerable: true, get: function () { return Versus_1.Versus; } });
207
- const VersusAccessType_1 = require("./VersusAccessType");
208
- Object.defineProperty(exports, "VersusAccessType", { enumerable: true, get: function () { return VersusAccessType_1.VersusAccessType; } });
209
- const VersusCoCreator_1 = require("./VersusCoCreator");
210
- Object.defineProperty(exports, "VersusCoCreator", { enumerable: true, get: function () { return VersusCoCreator_1.VersusCoCreator; } });
211
- const VersusCreatorScope_1 = require("./VersusCreatorScope");
212
- Object.defineProperty(exports, "VersusCreatorScope", { enumerable: true, get: function () { return VersusCreatorScope_1.VersusCreatorScope; } });
213
- const VersusEndMode_1 = require("./VersusEndMode");
214
- Object.defineProperty(exports, "VersusEndMode", { enumerable: true, get: function () { return VersusEndMode_1.VersusEndMode; } });
215
- const VersusEndTimerDuration_1 = require("./VersusEndTimerDuration");
216
- Object.defineProperty(exports, "VersusEndTimerDuration", { enumerable: true, get: function () { return VersusEndTimerDuration_1.VersusEndTimerDuration; } });
217
- const VersusEndVoteThreshold_1 = require("./VersusEndVoteThreshold");
218
- Object.defineProperty(exports, "VersusEndVoteThreshold", { enumerable: true, get: function () { return VersusEndVoteThreshold_1.VersusEndVoteThreshold; } });
219
- const VersusEntityKind_1 = require("./VersusEntityKind");
220
- Object.defineProperty(exports, "VersusEntityKind", { enumerable: true, get: function () { return VersusEntityKind_1.VersusEntityKind; } });
221
- const VersusOption_1 = require("./VersusOption");
222
- Object.defineProperty(exports, "VersusOption", { enumerable: true, get: function () { return VersusOption_1.VersusOption; } });
223
- const VersusPublishIssue_1 = require("./VersusPublishIssue");
224
- Object.defineProperty(exports, "VersusPublishIssue", { enumerable: true, get: function () { return VersusPublishIssue_1.VersusPublishIssue; } });
225
- const VersusQuestion_1 = require("./VersusQuestion");
226
- Object.defineProperty(exports, "VersusQuestion", { enumerable: true, get: function () { return VersusQuestion_1.VersusQuestion; } });
227
- const VersusQuestionVariableType_1 = require("./VersusQuestionVariableType");
228
- Object.defineProperty(exports, "VersusQuestionVariableType", { enumerable: true, get: function () { return VersusQuestionVariableType_1.VersusQuestionVariableType; } });
229
- const VersusVote_1 = require("./VersusVote");
230
- Object.defineProperty(exports, "VersusVote", { enumerable: true, get: function () { return VersusVote_1.VersusVote; } });
231
- const VersusVotingListType_1 = require("./VersusVotingListType");
232
- Object.defineProperty(exports, "VersusVotingListType", { enumerable: true, get: function () { return VersusVotingListType_1.VersusVotingListType; } });
233
- const VersusVotingMode_1 = require("./VersusVotingMode");
234
- Object.defineProperty(exports, "VersusVotingMode", { enumerable: true, get: function () { return VersusVotingMode_1.VersusVotingMode; } });
235
4
  function initModels(sequelize) {
236
- const AccessControlPreference = AccessControlPreference_1.AccessControlPreference.initModel(sequelize);
237
- const AffinityRelationshipType = AffinityRelationshipType_1.AffinityRelationshipType.initModel(sequelize);
238
- const AffinityTier = AffinityTier_1.AffinityTier.initModel(sequelize);
239
- const AppUser = AppUser_1.AppUser.initModel(sequelize);
240
- const AppUserDevice = AppUserDevice_1.AppUserDevice.initModel(sequelize);
241
- const AppUserFollowRelation = AppUserFollowRelation_1.AppUserFollowRelation.initModel(sequelize);
242
- const AppUserPlatformRelation = AppUserPlatformRelation_1.AppUserPlatformRelation.initModel(sequelize);
243
- const CanonAlbum = CanonAlbum_1.CanonAlbum.initModel(sequelize);
244
- const CanonAlbumExternalReferenceRelation = CanonAlbumExternalReferenceRelation_1.CanonAlbumExternalReferenceRelation.initModel(sequelize);
245
- const CanonAlbumGenreRelation = CanonAlbumGenreRelation_1.CanonAlbumGenreRelation.initModel(sequelize);
246
- const CanonAlbumLabelRelation = CanonAlbumLabelRelation_1.CanonAlbumLabelRelation.initModel(sequelize);
247
- const CanonAlbumTrackRelation = CanonAlbumTrackRelation_1.CanonAlbumTrackRelation.initModel(sequelize);
248
- const CanonArtist = CanonArtist_1.CanonArtist.initModel(sequelize);
249
- const CanonArtistAlbumRelation = CanonArtistAlbumRelation_1.CanonArtistAlbumRelation.initModel(sequelize);
250
- const CanonArtistExternalReferenceRelation = CanonArtistExternalReferenceRelation_1.CanonArtistExternalReferenceRelation.initModel(sequelize);
251
- const CanonArtistGenreRelation = CanonArtistGenreRelation_1.CanonArtistGenreRelation.initModel(sequelize);
252
- const CanonArtistMemberRelation = CanonArtistMemberRelation_1.CanonArtistMemberRelation.initModel(sequelize);
253
- const CanonArtistTrackRelation = CanonArtistTrackRelation_1.CanonArtistTrackRelation.initModel(sequelize);
254
- const CanonGenre = CanonGenre_1.CanonGenre.initModel(sequelize);
255
- const CanonGenreExternalReferenceRelation = CanonGenreExternalReferenceRelation_1.CanonGenreExternalReferenceRelation.initModel(sequelize);
256
- const CanonLabel = CanonLabel_1.CanonLabel.initModel(sequelize);
257
- const CanonLabelExternalReferenceRelation = CanonLabelExternalReferenceRelation_1.CanonLabelExternalReferenceRelation.initModel(sequelize);
258
- const CanonMember = CanonMember_1.CanonMember.initModel(sequelize);
259
- const CanonMemberExternalReferenceRelation = CanonMemberExternalReferenceRelation_1.CanonMemberExternalReferenceRelation.initModel(sequelize);
260
- const CanonToPlatformAlbumRelation = CanonToPlatformAlbumRelation_1.CanonToPlatformAlbumRelation.initModel(sequelize);
261
- const CanonToPlatformArtistRelation = CanonToPlatformArtistRelation_1.CanonToPlatformArtistRelation.initModel(sequelize);
262
- const CanonToPlatformGenreRelation = CanonToPlatformGenreRelation_1.CanonToPlatformGenreRelation.initModel(sequelize);
263
- const CanonToPlatformTrackRelation = CanonToPlatformTrackRelation_1.CanonToPlatformTrackRelation.initModel(sequelize);
264
- const CanonTrack = CanonTrack_1.CanonTrack.initModel(sequelize);
265
- const ConfigParam = ConfigParam_1.ConfigParam.initModel(sequelize);
266
- const ExternalReference = ExternalReference_1.ExternalReference.initModel(sequelize);
267
- const FeedConfig = FeedConfig_1.FeedConfig.initModel(sequelize);
268
- const FeedContentType = FeedContentType_1.FeedContentType.initModel(sequelize);
269
- const GuestUser = GuestUser_1.GuestUser.initModel(sequelize);
270
- const JukeboxAccessType = JukeboxAccessType_1.JukeboxAccessType.initModel(sequelize);
271
- const JukeboxCanonGenreRelation = JukeboxCanonGenreRelation_1.JukeboxCanonGenreRelation.initModel(sequelize);
272
- const JukeboxInvite = JukeboxInvite_1.JukeboxInvite.initModel(sequelize);
273
- const JukeboxQueueEntry = JukeboxQueueEntry_1.JukeboxQueueEntry.initModel(sequelize);
274
- const JukeboxQueueMode = JukeboxQueueMode_1.JukeboxQueueMode.initModel(sequelize);
275
- const JukeboxSession = JukeboxSession_1.JukeboxSession.initModel(sequelize);
276
- const JukeboxSessionArtistAffinity = JukeboxSessionArtistAffinity_1.JukeboxSessionArtistAffinity.initModel(sequelize);
277
- const JukeboxSessionGenreAffinity = JukeboxSessionGenreAffinity_1.JukeboxSessionGenreAffinity.initModel(sequelize);
278
- const JukeboxStatus = JukeboxStatus_1.JukeboxStatus.initModel(sequelize);
279
- const JukeboxTerminationCondition = JukeboxTerminationCondition_1.JukeboxTerminationCondition.initModel(sequelize);
280
- const JukeboxType = JukeboxType_1.JukeboxType.initModel(sequelize);
281
- const JukeboxUser = JukeboxUser_1.JukeboxUser.initModel(sequelize);
282
- const JukeboxUserType = JukeboxUserType_1.JukeboxUserType.initModel(sequelize);
283
- const KnexMigrations = KnexMigrations_1.KnexMigrations.initModel(sequelize);
284
- const KnexMigrationsLock = KnexMigrationsLock_1.KnexMigrationsLock.initModel(sequelize);
285
- const MerchItem = MerchItem_1.MerchItem.initModel(sequelize);
286
- const MerchOrchestration = MerchOrchestration_1.MerchOrchestration.initModel(sequelize);
287
- const MerchPlatform = MerchPlatform_1.MerchPlatform.initModel(sequelize);
288
- const MerchType = MerchType_1.MerchType.initModel(sequelize);
289
- const MetricsDaily = MetricsDaily_1.MetricsDaily.initModel(sequelize);
290
- const MetricsEvent = MetricsEvent_1.MetricsEvent.initModel(sequelize);
291
- const NewsArticle = NewsArticle_1.NewsArticle.initModel(sequelize);
292
- const NewsPlatform = NewsPlatform_1.NewsPlatform.initModel(sequelize);
293
- const NewsSite = NewsSite_1.NewsSite.initModel(sequelize);
294
- const Notification = Notification_1.Notification.initModel(sequelize);
295
- const NotificationType = NotificationType_1.NotificationType.initModel(sequelize);
296
- const PauseStatusType = PauseStatusType_1.PauseStatusType.initModel(sequelize);
297
- const Platform = Platform_1.Platform.initModel(sequelize);
298
- const PlatformAlbum = PlatformAlbum_1.PlatformAlbum.initModel(sequelize);
299
- const PlatformAlbumGenreRelation = PlatformAlbumGenreRelation_1.PlatformAlbumGenreRelation.initModel(sequelize);
300
- const PlatformAlbumTrackRelation = PlatformAlbumTrackRelation_1.PlatformAlbumTrackRelation.initModel(sequelize);
301
- const PlatformArtist = PlatformArtist_1.PlatformArtist.initModel(sequelize);
302
- const PlatformArtistAlbumRelation = PlatformArtistAlbumRelation_1.PlatformArtistAlbumRelation.initModel(sequelize);
303
- const PlatformArtistGenreRelation = PlatformArtistGenreRelation_1.PlatformArtistGenreRelation.initModel(sequelize);
304
- const PlatformArtistTrackRelation = PlatformArtistTrackRelation_1.PlatformArtistTrackRelation.initModel(sequelize);
305
- const PlatformGenre = PlatformGenre_1.PlatformGenre.initModel(sequelize);
306
- const PlatformTrack = PlatformTrack_1.PlatformTrack.initModel(sequelize);
307
- const PlatformTrackGenreRelation = PlatformTrackGenreRelation_1.PlatformTrackGenreRelation.initModel(sequelize);
308
- const PlatformUserAlbum = PlatformUserAlbum_1.PlatformUserAlbum.initModel(sequelize);
309
- const PlatformUserAlbumTrack = PlatformUserAlbumTrack_1.PlatformUserAlbumTrack.initModel(sequelize);
310
- const PlatformUserPlaylist = PlatformUserPlaylist_1.PlatformUserPlaylist.initModel(sequelize);
311
- const PlatformUserPlaylistArtistAffinity = PlatformUserPlaylistArtistAffinity_1.PlatformUserPlaylistArtistAffinity.initModel(sequelize);
312
- const PlatformUserPlaylistGenreAffinity = PlatformUserPlaylistGenreAffinity_1.PlatformUserPlaylistGenreAffinity.initModel(sequelize);
313
- const PlatformUserPlaylistTrack = PlatformUserPlaylistTrack_1.PlatformUserPlaylistTrack.initModel(sequelize);
314
- const PlaybackStatus = PlaybackStatus_1.PlaybackStatus.initModel(sequelize);
315
- const PlaybackStatusType = PlaybackStatusType_1.PlaybackStatusType.initModel(sequelize);
316
- const RadioShow = RadioShow_1.RadioShow.initModel(sequelize);
317
- const RadioShowGenres = RadioShowGenres_1.RadioShowGenres.initModel(sequelize);
318
- const RadioShowMedia = RadioShowMedia_1.RadioShowMedia.initModel(sequelize);
319
- const RadioShowPlacement = RadioShowPlacement_1.RadioShowPlacement.initModel(sequelize);
320
- const RadioShowPublishRequests = RadioShowPublishRequests_1.RadioShowPublishRequests.initModel(sequelize);
321
- const State = State_1.State.initModel(sequelize);
322
- const TrackDeletionReason = TrackDeletionReason_1.TrackDeletionReason.initModel(sequelize);
323
- const UnmatchedAlbum = UnmatchedAlbum_1.UnmatchedAlbum.initModel(sequelize);
324
- const UnmatchedArtist = UnmatchedArtist_1.UnmatchedArtist.initModel(sequelize);
325
- const UserAbuseReports = UserAbuseReports_1.UserAbuseReports.initModel(sequelize);
326
- const UserAffinity = UserAffinity_1.UserAffinity.initModel(sequelize);
327
- const UserArtistAffinity = UserArtistAffinity_1.UserArtistAffinity.initModel(sequelize);
328
- const UserBookmarks = UserBookmarks_1.UserBookmarks.initModel(sequelize);
329
- const UserComments = UserComments_1.UserComments.initModel(sequelize);
330
- const UserContacts = UserContacts_1.UserContacts.initModel(sequelize);
331
- const UserEngagementFactor = UserEngagementFactor_1.UserEngagementFactor.initModel(sequelize);
332
- const UserGenreAffinity = UserGenreAffinity_1.UserGenreAffinity.initModel(sequelize);
333
- const UserLikes = UserLikes_1.UserLikes.initModel(sequelize);
334
- const UserMessages = UserMessages_1.UserMessages.initModel(sequelize);
335
- const Versus = Versus_1.Versus.initModel(sequelize);
336
- const VersusAccessType = VersusAccessType_1.VersusAccessType.initModel(sequelize);
337
- const VersusCoCreator = VersusCoCreator_1.VersusCoCreator.initModel(sequelize);
338
- const VersusCreatorScope = VersusCreatorScope_1.VersusCreatorScope.initModel(sequelize);
339
- const VersusEndMode = VersusEndMode_1.VersusEndMode.initModel(sequelize);
340
- const VersusEndTimerDuration = VersusEndTimerDuration_1.VersusEndTimerDuration.initModel(sequelize);
341
- const VersusEndVoteThreshold = VersusEndVoteThreshold_1.VersusEndVoteThreshold.initModel(sequelize);
342
- const VersusEntityKind = VersusEntityKind_1.VersusEntityKind.initModel(sequelize);
343
- const VersusOption = VersusOption_1.VersusOption.initModel(sequelize);
344
- const VersusPublishIssue = VersusPublishIssue_1.VersusPublishIssue.initModel(sequelize);
345
- const VersusQuestion = VersusQuestion_1.VersusQuestion.initModel(sequelize);
346
- const VersusQuestionVariableType = VersusQuestionVariableType_1.VersusQuestionVariableType.initModel(sequelize);
347
- const VersusVote = VersusVote_1.VersusVote.initModel(sequelize);
348
- const VersusVotingListType = VersusVotingListType_1.VersusVotingListType.initModel(sequelize);
349
- const VersusVotingMode = VersusVotingMode_1.VersusVotingMode.initModel(sequelize);
350
- CanonAlbum.belongsToMany(CanonTrack, { as: 'canonTrackIdCanonTracks', through: CanonAlbumTrackRelation, foreignKey: "canonAlbumId", otherKey: "canonTrackId" });
351
- CanonAlbum.belongsToMany(ExternalReference, { as: 'externalReferenceIdExternalReferences', through: CanonAlbumExternalReferenceRelation, foreignKey: "canonAlbumId", otherKey: "externalReferenceId" });
352
- CanonAlbum.belongsToMany(PlatformAlbum, { as: 'platformAlbumIdPlatformAlbums', through: CanonToPlatformAlbumRelation, foreignKey: "canonAlbumId", otherKey: "platformAlbumId" });
353
- CanonArtist.belongsToMany(CanonTrack, { as: 'canonTrackIdCanonTrackCanonArtistTrackRelations', through: CanonArtistTrackRelation, foreignKey: "canonArtistId", otherKey: "canonTrackId" });
354
- CanonArtist.belongsToMany(PlatformAlbum, { as: 'canonAlbumIdPlatformAlbumCanonArtistAlbumRelations', through: CanonArtistAlbumRelation, foreignKey: "canonArtistId", otherKey: "canonAlbumId" });
355
- CanonArtist.belongsToMany(PlatformArtist, { as: 'platformArtistIdPlatformArtists', through: CanonToPlatformArtistRelation, foreignKey: "canonArtistId", otherKey: "platformArtistId" });
356
- CanonGenre.belongsToMany(ExternalReference, { as: 'externalReferenceIdExternalReferenceCanonGenreExternalReferenceRelations', through: CanonGenreExternalReferenceRelation, foreignKey: "canonGenreId", otherKey: "externalReferenceId" });
357
- CanonGenre.belongsToMany(PlatformAlbum, { as: 'canonAlbumIdPlatformAlbums', through: CanonAlbumGenreRelation, foreignKey: "canonGenreId", otherKey: "canonAlbumId" });
358
- CanonGenre.belongsToMany(PlatformArtist, { as: 'canonArtistIdPlatformArtistCanonArtistGenreRelations', through: CanonArtistGenreRelation, foreignKey: "canonGenreId", otherKey: "canonArtistId" });
359
- CanonGenre.belongsToMany(PlatformGenre, { as: 'platformGenreIdPlatformGenres', through: CanonToPlatformGenreRelation, foreignKey: "canonGenreId", otherKey: "platformGenreId" });
360
- CanonLabel.belongsToMany(ExternalReference, { as: 'externalReferenceIdExternalReferenceCanonLabelExternalReferenceRelations', through: CanonLabelExternalReferenceRelation, foreignKey: "canonLabelId", otherKey: "externalReferenceId" });
361
- CanonLabel.belongsToMany(PlatformAlbum, { as: 'canonAlbumIdPlatformAlbumCanonAlbumLabelRelations', through: CanonAlbumLabelRelation, foreignKey: "canonLabelId", otherKey: "canonAlbumId" });
362
- CanonMember.belongsToMany(ExternalReference, { as: 'externalReferenceIdExternalReferenceCanonMemberExternalReferenceRelations', through: CanonMemberExternalReferenceRelation, foreignKey: "canonMemberId", otherKey: "externalReferenceId" });
363
- CanonMember.belongsToMany(PlatformArtist, { as: 'canonArtistIdPlatformArtistCanonArtistMemberRelations', through: CanonArtistMemberRelation, foreignKey: "canonMemberId", otherKey: "canonArtistId" });
364
- CanonTrack.belongsToMany(CanonAlbum, { as: 'canonAlbumIdCanonAlbumCanonAlbumTrackRelations', through: CanonAlbumTrackRelation, foreignKey: "canonTrackId", otherKey: "canonAlbumId" });
365
- CanonTrack.belongsToMany(CanonArtist, { as: 'canonArtistIdCanonArtistCanonArtistTrackRelations', through: CanonArtistTrackRelation, foreignKey: "canonTrackId", otherKey: "canonArtistId" });
366
- CanonTrack.belongsToMany(PlatformTrack, { as: 'platformTrackIdPlatformTracks', through: CanonToPlatformTrackRelation, foreignKey: "canonTrackId", otherKey: "platformTrackId" });
367
- ExternalReference.belongsToMany(CanonAlbum, { as: 'canonAlbumIdCanonAlbums', through: CanonAlbumExternalReferenceRelation, foreignKey: "externalReferenceId", otherKey: "canonAlbumId" });
368
- ExternalReference.belongsToMany(CanonGenre, { as: 'canonGenreIdCanonGenreCanonGenreExternalReferenceRelations', through: CanonGenreExternalReferenceRelation, foreignKey: "externalReferenceId", otherKey: "canonGenreId" });
369
- ExternalReference.belongsToMany(CanonLabel, { as: 'canonLabelIdCanonLabelCanonLabelExternalReferenceRelations', through: CanonLabelExternalReferenceRelation, foreignKey: "externalReferenceId", otherKey: "canonLabelId" });
370
- ExternalReference.belongsToMany(CanonMember, { as: 'canonMemberIdCanonMemberCanonMemberExternalReferenceRelations', through: CanonMemberExternalReferenceRelation, foreignKey: "externalReferenceId", otherKey: "canonMemberId" });
371
- ExternalReference.belongsToMany(PlatformArtist, { as: 'canonArtistIdPlatformArtists', through: CanonArtistExternalReferenceRelation, foreignKey: "externalReferenceId", otherKey: "canonArtistId" });
372
- PlatformAlbum.belongsToMany(CanonAlbum, { as: 'canonAlbumIdCanonAlbumCanonToPlatformAlbumRelations', through: CanonToPlatformAlbumRelation, foreignKey: "platformAlbumId", otherKey: "canonAlbumId" });
373
- PlatformAlbum.belongsToMany(CanonArtist, { as: 'canonArtistIdCanonArtists', through: CanonArtistAlbumRelation, foreignKey: "canonAlbumId", otherKey: "canonArtistId" });
374
- PlatformAlbum.belongsToMany(CanonGenre, { as: 'canonGenreIdCanonGenres', through: CanonAlbumGenreRelation, foreignKey: "canonAlbumId", otherKey: "canonGenreId" });
375
- PlatformAlbum.belongsToMany(CanonLabel, { as: 'canonLabelIdCanonLabels', through: CanonAlbumLabelRelation, foreignKey: "canonAlbumId", otherKey: "canonLabelId" });
376
- PlatformAlbum.belongsToMany(PlatformArtist, { as: 'platformArtistIdPlatformArtistPlatformArtistAlbumRelations', through: PlatformArtistAlbumRelation, foreignKey: "platformAlbumId", otherKey: "platformArtistId" });
377
- PlatformAlbum.belongsToMany(PlatformGenre, { as: 'platformGenreIdPlatformGenrePlatformAlbumGenreRelations', through: PlatformAlbumGenreRelation, foreignKey: "platformAlbumId", otherKey: "platformGenreId" });
378
- PlatformAlbum.belongsToMany(PlatformTrack, { as: 'platformTrackIdPlatformTrackPlatformAlbumTrackRelations', through: PlatformAlbumTrackRelation, foreignKey: "platformAlbumId", otherKey: "platformTrackId" });
379
- PlatformArtist.belongsToMany(CanonArtist, { as: 'canonArtistIdCanonArtistCanonToPlatformArtistRelations', through: CanonToPlatformArtistRelation, foreignKey: "platformArtistId", otherKey: "canonArtistId" });
380
- PlatformArtist.belongsToMany(CanonGenre, { as: 'canonGenreIdCanonGenreCanonArtistGenreRelations', through: CanonArtistGenreRelation, foreignKey: "canonArtistId", otherKey: "canonGenreId" });
381
- PlatformArtist.belongsToMany(CanonMember, { as: 'canonMemberIdCanonMembers', through: CanonArtistMemberRelation, foreignKey: "canonArtistId", otherKey: "canonMemberId" });
382
- PlatformArtist.belongsToMany(ExternalReference, { as: 'externalReferenceIdExternalReferenceCanonArtistExternalReferenceRelations', through: CanonArtistExternalReferenceRelation, foreignKey: "canonArtistId", otherKey: "externalReferenceId" });
383
- PlatformArtist.belongsToMany(PlatformAlbum, { as: 'platformAlbumIdPlatformAlbumPlatformArtistAlbumRelations', through: PlatformArtistAlbumRelation, foreignKey: "platformArtistId", otherKey: "platformAlbumId" });
384
- PlatformArtist.belongsToMany(PlatformGenre, { as: 'platformGenreIdPlatformGenrePlatformArtistGenreRelations', through: PlatformArtistGenreRelation, foreignKey: "platformArtistId", otherKey: "platformGenreId" });
385
- PlatformArtist.belongsToMany(PlatformTrack, { as: 'platformTrackIdPlatformTrackPlatformArtistTrackRelations', through: PlatformArtistTrackRelation, foreignKey: "platformArtistId", otherKey: "platformTrackId" });
386
- PlatformGenre.belongsToMany(CanonGenre, { as: 'canonGenreIdCanonGenreCanonToPlatformGenreRelations', through: CanonToPlatformGenreRelation, foreignKey: "platformGenreId", otherKey: "canonGenreId" });
387
- PlatformGenre.belongsToMany(PlatformAlbum, { as: 'platformAlbumIdPlatformAlbumPlatformAlbumGenreRelations', through: PlatformAlbumGenreRelation, foreignKey: "platformGenreId", otherKey: "platformAlbumId" });
388
- PlatformGenre.belongsToMany(PlatformArtist, { as: 'platformArtistIdPlatformArtistPlatformArtistGenreRelations', through: PlatformArtistGenreRelation, foreignKey: "platformGenreId", otherKey: "platformArtistId" });
389
- PlatformGenre.belongsToMany(PlatformTrack, { as: 'platformTrackIdPlatformTrackPlatformTrackGenreRelations', through: PlatformTrackGenreRelation, foreignKey: "platformGenreId", otherKey: "platformTrackId" });
390
- PlatformTrack.belongsToMany(CanonTrack, { as: 'canonTrackIdCanonTrackCanonToPlatformTrackRelations', through: CanonToPlatformTrackRelation, foreignKey: "platformTrackId", otherKey: "canonTrackId" });
391
- PlatformTrack.belongsToMany(PlatformAlbum, { as: 'platformAlbumIdPlatformAlbumPlatformAlbumTrackRelations', through: PlatformAlbumTrackRelation, foreignKey: "platformTrackId", otherKey: "platformAlbumId" });
392
- PlatformTrack.belongsToMany(PlatformArtist, { as: 'platformArtistIdPlatformArtistPlatformArtistTrackRelations', through: PlatformArtistTrackRelation, foreignKey: "platformTrackId", otherKey: "platformArtistId" });
393
- PlatformTrack.belongsToMany(PlatformGenre, { as: 'platformGenreIdPlatformGenrePlatformTrackGenreRelations', through: PlatformTrackGenreRelation, foreignKey: "platformTrackId", otherKey: "platformGenreId" });
394
- UserAffinity.belongsTo(AffinityRelationshipType, { as: "affinityRelationshipType", foreignKey: "affinityRelationshipTypeId" });
395
- AffinityRelationshipType.hasMany(UserAffinity, { as: "userAffinities", foreignKey: "affinityRelationshipTypeId" });
396
- JukeboxSessionArtistAffinity.belongsTo(AffinityTier, { as: "affinityTier", foreignKey: "affinityTierId" });
397
- AffinityTier.hasMany(JukeboxSessionArtistAffinity, { as: "jukeboxSessionArtistAffinities", foreignKey: "affinityTierId" });
398
- JukeboxSessionGenreAffinity.belongsTo(AffinityTier, { as: "affinityTier", foreignKey: "affinityTierId" });
399
- AffinityTier.hasMany(JukeboxSessionGenreAffinity, { as: "jukeboxSessionGenreAffinities", foreignKey: "affinityTierId" });
400
- PlatformUserPlaylistArtistAffinity.belongsTo(AffinityTier, { as: "affinityTier", foreignKey: "affinityTierId" });
401
- AffinityTier.hasMany(PlatformUserPlaylistArtistAffinity, { as: "platformUserPlaylistArtistAffinities", foreignKey: "affinityTierId" });
402
- PlatformUserPlaylistGenreAffinity.belongsTo(AffinityTier, { as: "affinityTier", foreignKey: "affinityTierId" });
403
- AffinityTier.hasMany(PlatformUserPlaylistGenreAffinity, { as: "platformUserPlaylistGenreAffinities", foreignKey: "affinityTierId" });
404
- UserArtistAffinity.belongsTo(AffinityTier, { as: "affinityTier", foreignKey: "affinityTierId" });
405
- AffinityTier.hasMany(UserArtistAffinity, { as: "userArtistAffinities", foreignKey: "affinityTierId" });
406
- UserGenreAffinity.belongsTo(AffinityTier, { as: "affinityTier", foreignKey: "affinityTierId" });
407
- AffinityTier.hasMany(UserGenreAffinity, { as: "userGenreAffinities", foreignKey: "affinityTierId" });
408
- AppUserDevice.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
409
- AppUser.hasMany(AppUserDevice, { as: "appUserDevices", foreignKey: "appUserId" });
410
- AppUserFollowRelation.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
411
- AppUser.hasMany(AppUserFollowRelation, { as: "appUserFollowRelations", foreignKey: "appUserId" });
412
- AppUserFollowRelation.belongsTo(AppUser, { as: "followingAppUser", foreignKey: "followingAppUserId" });
413
- AppUser.hasMany(AppUserFollowRelation, { as: "followingAppUserAppUserFollowRelations", foreignKey: "followingAppUserId" });
414
- AppUserPlatformRelation.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
415
- AppUser.hasOne(AppUserPlatformRelation, { as: "appUserPlatformRelation", foreignKey: "appUserId" });
416
- JukeboxInvite.belongsTo(AppUser, { as: "invitedUser", foreignKey: "invitedUserId" });
417
- AppUser.hasMany(JukeboxInvite, { as: "jukeboxInvites", foreignKey: "invitedUserId" });
418
- JukeboxInvite.belongsTo(AppUser, { as: "inviterUser", foreignKey: "inviterUserId" });
419
- AppUser.hasMany(JukeboxInvite, { as: "inviterUserJukeboxInvites", foreignKey: "inviterUserId" });
420
- JukeboxQueueEntry.belongsTo(AppUser, { as: "trackAddedUser", foreignKey: "trackAddedUserId" });
421
- AppUser.hasMany(JukeboxQueueEntry, { as: "jukeboxQueueEntries", foreignKey: "trackAddedUserId" });
422
- JukeboxUser.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
423
- AppUser.hasMany(JukeboxUser, { as: "jukeboxUsers", foreignKey: "appUserId" });
424
- Notification.belongsTo(AppUser, { as: "sourceUser", foreignKey: "sourceUserId" });
425
- AppUser.hasMany(Notification, { as: "notifications", foreignKey: "sourceUserId" });
426
- Notification.belongsTo(AppUser, { as: "targetUser", foreignKey: "targetUserId" });
427
- AppUser.hasMany(Notification, { as: "targetUserNotifications", foreignKey: "targetUserId" });
428
- PlatformUserAlbum.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
429
- AppUser.hasMany(PlatformUserAlbum, { as: "platformUserAlbums", foreignKey: "appUserId" });
430
- PlatformUserPlaylist.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
431
- AppUser.hasMany(PlatformUserPlaylist, { as: "platformUserPlaylists", foreignKey: "appUserId" });
432
- RadioShow.belongsTo(AppUser, { as: "creatorUser", foreignKey: "creatorUserId" });
433
- AppUser.hasMany(RadioShow, { as: "radioShows", foreignKey: "creatorUserId" });
434
- UserAbuseReports.belongsTo(AppUser, { as: "reporterUser", foreignKey: "reporterUserId" });
435
- AppUser.hasMany(UserAbuseReports, { as: "userAbuseReports", foreignKey: "reporterUserId" });
436
- UserAffinity.belongsTo(AppUser, { as: "user", foreignKey: "userId" });
437
- AppUser.hasMany(UserAffinity, { as: "userAffinities", foreignKey: "userId" });
438
- UserArtistAffinity.belongsTo(AppUser, { as: "user", foreignKey: "userId" });
439
- AppUser.hasMany(UserArtistAffinity, { as: "userArtistAffinities", foreignKey: "userId" });
440
- UserBookmarks.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
441
- AppUser.hasMany(UserBookmarks, { as: "userBookmarks", foreignKey: "appUserId" });
442
- UserComments.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
443
- AppUser.hasMany(UserComments, { as: "userComments", foreignKey: "appUserId" });
444
- UserContacts.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
445
- AppUser.hasMany(UserContacts, { as: "userContacts", foreignKey: "appUserId" });
446
- UserEngagementFactor.belongsTo(AppUser, { as: "user", foreignKey: "userId" });
447
- AppUser.hasMany(UserEngagementFactor, { as: "userEngagementFactors", foreignKey: "userId" });
448
- UserGenreAffinity.belongsTo(AppUser, { as: "user", foreignKey: "userId" });
449
- AppUser.hasMany(UserGenreAffinity, { as: "userGenreAffinities", foreignKey: "userId" });
450
- UserLikes.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
451
- AppUser.hasMany(UserLikes, { as: "userLikes", foreignKey: "appUserId" });
452
- UserMessages.belongsTo(AppUser, { as: "recipient", foreignKey: "recipientId" });
453
- AppUser.hasMany(UserMessages, { as: "userMessages", foreignKey: "recipientId" });
454
- UserMessages.belongsTo(AppUser, { as: "sender", foreignKey: "senderId" });
455
- AppUser.hasMany(UserMessages, { as: "senderUserMessages", foreignKey: "senderId" });
456
- Versus.belongsTo(AppUser, { as: "creatorUser", foreignKey: "creatorUserId" });
457
- AppUser.hasMany(Versus, { as: "versus", foreignKey: "creatorUserId" });
458
- VersusCoCreator.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
459
- AppUser.hasMany(VersusCoCreator, { as: "versusCoCreators", foreignKey: "appUserId" });
460
- VersusOption.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
461
- AppUser.hasMany(VersusOption, { as: "versusOptions", foreignKey: "appUserId" });
462
- VersusVote.belongsTo(AppUser, { as: "appUser", foreignKey: "appUserId" });
463
- AppUser.hasMany(VersusVote, { as: "versusVotes", foreignKey: "appUserId" });
464
- CanonAlbumExternalReferenceRelation.belongsTo(CanonAlbum, { as: "canonAlbum", foreignKey: "canonAlbumId" });
465
- CanonAlbum.hasMany(CanonAlbumExternalReferenceRelation, { as: "canonAlbumExternalReferenceRelations", foreignKey: "canonAlbumId" });
466
- CanonAlbumTrackRelation.belongsTo(CanonAlbum, { as: "canonAlbum", foreignKey: "canonAlbumId" });
467
- CanonAlbum.hasMany(CanonAlbumTrackRelation, { as: "canonAlbumTrackRelations", foreignKey: "canonAlbumId" });
468
- CanonToPlatformAlbumRelation.belongsTo(CanonAlbum, { as: "canonAlbum", foreignKey: "canonAlbumId" });
469
- CanonAlbum.hasMany(CanonToPlatformAlbumRelation, { as: "canonToPlatformAlbumRelations", foreignKey: "canonAlbumId" });
470
- Versus.belongsTo(CanonAlbum, { as: "canonAlbum", foreignKey: "canonAlbumId" });
471
- CanonAlbum.hasMany(Versus, { as: "versus", foreignKey: "canonAlbumId" });
472
- VersusOption.belongsTo(CanonAlbum, { as: "canonAlbum", foreignKey: "canonAlbumId" });
473
- CanonAlbum.hasMany(VersusOption, { as: "versusOptions", foreignKey: "canonAlbumId" });
474
- CanonArtistAlbumRelation.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
475
- CanonArtist.hasMany(CanonArtistAlbumRelation, { as: "canonArtistAlbumRelations", foreignKey: "canonArtistId" });
476
- CanonArtistTrackRelation.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
477
- CanonArtist.hasMany(CanonArtistTrackRelation, { as: "canonArtistTrackRelations", foreignKey: "canonArtistId" });
478
- CanonToPlatformArtistRelation.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
479
- CanonArtist.hasMany(CanonToPlatformArtistRelation, { as: "canonToPlatformArtistRelations", foreignKey: "canonArtistId" });
480
- JukeboxSessionArtistAffinity.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
481
- CanonArtist.hasMany(JukeboxSessionArtistAffinity, { as: "jukeboxSessionArtistAffinities", foreignKey: "canonArtistId" });
482
- MerchItem.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
483
- CanonArtist.hasMany(MerchItem, { as: "merchItems", foreignKey: "canonArtistId" });
484
- MerchOrchestration.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
485
- CanonArtist.hasMany(MerchOrchestration, { as: "merchOrchestrations", foreignKey: "canonArtistId" });
486
- NewsArticle.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
487
- CanonArtist.hasMany(NewsArticle, { as: "newsArticles", foreignKey: "canonArtistId" });
488
- PlatformUserPlaylistArtistAffinity.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
489
- CanonArtist.hasMany(PlatformUserPlaylistArtistAffinity, { as: "platformUserPlaylistArtistAffinities", foreignKey: "canonArtistId" });
490
- UserArtistAffinity.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
491
- CanonArtist.hasMany(UserArtistAffinity, { as: "userArtistAffinities", foreignKey: "canonArtistId" });
492
- Versus.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
493
- CanonArtist.hasMany(Versus, { as: "versus", foreignKey: "canonArtistId" });
494
- VersusOption.belongsTo(CanonArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
495
- CanonArtist.hasMany(VersusOption, { as: "versusOptions", foreignKey: "canonArtistId" });
496
- CanonAlbumGenreRelation.belongsTo(CanonGenre, { as: "canonGenre", foreignKey: "canonGenreId" });
497
- CanonGenre.hasMany(CanonAlbumGenreRelation, { as: "canonAlbumGenreRelations", foreignKey: "canonGenreId" });
498
- CanonArtistGenreRelation.belongsTo(CanonGenre, { as: "canonGenre", foreignKey: "canonGenreId" });
499
- CanonGenre.hasMany(CanonArtistGenreRelation, { as: "canonArtistGenreRelations", foreignKey: "canonGenreId" });
500
- CanonGenreExternalReferenceRelation.belongsTo(CanonGenre, { as: "canonGenre", foreignKey: "canonGenreId" });
501
- CanonGenre.hasMany(CanonGenreExternalReferenceRelation, { as: "canonGenreExternalReferenceRelations", foreignKey: "canonGenreId" });
502
- CanonToPlatformGenreRelation.belongsTo(CanonGenre, { as: "canonGenre", foreignKey: "canonGenreId" });
503
- CanonGenre.hasMany(CanonToPlatformGenreRelation, { as: "canonToPlatformGenreRelations", foreignKey: "canonGenreId" });
504
- JukeboxCanonGenreRelation.belongsTo(CanonGenre, { as: "canonGenre", foreignKey: "canonGenreId" });
505
- CanonGenre.hasMany(JukeboxCanonGenreRelation, { as: "jukeboxCanonGenreRelations", foreignKey: "canonGenreId" });
506
- JukeboxSessionGenreAffinity.belongsTo(CanonGenre, { as: "canonGenre", foreignKey: "canonGenreId" });
507
- CanonGenre.hasMany(JukeboxSessionGenreAffinity, { as: "jukeboxSessionGenreAffinities", foreignKey: "canonGenreId" });
508
- PlatformUserPlaylistGenreAffinity.belongsTo(CanonGenre, { as: "canonGenre", foreignKey: "canonGenreId" });
509
- CanonGenre.hasMany(PlatformUserPlaylistGenreAffinity, { as: "platformUserPlaylistGenreAffinities", foreignKey: "canonGenreId" });
510
- RadioShowGenres.belongsTo(CanonGenre, { as: "canonGenre", foreignKey: "canonGenreId" });
511
- CanonGenre.hasMany(RadioShowGenres, { as: "radioShowGenres", foreignKey: "canonGenreId" });
512
- UserGenreAffinity.belongsTo(CanonGenre, { as: "canonGenre", foreignKey: "canonGenreId" });
513
- CanonGenre.hasMany(UserGenreAffinity, { as: "userGenreAffinities", foreignKey: "canonGenreId" });
514
- Versus.belongsTo(CanonGenre, { as: "canonGenre", foreignKey: "canonGenreId" });
515
- CanonGenre.hasMany(Versus, { as: "versus", foreignKey: "canonGenreId" });
516
- CanonAlbumLabelRelation.belongsTo(CanonLabel, { as: "canonLabel", foreignKey: "canonLabelId" });
517
- CanonLabel.hasMany(CanonAlbumLabelRelation, { as: "canonAlbumLabelRelations", foreignKey: "canonLabelId" });
518
- CanonLabelExternalReferenceRelation.belongsTo(CanonLabel, { as: "canonLabel", foreignKey: "canonLabelId" });
519
- CanonLabel.hasMany(CanonLabelExternalReferenceRelation, { as: "canonLabelExternalReferenceRelations", foreignKey: "canonLabelId" });
520
- CanonArtistMemberRelation.belongsTo(CanonMember, { as: "canonMember", foreignKey: "canonMemberId" });
521
- CanonMember.hasMany(CanonArtistMemberRelation, { as: "canonArtistMemberRelations", foreignKey: "canonMemberId" });
522
- CanonMemberExternalReferenceRelation.belongsTo(CanonMember, { as: "canonMember", foreignKey: "canonMemberId" });
523
- CanonMember.hasMany(CanonMemberExternalReferenceRelation, { as: "canonMemberExternalReferenceRelations", foreignKey: "canonMemberId" });
524
- CanonAlbumTrackRelation.belongsTo(CanonTrack, { as: "canonTrack", foreignKey: "canonTrackId" });
525
- CanonTrack.hasMany(CanonAlbumTrackRelation, { as: "canonAlbumTrackRelations", foreignKey: "canonTrackId" });
526
- CanonArtistTrackRelation.belongsTo(CanonTrack, { as: "canonTrack", foreignKey: "canonTrackId" });
527
- CanonTrack.hasMany(CanonArtistTrackRelation, { as: "canonArtistTrackRelations", foreignKey: "canonTrackId" });
528
- CanonToPlatformTrackRelation.belongsTo(CanonTrack, { as: "canonTrack", foreignKey: "canonTrackId" });
529
- CanonTrack.hasMany(CanonToPlatformTrackRelation, { as: "canonToPlatformTrackRelations", foreignKey: "canonTrackId" });
530
- JukeboxQueueEntry.belongsTo(CanonTrack, { as: "track", foreignKey: "trackId" });
531
- CanonTrack.hasMany(JukeboxQueueEntry, { as: "jukeboxQueueEntries", foreignKey: "trackId" });
532
- RadioShowPlacement.belongsTo(CanonTrack, { as: "canonTrack", foreignKey: "canonTrackId" });
533
- CanonTrack.hasMany(RadioShowPlacement, { as: "radioShowPlacements", foreignKey: "canonTrackId" });
534
- Versus.belongsTo(CanonTrack, { as: "canonTrack", foreignKey: "canonTrackId" });
535
- CanonTrack.hasMany(Versus, { as: "versus", foreignKey: "canonTrackId" });
536
- VersusOption.belongsTo(CanonTrack, { as: "canonTrack", foreignKey: "canonTrackId" });
537
- CanonTrack.hasMany(VersusOption, { as: "versusOptions", foreignKey: "canonTrackId" });
538
- CanonAlbumExternalReferenceRelation.belongsTo(ExternalReference, { as: "externalReference", foreignKey: "externalReferenceId" });
539
- ExternalReference.hasMany(CanonAlbumExternalReferenceRelation, { as: "canonAlbumExternalReferenceRelations", foreignKey: "externalReferenceId" });
540
- CanonArtistExternalReferenceRelation.belongsTo(ExternalReference, { as: "externalReference", foreignKey: "externalReferenceId" });
541
- ExternalReference.hasMany(CanonArtistExternalReferenceRelation, { as: "canonArtistExternalReferenceRelations", foreignKey: "externalReferenceId" });
542
- CanonGenreExternalReferenceRelation.belongsTo(ExternalReference, { as: "externalReference", foreignKey: "externalReferenceId" });
543
- ExternalReference.hasMany(CanonGenreExternalReferenceRelation, { as: "canonGenreExternalReferenceRelations", foreignKey: "externalReferenceId" });
544
- CanonLabelExternalReferenceRelation.belongsTo(ExternalReference, { as: "externalReference", foreignKey: "externalReferenceId" });
545
- ExternalReference.hasMany(CanonLabelExternalReferenceRelation, { as: "canonLabelExternalReferenceRelations", foreignKey: "externalReferenceId" });
546
- CanonMemberExternalReferenceRelation.belongsTo(ExternalReference, { as: "externalReference", foreignKey: "externalReferenceId" });
547
- ExternalReference.hasMany(CanonMemberExternalReferenceRelation, { as: "canonMemberExternalReferenceRelations", foreignKey: "externalReferenceId" });
548
- UserEngagementFactor.belongsTo(FeedContentType, { as: "contentType", foreignKey: "contentTypeId" });
549
- FeedContentType.hasMany(UserEngagementFactor, { as: "userEngagementFactors", foreignKey: "contentTypeId" });
550
- JukeboxQueueEntry.belongsTo(GuestUser, { as: "trackAddedGuestUser", foreignKey: "trackAddedGuestUserId" });
551
- GuestUser.hasMany(JukeboxQueueEntry, { as: "jukeboxQueueEntries", foreignKey: "trackAddedGuestUserId" });
552
- JukeboxSession.belongsTo(JukeboxAccessType, { as: "accessType", foreignKey: "accessTypeId" });
553
- JukeboxAccessType.hasMany(JukeboxSession, { as: "jukeboxSessions", foreignKey: "accessTypeId" });
554
- JukeboxUser.belongsTo(JukeboxQueueEntry, { as: "pausedQueueEntry", foreignKey: "pausedQueueEntryId" });
555
- JukeboxQueueEntry.hasMany(JukeboxUser, { as: "jukeboxUsers", foreignKey: "pausedQueueEntryId" });
556
- JukeboxSession.belongsTo(JukeboxQueueMode, { as: "jukeboxQueueMode", foreignKey: "jukeboxQueueModeId" });
557
- JukeboxQueueMode.hasMany(JukeboxSession, { as: "jukeboxSessions", foreignKey: "jukeboxQueueModeId" });
558
- GuestUser.belongsTo(JukeboxSession, { as: "jukeboxSession", foreignKey: "jukeboxSessionId" });
559
- JukeboxSession.hasMany(GuestUser, { as: "guestUsers", foreignKey: "jukeboxSessionId" });
560
- JukeboxCanonGenreRelation.belongsTo(JukeboxSession, { as: "jukeboxSession", foreignKey: "jukeboxSessionId" });
561
- JukeboxSession.hasMany(JukeboxCanonGenreRelation, { as: "jukeboxCanonGenreRelations", foreignKey: "jukeboxSessionId" });
562
- JukeboxInvite.belongsTo(JukeboxSession, { as: "jukeboxSession", foreignKey: "jukeboxSessionId" });
563
- JukeboxSession.hasMany(JukeboxInvite, { as: "jukeboxInvites", foreignKey: "jukeboxSessionId" });
564
- JukeboxQueueEntry.belongsTo(JukeboxSession, { as: "jukeboxSession", foreignKey: "jukeboxSessionId" });
565
- JukeboxSession.hasMany(JukeboxQueueEntry, { as: "jukeboxQueueEntries", foreignKey: "jukeboxSessionId" });
566
- JukeboxSessionArtistAffinity.belongsTo(JukeboxSession, { as: "jukeboxSession", foreignKey: "jukeboxSessionId" });
567
- JukeboxSession.hasMany(JukeboxSessionArtistAffinity, { as: "jukeboxSessionArtistAffinities", foreignKey: "jukeboxSessionId" });
568
- JukeboxSessionGenreAffinity.belongsTo(JukeboxSession, { as: "jukeboxSession", foreignKey: "jukeboxSessionId" });
569
- JukeboxSession.hasMany(JukeboxSessionGenreAffinity, { as: "jukeboxSessionGenreAffinities", foreignKey: "jukeboxSessionId" });
570
- JukeboxUser.belongsTo(JukeboxSession, { as: "jukeboxSession", foreignKey: "jukeboxSessionId" });
571
- JukeboxSession.hasMany(JukeboxUser, { as: "jukeboxUsers", foreignKey: "jukeboxSessionId" });
572
- Notification.belongsTo(JukeboxSession, { as: "jukeboxSession", foreignKey: "jukeboxSessionId" });
573
- JukeboxSession.hasMany(Notification, { as: "notifications", foreignKey: "jukeboxSessionId" });
574
- UserAbuseReports.belongsTo(JukeboxSession, { as: "jukebox", foreignKey: "jukeboxId" });
575
- JukeboxSession.hasMany(UserAbuseReports, { as: "userAbuseReports", foreignKey: "jukeboxId" });
576
- UserBookmarks.belongsTo(JukeboxSession, { as: "jukebox", foreignKey: "jukeboxId" });
577
- JukeboxSession.hasMany(UserBookmarks, { as: "userBookmarks", foreignKey: "jukeboxId" });
578
- UserComments.belongsTo(JukeboxSession, { as: "jukebox", foreignKey: "jukeboxId" });
579
- JukeboxSession.hasMany(UserComments, { as: "userComments", foreignKey: "jukeboxId" });
580
- UserLikes.belongsTo(JukeboxSession, { as: "jukebox", foreignKey: "jukeboxId" });
581
- JukeboxSession.hasMany(UserLikes, { as: "userLikes", foreignKey: "jukeboxId" });
582
- JukeboxSession.belongsTo(JukeboxStatus, { as: "jukeboxStatus", foreignKey: "jukeboxStatusId" });
583
- JukeboxStatus.hasMany(JukeboxSession, { as: "jukeboxSessions", foreignKey: "jukeboxStatusId" });
584
- JukeboxSession.belongsTo(JukeboxTerminationCondition, { as: "terminationCondition", foreignKey: "terminationConditionId" });
585
- JukeboxTerminationCondition.hasMany(JukeboxSession, { as: "jukeboxSessions", foreignKey: "terminationConditionId" });
586
- JukeboxSession.belongsTo(JukeboxType, { as: "type", foreignKey: "typeId" });
587
- JukeboxType.hasMany(JukeboxSession, { as: "jukeboxSessions", foreignKey: "typeId" });
588
- JukeboxUser.belongsTo(JukeboxUserType, { as: "jukeboxUserType", foreignKey: "jukeboxUserTypeId" });
589
- JukeboxUserType.hasMany(JukeboxUser, { as: "jukeboxUsers", foreignKey: "jukeboxUserTypeId" });
590
- UserBookmarks.belongsTo(MerchItem, { as: "merchItem", foreignKey: "merchItemId" });
591
- MerchItem.hasMany(UserBookmarks, { as: "userBookmarks", foreignKey: "merchItemId" });
592
- UserComments.belongsTo(MerchItem, { as: "merchItem", foreignKey: "merchItemId" });
593
- MerchItem.hasMany(UserComments, { as: "userComments", foreignKey: "merchItemId" });
594
- UserLikes.belongsTo(MerchItem, { as: "merchItem", foreignKey: "merchItemId" });
595
- MerchItem.hasMany(UserLikes, { as: "userLikes", foreignKey: "merchItemId" });
596
- MerchItem.belongsTo(MerchPlatform, { as: "merchPlatform", foreignKey: "merchPlatformId" });
597
- MerchPlatform.hasMany(MerchItem, { as: "merchItems", foreignKey: "merchPlatformId" });
598
- MerchOrchestration.belongsTo(MerchPlatform, { as: "merchPlatform", foreignKey: "merchPlatformId" });
599
- MerchPlatform.hasMany(MerchOrchestration, { as: "merchOrchestrations", foreignKey: "merchPlatformId" });
600
- MerchItem.belongsTo(MerchType, { as: "merchType", foreignKey: "merchTypeId" });
601
- MerchType.hasMany(MerchItem, { as: "merchItems", foreignKey: "merchTypeId" });
602
- MerchOrchestration.belongsTo(MerchType, { as: "merchType", foreignKey: "merchTypeId" });
603
- MerchType.hasMany(MerchOrchestration, { as: "merchOrchestrations", foreignKey: "merchTypeId" });
604
- UserBookmarks.belongsTo(NewsArticle, { as: "newsArticle", foreignKey: "newsArticleId" });
605
- NewsArticle.hasMany(UserBookmarks, { as: "userBookmarks", foreignKey: "newsArticleId" });
606
- UserComments.belongsTo(NewsArticle, { as: "newsArticle", foreignKey: "newsArticleId" });
607
- NewsArticle.hasMany(UserComments, { as: "userComments", foreignKey: "newsArticleId" });
608
- UserLikes.belongsTo(NewsArticle, { as: "newsArticle", foreignKey: "newsArticleId" });
609
- NewsArticle.hasMany(UserLikes, { as: "userLikes", foreignKey: "newsArticleId" });
610
- NewsArticle.belongsTo(NewsPlatform, { as: "newsPlatform", foreignKey: "newsPlatformId" });
611
- NewsPlatform.hasMany(NewsArticle, { as: "newsArticles", foreignKey: "newsPlatformId" });
612
- Notification.belongsTo(NotificationType, { as: "notificationType", foreignKey: "notificationTypeId" });
613
- NotificationType.hasMany(Notification, { as: "notifications", foreignKey: "notificationTypeId" });
614
- JukeboxUser.belongsTo(PauseStatusType, { as: "pauseStatusType", foreignKey: "pauseStatusTypeId" });
615
- PauseStatusType.hasMany(JukeboxUser, { as: "jukeboxUsers", foreignKey: "pauseStatusTypeId" });
616
- AppUserPlatformRelation.belongsTo(Platform, { as: "platform", foreignKey: "platformId" });
617
- Platform.hasMany(AppUserPlatformRelation, { as: "appUserPlatformRelations", foreignKey: "platformId" });
618
- PlatformAlbum.belongsTo(Platform, { as: "platform", foreignKey: "platformId" });
619
- Platform.hasMany(PlatformAlbum, { as: "platformAlbums", foreignKey: "platformId" });
620
- PlatformArtist.belongsTo(Platform, { as: "platform", foreignKey: "platformId" });
621
- Platform.hasMany(PlatformArtist, { as: "platformArtists", foreignKey: "platformId" });
622
- PlatformGenre.belongsTo(Platform, { as: "platform", foreignKey: "platformId" });
623
- Platform.hasMany(PlatformGenre, { as: "platformGenres", foreignKey: "platformId" });
624
- PlatformTrack.belongsTo(Platform, { as: "platform", foreignKey: "platformId" });
625
- Platform.hasMany(PlatformTrack, { as: "platformTracks", foreignKey: "platformId" });
626
- PlatformUserAlbum.belongsTo(Platform, { as: "platform", foreignKey: "platformId" });
627
- Platform.hasMany(PlatformUserAlbum, { as: "platformUserAlbums", foreignKey: "platformId" });
628
- PlatformUserAlbumTrack.belongsTo(Platform, { as: "platform", foreignKey: "platformId" });
629
- Platform.hasMany(PlatformUserAlbumTrack, { as: "platformUserAlbumTracks", foreignKey: "platformId" });
630
- PlatformUserPlaylist.belongsTo(Platform, { as: "platform", foreignKey: "platformId" });
631
- Platform.hasMany(PlatformUserPlaylist, { as: "platformUserPlaylists", foreignKey: "platformId" });
632
- UnmatchedArtist.belongsTo(Platform, { as: "platform", foreignKey: "platformId" });
633
- Platform.hasMany(UnmatchedArtist, { as: "unmatchedArtists", foreignKey: "platformId" });
634
- CanonAlbumGenreRelation.belongsTo(PlatformAlbum, { as: "canonAlbum", foreignKey: "canonAlbumId" });
635
- PlatformAlbum.hasMany(CanonAlbumGenreRelation, { as: "canonAlbumGenreRelations", foreignKey: "canonAlbumId" });
636
- CanonAlbumLabelRelation.belongsTo(PlatformAlbum, { as: "canonAlbum", foreignKey: "canonAlbumId" });
637
- PlatformAlbum.hasMany(CanonAlbumLabelRelation, { as: "canonAlbumLabelRelations", foreignKey: "canonAlbumId" });
638
- CanonArtistAlbumRelation.belongsTo(PlatformAlbum, { as: "canonAlbum", foreignKey: "canonAlbumId" });
639
- PlatformAlbum.hasMany(CanonArtistAlbumRelation, { as: "canonArtistAlbumRelations", foreignKey: "canonAlbumId" });
640
- CanonToPlatformAlbumRelation.belongsTo(PlatformAlbum, { as: "platformAlbum", foreignKey: "platformAlbumId" });
641
- PlatformAlbum.hasMany(CanonToPlatformAlbumRelation, { as: "canonToPlatformAlbumRelations", foreignKey: "platformAlbumId" });
642
- PlatformAlbumGenreRelation.belongsTo(PlatformAlbum, { as: "platformAlbum", foreignKey: "platformAlbumId" });
643
- PlatformAlbum.hasMany(PlatformAlbumGenreRelation, { as: "platformAlbumGenreRelations", foreignKey: "platformAlbumId" });
644
- PlatformAlbumTrackRelation.belongsTo(PlatformAlbum, { as: "platformAlbum", foreignKey: "platformAlbumId" });
645
- PlatformAlbum.hasMany(PlatformAlbumTrackRelation, { as: "platformAlbumTrackRelations", foreignKey: "platformAlbumId" });
646
- PlatformArtistAlbumRelation.belongsTo(PlatformAlbum, { as: "platformAlbum", foreignKey: "platformAlbumId" });
647
- PlatformAlbum.hasMany(PlatformArtistAlbumRelation, { as: "platformArtistAlbumRelations", foreignKey: "platformAlbumId" });
648
- PlatformUserAlbum.belongsTo(PlatformAlbum, { as: "platformAlbum", foreignKey: "platformAlbumId" });
649
- PlatformAlbum.hasMany(PlatformUserAlbum, { as: "platformUserAlbums", foreignKey: "platformAlbumId" });
650
- UnmatchedAlbum.belongsTo(PlatformAlbum, { as: "platformAlbum", foreignKey: "platformAlbumId" });
651
- PlatformAlbum.hasMany(UnmatchedAlbum, { as: "unmatchedAlbums", foreignKey: "platformAlbumId" });
652
- Versus.belongsTo(PlatformAlbum, { as: "platformAlbum", foreignKey: "platformAlbumId" });
653
- PlatformAlbum.hasMany(Versus, { as: "versus", foreignKey: "platformAlbumId" });
654
- VersusOption.belongsTo(PlatformAlbum, { as: "platformAlbum", foreignKey: "platformAlbumId" });
655
- PlatformAlbum.hasMany(VersusOption, { as: "versusOptions", foreignKey: "platformAlbumId" });
656
- VersusPublishIssue.belongsTo(PlatformAlbum, { as: "platformAlbum", foreignKey: "platformAlbumId" });
657
- PlatformAlbum.hasMany(VersusPublishIssue, { as: "versusPublishIssues", foreignKey: "platformAlbumId" });
658
- CanonArtistExternalReferenceRelation.belongsTo(PlatformArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
659
- PlatformArtist.hasMany(CanonArtistExternalReferenceRelation, { as: "canonArtistExternalReferenceRelations", foreignKey: "canonArtistId" });
660
- CanonArtistGenreRelation.belongsTo(PlatformArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
661
- PlatformArtist.hasMany(CanonArtistGenreRelation, { as: "canonArtistGenreRelations", foreignKey: "canonArtistId" });
662
- CanonArtistMemberRelation.belongsTo(PlatformArtist, { as: "canonArtist", foreignKey: "canonArtistId" });
663
- PlatformArtist.hasMany(CanonArtistMemberRelation, { as: "canonArtistMemberRelations", foreignKey: "canonArtistId" });
664
- CanonToPlatformArtistRelation.belongsTo(PlatformArtist, { as: "platformArtist", foreignKey: "platformArtistId" });
665
- PlatformArtist.hasMany(CanonToPlatformArtistRelation, { as: "canonToPlatformArtistRelations", foreignKey: "platformArtistId" });
666
- PlatformArtistAlbumRelation.belongsTo(PlatformArtist, { as: "platformArtist", foreignKey: "platformArtistId" });
667
- PlatformArtist.hasMany(PlatformArtistAlbumRelation, { as: "platformArtistAlbumRelations", foreignKey: "platformArtistId" });
668
- PlatformArtistGenreRelation.belongsTo(PlatformArtist, { as: "platformArtist", foreignKey: "platformArtistId" });
669
- PlatformArtist.hasMany(PlatformArtistGenreRelation, { as: "platformArtistGenreRelations", foreignKey: "platformArtistId" });
670
- PlatformArtistTrackRelation.belongsTo(PlatformArtist, { as: "platformArtist", foreignKey: "platformArtistId" });
671
- PlatformArtist.hasMany(PlatformArtistTrackRelation, { as: "platformArtistTrackRelations", foreignKey: "platformArtistId" });
672
- Versus.belongsTo(PlatformArtist, { as: "platformArtist", foreignKey: "platformArtistId" });
673
- PlatformArtist.hasMany(Versus, { as: "versus", foreignKey: "platformArtistId" });
674
- VersusOption.belongsTo(PlatformArtist, { as: "platformArtist", foreignKey: "platformArtistId" });
675
- PlatformArtist.hasMany(VersusOption, { as: "versusOptions", foreignKey: "platformArtistId" });
676
- VersusPublishIssue.belongsTo(PlatformArtist, { as: "platformArtist", foreignKey: "platformArtistId" });
677
- PlatformArtist.hasMany(VersusPublishIssue, { as: "versusPublishIssues", foreignKey: "platformArtistId" });
678
- CanonToPlatformGenreRelation.belongsTo(PlatformGenre, { as: "platformGenre", foreignKey: "platformGenreId" });
679
- PlatformGenre.hasMany(CanonToPlatformGenreRelation, { as: "canonToPlatformGenreRelations", foreignKey: "platformGenreId" });
680
- PlatformAlbumGenreRelation.belongsTo(PlatformGenre, { as: "platformGenre", foreignKey: "platformGenreId" });
681
- PlatformGenre.hasMany(PlatformAlbumGenreRelation, { as: "platformAlbumGenreRelations", foreignKey: "platformGenreId" });
682
- PlatformArtistGenreRelation.belongsTo(PlatformGenre, { as: "platformGenre", foreignKey: "platformGenreId" });
683
- PlatformGenre.hasMany(PlatformArtistGenreRelation, { as: "platformArtistGenreRelations", foreignKey: "platformGenreId" });
684
- PlatformTrackGenreRelation.belongsTo(PlatformGenre, { as: "platformGenre", foreignKey: "platformGenreId" });
685
- PlatformGenre.hasMany(PlatformTrackGenreRelation, { as: "platformTrackGenreRelations", foreignKey: "platformGenreId" });
686
- CanonToPlatformTrackRelation.belongsTo(PlatformTrack, { as: "platformTrack", foreignKey: "platformTrackId" });
687
- PlatformTrack.hasMany(CanonToPlatformTrackRelation, { as: "canonToPlatformTrackRelations", foreignKey: "platformTrackId" });
688
- JukeboxQueueEntry.belongsTo(PlatformTrack, { as: "platformTrack", foreignKey: "platformTrackId" });
689
- PlatformTrack.hasMany(JukeboxQueueEntry, { as: "jukeboxQueueEntries", foreignKey: "platformTrackId" });
690
- PlatformAlbumTrackRelation.belongsTo(PlatformTrack, { as: "platformTrack", foreignKey: "platformTrackId" });
691
- PlatformTrack.hasMany(PlatformAlbumTrackRelation, { as: "platformAlbumTrackRelations", foreignKey: "platformTrackId" });
692
- PlatformArtistTrackRelation.belongsTo(PlatformTrack, { as: "platformTrack", foreignKey: "platformTrackId" });
693
- PlatformTrack.hasMany(PlatformArtistTrackRelation, { as: "platformArtistTrackRelations", foreignKey: "platformTrackId" });
694
- PlatformTrackGenreRelation.belongsTo(PlatformTrack, { as: "platformTrack", foreignKey: "platformTrackId" });
695
- PlatformTrack.hasMany(PlatformTrackGenreRelation, { as: "platformTrackGenreRelations", foreignKey: "platformTrackId" });
696
- PlatformUserAlbumTrack.belongsTo(PlatformTrack, { as: "platformTrack", foreignKey: "platformTrackId" });
697
- PlatformTrack.hasMany(PlatformUserAlbumTrack, { as: "platformUserAlbumTracks", foreignKey: "platformTrackId" });
698
- PlatformUserPlaylistTrack.belongsTo(PlatformTrack, { as: "platformTrack", foreignKey: "platformTrackId" });
699
- PlatformTrack.hasMany(PlatformUserPlaylistTrack, { as: "platformUserPlaylistTracks", foreignKey: "platformTrackId" });
700
- Versus.belongsTo(PlatformTrack, { as: "platformTrack", foreignKey: "platformTrackId" });
701
- PlatformTrack.hasMany(Versus, { as: "versus", foreignKey: "platformTrackId" });
702
- VersusOption.belongsTo(PlatformTrack, { as: "platformTrack", foreignKey: "platformTrackId" });
703
- PlatformTrack.hasMany(VersusOption, { as: "versusOptions", foreignKey: "platformTrackId" });
704
- VersusPublishIssue.belongsTo(PlatformTrack, { as: "platformTrack", foreignKey: "platformTrackId" });
705
- PlatformTrack.hasMany(VersusPublishIssue, { as: "versusPublishIssues", foreignKey: "platformTrackId" });
706
- PlatformUserAlbumTrack.belongsTo(PlatformUserAlbum, { as: "platformUserAlbum", foreignKey: "platformUserAlbumId" });
707
- PlatformUserAlbum.hasMany(PlatformUserAlbumTrack, { as: "platformUserAlbumTracks", foreignKey: "platformUserAlbumId" });
708
- PlatformUserPlaylistArtistAffinity.belongsTo(PlatformUserPlaylist, { as: "platformUserPlaylist", foreignKey: "platformUserPlaylistId" });
709
- PlatformUserPlaylist.hasMany(PlatformUserPlaylistArtistAffinity, { as: "platformUserPlaylistArtistAffinities", foreignKey: "platformUserPlaylistId" });
710
- PlatformUserPlaylistGenreAffinity.belongsTo(PlatformUserPlaylist, { as: "platformUserPlaylist", foreignKey: "platformUserPlaylistId" });
711
- PlatformUserPlaylist.hasMany(PlatformUserPlaylistGenreAffinity, { as: "platformUserPlaylistGenreAffinities", foreignKey: "platformUserPlaylistId" });
712
- PlatformUserPlaylistTrack.belongsTo(PlatformUserPlaylist, { as: "platformUserPlaylist", foreignKey: "platformUserPlaylistId" });
713
- PlatformUserPlaylist.hasMany(PlatformUserPlaylistTrack, { as: "platformUserPlaylistTracks", foreignKey: "platformUserPlaylistId" });
714
- UserAbuseReports.belongsTo(PlatformUserPlaylist, { as: "playlist", foreignKey: "playlistId" });
715
- PlatformUserPlaylist.hasMany(UserAbuseReports, { as: "userAbuseReports", foreignKey: "playlistId" });
716
- UserBookmarks.belongsTo(PlatformUserPlaylist, { as: "playlist", foreignKey: "playlistId" });
717
- PlatformUserPlaylist.hasMany(UserBookmarks, { as: "userBookmarks", foreignKey: "playlistId" });
718
- UserComments.belongsTo(PlatformUserPlaylist, { as: "playlist", foreignKey: "playlistId" });
719
- PlatformUserPlaylist.hasMany(UserComments, { as: "userComments", foreignKey: "playlistId" });
720
- UserLikes.belongsTo(PlatformUserPlaylist, { as: "playlist", foreignKey: "playlistId" });
721
- PlatformUserPlaylist.hasMany(UserLikes, { as: "userLikes", foreignKey: "playlistId" });
722
- JukeboxQueueEntry.belongsTo(PlaybackStatusType, { as: "playbackStatusType", foreignKey: "playbackStatusTypeId" });
723
- PlaybackStatusType.hasMany(JukeboxQueueEntry, { as: "jukeboxQueueEntries", foreignKey: "playbackStatusTypeId" });
724
- RadioShowGenres.belongsTo(RadioShow, { as: "radioShow", foreignKey: "radioShowId" });
725
- RadioShow.hasMany(RadioShowGenres, { as: "radioShowGenres", foreignKey: "radioShowId" });
726
- RadioShowMedia.belongsTo(RadioShow, { as: "radioShow", foreignKey: "radioShowId" });
727
- RadioShow.hasMany(RadioShowMedia, { as: "radioShowMedia", foreignKey: "radioShowId" });
728
- RadioShowPlacement.belongsTo(RadioShow, { as: "radioShow", foreignKey: "radioShowId" });
729
- RadioShow.hasMany(RadioShowPlacement, { as: "radioShowPlacements", foreignKey: "radioShowId" });
730
- RadioShowPublishRequests.belongsTo(RadioShow, { as: "radioShow", foreignKey: "radioShowId" });
731
- RadioShow.hasMany(RadioShowPublishRequests, { as: "radioShowPublishRequests", foreignKey: "radioShowId" });
732
- UserAbuseReports.belongsTo(RadioShow, { as: "radioShow", foreignKey: "radioShowId" });
733
- RadioShow.hasMany(UserAbuseReports, { as: "userAbuseReports", foreignKey: "radioShowId" });
734
- UserBookmarks.belongsTo(RadioShow, { as: "radioShow", foreignKey: "radioShowId" });
735
- RadioShow.hasMany(UserBookmarks, { as: "userBookmarks", foreignKey: "radioShowId" });
736
- UserComments.belongsTo(RadioShow, { as: "radioShow", foreignKey: "radioShowId" });
737
- RadioShow.hasMany(UserComments, { as: "userComments", foreignKey: "radioShowId" });
738
- UserLikes.belongsTo(RadioShow, { as: "radioShow", foreignKey: "radioShowId" });
739
- RadioShow.hasMany(UserLikes, { as: "userLikes", foreignKey: "radioShowId" });
740
- UserAbuseReports.belongsTo(RadioShowMedia, { as: "radioShowMedium", foreignKey: "radioShowMediaId" });
741
- RadioShowMedia.hasMany(UserAbuseReports, { as: "userAbuseReports", foreignKey: "radioShowMediaId" });
742
- AppUser.belongsTo(State, { as: "state", foreignKey: "stateId" });
743
- State.hasMany(AppUser, { as: "appUsers", foreignKey: "stateId" });
744
- PlatformUserPlaylist.belongsTo(State, { as: "state", foreignKey: "stateId" });
745
- State.hasMany(PlatformUserPlaylist, { as: "platformUserPlaylists", foreignKey: "stateId" });
746
- PlatformUserPlaylistTrack.belongsTo(State, { as: "state", foreignKey: "stateId" });
747
- State.hasMany(PlatformUserPlaylistTrack, { as: "platformUserPlaylistTracks", foreignKey: "stateId" });
748
- JukeboxQueueEntry.belongsTo(TrackDeletionReason, { as: "trackDeletionReason", foreignKey: "trackDeletionReasonId" });
749
- TrackDeletionReason.hasMany(JukeboxQueueEntry, { as: "jukeboxQueueEntries", foreignKey: "trackDeletionReasonId" });
750
- UserAbuseReports.belongsTo(UserComments, { as: "comment", foreignKey: "commentId" });
751
- UserComments.hasMany(UserAbuseReports, { as: "userAbuseReports", foreignKey: "commentId" });
752
- UserComments.belongsTo(UserComments, { as: "replyComment", foreignKey: "replyCommentId" });
753
- UserComments.hasMany(UserComments, { as: "userComments", foreignKey: "replyCommentId" });
754
- UserAbuseReports.belongsTo(UserMessages, { as: "directMessage", foreignKey: "directMessageId" });
755
- UserMessages.hasMany(UserAbuseReports, { as: "userAbuseReports", foreignKey: "directMessageId" });
756
- UserMessages.belongsTo(UserMessages, { as: "replyMessage", foreignKey: "replyMessageId" });
757
- UserMessages.hasMany(UserMessages, { as: "userMessages", foreignKey: "replyMessageId" });
758
- GuestUser.belongsTo(Versus, { as: "versu", foreignKey: "versusId" });
759
- Versus.hasMany(GuestUser, { as: "guestUsers", foreignKey: "versusId" });
760
- VersusCoCreator.belongsTo(Versus, { as: "versu", foreignKey: "versusId" });
761
- Versus.hasMany(VersusCoCreator, { as: "versusCoCreators", foreignKey: "versusId" });
762
- VersusOption.belongsTo(Versus, { as: "versu", foreignKey: "versusId" });
763
- Versus.hasMany(VersusOption, { as: "versusOptions", foreignKey: "versusId" });
764
- VersusPublishIssue.belongsTo(Versus, { as: "versu", foreignKey: "versusId" });
765
- Versus.hasMany(VersusPublishIssue, { as: "versusPublishIssues", foreignKey: "versusId" });
766
- VersusVote.belongsTo(Versus, { as: "versu", foreignKey: "versusId" });
767
- Versus.hasMany(VersusVote, { as: "versusVotes", foreignKey: "versusId" });
768
- Versus.belongsTo(VersusAccessType, { as: "versusAccessType", foreignKey: "versusAccessTypeId" });
769
- VersusAccessType.hasMany(Versus, { as: "versus", foreignKey: "versusAccessTypeId" });
770
- Versus.belongsTo(VersusCreatorScope, { as: "versusCreatorScope", foreignKey: "versusCreatorScopeId" });
771
- VersusCreatorScope.hasMany(Versus, { as: "versus", foreignKey: "versusCreatorScopeId" });
772
- Versus.belongsTo(VersusEndMode, { as: "versusEndMode", foreignKey: "versusEndModeId" });
773
- VersusEndMode.hasMany(Versus, { as: "versus", foreignKey: "versusEndModeId" });
774
- Versus.belongsTo(VersusEndTimerDuration, { as: "versusEndTimerDuration", foreignKey: "versusEndTimerDurationId" });
775
- VersusEndTimerDuration.hasMany(Versus, { as: "versus", foreignKey: "versusEndTimerDurationId" });
776
- Versus.belongsTo(VersusEndVoteThreshold, { as: "versusEndVoteThreshold", foreignKey: "versusEndVoteThresholdId" });
777
- VersusEndVoteThreshold.hasMany(Versus, { as: "versus", foreignKey: "versusEndVoteThresholdId" });
778
- VersusOption.belongsTo(VersusEntityKind, { as: "entityKind", foreignKey: "entityKindId" });
779
- VersusEntityKind.hasMany(VersusOption, { as: "versusOptions", foreignKey: "entityKindId" });
780
- VersusPublishIssue.belongsTo(VersusEntityKind, { as: "entityKind", foreignKey: "entityKindId" });
781
- VersusEntityKind.hasMany(VersusPublishIssue, { as: "versusPublishIssues", foreignKey: "entityKindId" });
782
- Versus.belongsTo(VersusQuestion, { as: "versusQuestion", foreignKey: "versusQuestionId" });
783
- VersusQuestion.hasMany(Versus, { as: "versus", foreignKey: "versusQuestionId" });
784
- VersusQuestion.belongsTo(VersusQuestionVariableType, { as: "questionVariableType", foreignKey: "questionVariableTypeId" });
785
- VersusQuestionVariableType.hasMany(VersusQuestion, { as: "versusQuestions", foreignKey: "questionVariableTypeId" });
786
- VersusQuestion.belongsTo(VersusVotingListType, { as: "votingListType", foreignKey: "votingListTypeId" });
787
- VersusVotingListType.hasMany(VersusQuestion, { as: "versusQuestions", foreignKey: "votingListTypeId" });
788
- Versus.belongsTo(VersusVotingMode, { as: "versusVotingMode", foreignKey: "versusVotingModeId" });
789
- VersusVotingMode.hasMany(Versus, { as: "versus", foreignKey: "versusVotingModeId" });
790
- return {
791
- AccessControlPreference: AccessControlPreference,
792
- AffinityRelationshipType: AffinityRelationshipType,
793
- AffinityTier: AffinityTier,
794
- AppUser: AppUser,
795
- AppUserDevice: AppUserDevice,
796
- AppUserFollowRelation: AppUserFollowRelation,
797
- AppUserPlatformRelation: AppUserPlatformRelation,
798
- CanonAlbum: CanonAlbum,
799
- CanonAlbumExternalReferenceRelation: CanonAlbumExternalReferenceRelation,
800
- CanonAlbumGenreRelation: CanonAlbumGenreRelation,
801
- CanonAlbumLabelRelation: CanonAlbumLabelRelation,
802
- CanonAlbumTrackRelation: CanonAlbumTrackRelation,
803
- CanonArtist: CanonArtist,
804
- CanonArtistAlbumRelation: CanonArtistAlbumRelation,
805
- CanonArtistExternalReferenceRelation: CanonArtistExternalReferenceRelation,
806
- CanonArtistGenreRelation: CanonArtistGenreRelation,
807
- CanonArtistMemberRelation: CanonArtistMemberRelation,
808
- CanonArtistTrackRelation: CanonArtistTrackRelation,
809
- CanonGenre: CanonGenre,
810
- CanonGenreExternalReferenceRelation: CanonGenreExternalReferenceRelation,
811
- CanonLabel: CanonLabel,
812
- CanonLabelExternalReferenceRelation: CanonLabelExternalReferenceRelation,
813
- CanonMember: CanonMember,
814
- CanonMemberExternalReferenceRelation: CanonMemberExternalReferenceRelation,
815
- CanonToPlatformAlbumRelation: CanonToPlatformAlbumRelation,
816
- CanonToPlatformArtistRelation: CanonToPlatformArtistRelation,
817
- CanonToPlatformGenreRelation: CanonToPlatformGenreRelation,
818
- CanonToPlatformTrackRelation: CanonToPlatformTrackRelation,
819
- CanonTrack: CanonTrack,
820
- ConfigParam: ConfigParam,
821
- ExternalReference: ExternalReference,
822
- FeedConfig: FeedConfig,
823
- FeedContentType: FeedContentType,
824
- GuestUser: GuestUser,
825
- JukeboxAccessType: JukeboxAccessType,
826
- JukeboxCanonGenreRelation: JukeboxCanonGenreRelation,
827
- JukeboxInvite: JukeboxInvite,
828
- JukeboxQueueEntry: JukeboxQueueEntry,
829
- JukeboxQueueMode: JukeboxQueueMode,
830
- JukeboxSession: JukeboxSession,
831
- JukeboxSessionArtistAffinity: JukeboxSessionArtistAffinity,
832
- JukeboxSessionGenreAffinity: JukeboxSessionGenreAffinity,
833
- JukeboxStatus: JukeboxStatus,
834
- JukeboxTerminationCondition: JukeboxTerminationCondition,
835
- JukeboxType: JukeboxType,
836
- JukeboxUser: JukeboxUser,
837
- JukeboxUserType: JukeboxUserType,
838
- KnexMigrations: KnexMigrations,
839
- KnexMigrationsLock: KnexMigrationsLock,
840
- MerchItem: MerchItem,
841
- MerchOrchestration: MerchOrchestration,
842
- MerchPlatform: MerchPlatform,
843
- MerchType: MerchType,
844
- MetricsDaily: MetricsDaily,
845
- MetricsEvent: MetricsEvent,
846
- NewsArticle: NewsArticle,
847
- NewsPlatform: NewsPlatform,
848
- NewsSite: NewsSite,
849
- Notification: Notification,
850
- NotificationType: NotificationType,
851
- PauseStatusType: PauseStatusType,
852
- Platform: Platform,
853
- PlatformAlbum: PlatformAlbum,
854
- PlatformAlbumGenreRelation: PlatformAlbumGenreRelation,
855
- PlatformAlbumTrackRelation: PlatformAlbumTrackRelation,
856
- PlatformArtist: PlatformArtist,
857
- PlatformArtistAlbumRelation: PlatformArtistAlbumRelation,
858
- PlatformArtistGenreRelation: PlatformArtistGenreRelation,
859
- PlatformArtistTrackRelation: PlatformArtistTrackRelation,
860
- PlatformGenre: PlatformGenre,
861
- PlatformTrack: PlatformTrack,
862
- PlatformTrackGenreRelation: PlatformTrackGenreRelation,
863
- PlatformUserAlbum: PlatformUserAlbum,
864
- PlatformUserAlbumTrack: PlatformUserAlbumTrack,
865
- PlatformUserPlaylist: PlatformUserPlaylist,
866
- PlatformUserPlaylistArtistAffinity: PlatformUserPlaylistArtistAffinity,
867
- PlatformUserPlaylistGenreAffinity: PlatformUserPlaylistGenreAffinity,
868
- PlatformUserPlaylistTrack: PlatformUserPlaylistTrack,
869
- PlaybackStatus: PlaybackStatus,
870
- PlaybackStatusType: PlaybackStatusType,
871
- RadioShow: RadioShow,
872
- RadioShowGenres: RadioShowGenres,
873
- RadioShowMedia: RadioShowMedia,
874
- RadioShowPlacement: RadioShowPlacement,
875
- RadioShowPublishRequests: RadioShowPublishRequests,
876
- State: State,
877
- TrackDeletionReason: TrackDeletionReason,
878
- UnmatchedAlbum: UnmatchedAlbum,
879
- UnmatchedArtist: UnmatchedArtist,
880
- UserAbuseReports: UserAbuseReports,
881
- UserAffinity: UserAffinity,
882
- UserArtistAffinity: UserArtistAffinity,
883
- UserBookmarks: UserBookmarks,
884
- UserComments: UserComments,
885
- UserContacts: UserContacts,
886
- UserEngagementFactor: UserEngagementFactor,
887
- UserGenreAffinity: UserGenreAffinity,
888
- UserLikes: UserLikes,
889
- UserMessages: UserMessages,
890
- Versus: Versus,
891
- VersusAccessType: VersusAccessType,
892
- VersusCoCreator: VersusCoCreator,
893
- VersusCreatorScope: VersusCreatorScope,
894
- VersusEndMode: VersusEndMode,
895
- VersusEndTimerDuration: VersusEndTimerDuration,
896
- VersusEndVoteThreshold: VersusEndVoteThreshold,
897
- VersusEntityKind: VersusEntityKind,
898
- VersusOption: VersusOption,
899
- VersusPublishIssue: VersusPublishIssue,
900
- VersusQuestion: VersusQuestion,
901
- VersusQuestionVariableType: VersusQuestionVariableType,
902
- VersusVote: VersusVote,
903
- VersusVotingListType: VersusVotingListType,
904
- VersusVotingMode: VersusVotingMode,
905
- };
5
+ return {};
906
6
  }