@earbug/db-models 0.0.59 → 0.0.62

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