@earbug/db-models 0.0.1

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 (211) hide show
  1. package/.nvmrc +1 -0
  2. package/dist/AppUser.d.ts +161 -0
  3. package/dist/AppUser.js +121 -0
  4. package/dist/AppUserDevice.d.ts +26 -0
  5. package/dist/AppUserDevice.js +88 -0
  6. package/dist/AppUserFollowRelation.d.ts +34 -0
  7. package/dist/AppUserFollowRelation.js +113 -0
  8. package/dist/AppUserPlatformRelation.d.ts +43 -0
  9. package/dist/AppUserPlatformRelation.js +132 -0
  10. package/dist/CanonAlbum.d.ts +119 -0
  11. package/dist/CanonAlbum.js +117 -0
  12. package/dist/CanonAlbumExternalReferenceRelation.d.ts +31 -0
  13. package/dist/CanonAlbumExternalReferenceRelation.js +86 -0
  14. package/dist/CanonAlbumGenreRelation.d.ts +29 -0
  15. package/dist/CanonAlbumGenreRelation.js +82 -0
  16. package/dist/CanonAlbumImageHarvested.d.ts +30 -0
  17. package/dist/CanonAlbumImageHarvested.js +78 -0
  18. package/dist/CanonAlbumLabelRelation.d.ts +29 -0
  19. package/dist/CanonAlbumLabelRelation.js +82 -0
  20. package/dist/CanonAlbumTrackRelation.d.ts +29 -0
  21. package/dist/CanonAlbumTrackRelation.js +82 -0
  22. package/dist/CanonArtist.d.ts +91 -0
  23. package/dist/CanonArtist.js +114 -0
  24. package/dist/CanonArtistAlbumRelation.d.ts +29 -0
  25. package/dist/CanonArtistAlbumRelation.js +82 -0
  26. package/dist/CanonArtistExternalReferenceRelation.d.ts +31 -0
  27. package/dist/CanonArtistExternalReferenceRelation.js +86 -0
  28. package/dist/CanonArtistGenreRelation.d.ts +29 -0
  29. package/dist/CanonArtistGenreRelation.js +82 -0
  30. package/dist/CanonArtistImageHarvested.d.ts +30 -0
  31. package/dist/CanonArtistImageHarvested.js +70 -0
  32. package/dist/CanonArtistMemberRelation.d.ts +29 -0
  33. package/dist/CanonArtistMemberRelation.js +82 -0
  34. package/dist/CanonArtistTrackRelation.d.ts +29 -0
  35. package/dist/CanonArtistTrackRelation.js +82 -0
  36. package/dist/CanonGenre.d.ts +133 -0
  37. package/dist/CanonGenre.js +93 -0
  38. package/dist/CanonGenreExternalReferenceRelation.d.ts +31 -0
  39. package/dist/CanonGenreExternalReferenceRelation.js +86 -0
  40. package/dist/CanonLabel.d.ts +69 -0
  41. package/dist/CanonLabel.js +83 -0
  42. package/dist/CanonLabelExternalReferenceRelation.d.ts +31 -0
  43. package/dist/CanonLabelExternalReferenceRelation.js +86 -0
  44. package/dist/CanonMember.d.ts +71 -0
  45. package/dist/CanonMember.js +82 -0
  46. package/dist/CanonMemberExternalReferenceRelation.d.ts +33 -0
  47. package/dist/CanonMemberExternalReferenceRelation.js +91 -0
  48. package/dist/CanonToPlatformAlbumRelation.d.ts +29 -0
  49. package/dist/CanonToPlatformAlbumRelation.js +82 -0
  50. package/dist/CanonToPlatformArtistRelation.d.ts +29 -0
  51. package/dist/CanonToPlatformArtistRelation.js +82 -0
  52. package/dist/CanonToPlatformGenreRelation.d.ts +29 -0
  53. package/dist/CanonToPlatformGenreRelation.js +82 -0
  54. package/dist/CanonToPlatformTrackRelation.d.ts +29 -0
  55. package/dist/CanonToPlatformTrackRelation.js +82 -0
  56. package/dist/CanonTrack.d.ts +89 -0
  57. package/dist/CanonTrack.js +99 -0
  58. package/dist/ConfigParam.d.ts +19 -0
  59. package/dist/ConfigParam.js +70 -0
  60. package/dist/ExternalReference.d.ts +139 -0
  61. package/dist/ExternalReference.js +79 -0
  62. package/dist/JukeboxAccessType.d.ts +26 -0
  63. package/dist/JukeboxAccessType.js +36 -0
  64. package/dist/JukeboxCanonGenreRelation.d.ts +33 -0
  65. package/dist/JukeboxCanonGenreRelation.js +101 -0
  66. package/dist/JukeboxInvite.d.ts +39 -0
  67. package/dist/JukeboxInvite.js +98 -0
  68. package/dist/JukeboxQueueEntry.d.ts +74 -0
  69. package/dist/JukeboxQueueEntry.js +142 -0
  70. package/dist/JukeboxQueueMode.d.ts +26 -0
  71. package/dist/JukeboxQueueMode.js +36 -0
  72. package/dist/JukeboxSession.d.ts +108 -0
  73. package/dist/JukeboxSession.js +133 -0
  74. package/dist/JukeboxStatus.d.ts +26 -0
  75. package/dist/JukeboxStatus.js +34 -0
  76. package/dist/JukeboxTerminationCondition.d.ts +26 -0
  77. package/dist/JukeboxTerminationCondition.js +36 -0
  78. package/dist/JukeboxType.d.ts +26 -0
  79. package/dist/JukeboxType.js +36 -0
  80. package/dist/JukeboxUser.d.ts +56 -0
  81. package/dist/JukeboxUser.js +135 -0
  82. package/dist/JukeboxUserType.d.ts +26 -0
  83. package/dist/JukeboxUserType.js +34 -0
  84. package/dist/KnexMigrations.d.ts +19 -0
  85. package/dist/KnexMigrations.js +44 -0
  86. package/dist/KnexMigrationsLock.d.ts +15 -0
  87. package/dist/KnexMigrationsLock.js +36 -0
  88. package/dist/MetricsDaily.d.ts +19 -0
  89. package/dist/MetricsDaily.js +87 -0
  90. package/dist/MetricsEvent.d.ts +23 -0
  91. package/dist/MetricsEvent.js +117 -0
  92. package/dist/NewsSite.d.ts +21 -0
  93. package/dist/NewsSite.js +57 -0
  94. package/dist/PauseStatusType.d.ts +26 -0
  95. package/dist/PauseStatusType.js +34 -0
  96. package/dist/Platform.d.ts +127 -0
  97. package/dist/Platform.js +80 -0
  98. package/dist/PlatformAlbum.d.ts +232 -0
  99. package/dist/PlatformAlbum.js +123 -0
  100. package/dist/PlatformAlbumGenreRelation.d.ts +29 -0
  101. package/dist/PlatformAlbumGenreRelation.js +82 -0
  102. package/dist/PlatformAlbumTrackRelation.d.ts +29 -0
  103. package/dist/PlatformAlbumTrackRelation.js +82 -0
  104. package/dist/PlatformArtist.d.ts +225 -0
  105. package/dist/PlatformArtist.js +109 -0
  106. package/dist/PlatformArtistAlbumRelation.d.ts +29 -0
  107. package/dist/PlatformArtistAlbumRelation.js +82 -0
  108. package/dist/PlatformArtistGenreRelation.d.ts +29 -0
  109. package/dist/PlatformArtistGenreRelation.js +82 -0
  110. package/dist/PlatformArtistTrackRelation.d.ts +29 -0
  111. package/dist/PlatformArtistTrackRelation.js +82 -0
  112. package/dist/PlatformGenre.d.ts +122 -0
  113. package/dist/PlatformGenre.js +90 -0
  114. package/dist/PlatformTrack.d.ts +183 -0
  115. package/dist/PlatformTrack.js +129 -0
  116. package/dist/PlatformTrackGenreRelation.d.ts +29 -0
  117. package/dist/PlatformTrackGenreRelation.js +82 -0
  118. package/dist/PlatformUserAlbum.d.ts +54 -0
  119. package/dist/PlatformUserAlbum.js +121 -0
  120. package/dist/PlatformUserAlbumTrack.d.ts +42 -0
  121. package/dist/PlatformUserAlbumTrack.js +121 -0
  122. package/dist/PlatformUserPlaylist.d.ts +62 -0
  123. package/dist/PlatformUserPlaylist.js +135 -0
  124. package/dist/PlatformUserPlaylistTrack.d.ts +48 -0
  125. package/dist/PlatformUserPlaylistTrack.js +132 -0
  126. package/dist/PlaybackStatus.d.ts +26 -0
  127. package/dist/PlaybackStatus.js +36 -0
  128. package/dist/State.d.ts +50 -0
  129. package/dist/State.js +36 -0
  130. package/dist/TrackDeletionReason.d.ts +26 -0
  131. package/dist/TrackDeletionReason.js +34 -0
  132. package/dist/UnmatchedAlbum.d.ts +22 -0
  133. package/dist/UnmatchedAlbum.js +70 -0
  134. package/dist/UnmatchedArtist.d.ts +26 -0
  135. package/dist/UnmatchedArtist.js +81 -0
  136. package/dist/UserContacts.d.ts +46 -0
  137. package/dist/UserContacts.js +105 -0
  138. package/dist/init-models.d.ts +209 -0
  139. package/dist/init-models.js +507 -0
  140. package/model_options.json +3 -0
  141. package/models/AppUser.ts +267 -0
  142. package/models/AppUserDevice.ts +88 -0
  143. package/models/AppUserFollowRelation.ts +122 -0
  144. package/models/AppUserPlatformRelation.ts +150 -0
  145. package/models/CanonAlbum.ts +216 -0
  146. package/models/CanonAlbumExternalReferenceRelation.ts +92 -0
  147. package/models/CanonAlbumGenreRelation.ts +86 -0
  148. package/models/CanonAlbumImageHarvested.ts +106 -0
  149. package/models/CanonAlbumLabelRelation.ts +86 -0
  150. package/models/CanonAlbumTrackRelation.ts +86 -0
  151. package/models/CanonArtist.ts +183 -0
  152. package/models/CanonArtistAlbumRelation.ts +86 -0
  153. package/models/CanonArtistExternalReferenceRelation.ts +92 -0
  154. package/models/CanonArtistGenreRelation.ts +86 -0
  155. package/models/CanonArtistImageHarvested.ts +98 -0
  156. package/models/CanonArtistMemberRelation.ts +86 -0
  157. package/models/CanonArtistTrackRelation.ts +86 -0
  158. package/models/CanonGenre.ts +208 -0
  159. package/models/CanonGenreExternalReferenceRelation.ts +92 -0
  160. package/models/CanonLabel.ts +129 -0
  161. package/models/CanonLabelExternalReferenceRelation.ts +92 -0
  162. package/models/CanonMember.ts +130 -0
  163. package/models/CanonMemberExternalReferenceRelation.ts +99 -0
  164. package/models/CanonToPlatformAlbumRelation.ts +86 -0
  165. package/models/CanonToPlatformArtistRelation.ts +86 -0
  166. package/models/CanonToPlatformGenreRelation.ts +86 -0
  167. package/models/CanonToPlatformTrackRelation.ts +86 -0
  168. package/models/CanonTrack.ts +167 -0
  169. package/models/ConfigParam.ts +62 -0
  170. package/models/ExternalReference.ts +201 -0
  171. package/models/JukeboxAccessType.ts +60 -0
  172. package/models/JukeboxCanonGenreRelation.ts +109 -0
  173. package/models/JukeboxInvite.ts +113 -0
  174. package/models/JukeboxQueueEntry.ts +195 -0
  175. package/models/JukeboxQueueMode.ts +60 -0
  176. package/models/JukeboxSession.ts +223 -0
  177. package/models/JukeboxStatus.ts +58 -0
  178. package/models/JukeboxTerminationCondition.ts +60 -0
  179. package/models/JukeboxType.ts +60 -0
  180. package/models/JukeboxUser.ts +169 -0
  181. package/models/JukeboxUserType.ts +58 -0
  182. package/models/KnexMigrations.ts +60 -0
  183. package/models/KnexMigrationsLock.ts +48 -0
  184. package/models/MetricsDaily.ts +79 -0
  185. package/models/MetricsEvent.ts +114 -0
  186. package/models/NewsSite.ts +75 -0
  187. package/models/PauseStatusType.ts +58 -0
  188. package/models/Platform.ts +189 -0
  189. package/models/PlatformAlbum.ts +345 -0
  190. package/models/PlatformAlbumGenreRelation.ts +86 -0
  191. package/models/PlatformAlbumTrackRelation.ts +86 -0
  192. package/models/PlatformArtist.ts +324 -0
  193. package/models/PlatformArtistAlbumRelation.ts +86 -0
  194. package/models/PlatformArtistGenreRelation.ts +86 -0
  195. package/models/PlatformArtistTrackRelation.ts +86 -0
  196. package/models/PlatformGenre.ts +194 -0
  197. package/models/PlatformTrack.ts +298 -0
  198. package/models/PlatformTrackGenreRelation.ts +86 -0
  199. package/models/PlatformUserAlbum.ts +152 -0
  200. package/models/PlatformUserAlbumTrack.ts +139 -0
  201. package/models/PlatformUserPlaylist.ts +174 -0
  202. package/models/PlatformUserPlaylistTrack.ts +156 -0
  203. package/models/PlaybackStatus.ts +60 -0
  204. package/models/State.ts +86 -0
  205. package/models/TrackDeletionReason.ts +58 -0
  206. package/models/UnmatchedAlbum.ts +66 -0
  207. package/models/UnmatchedArtist.ts +81 -0
  208. package/models/UserContacts.ts +149 -0
  209. package/models/init-models.ts +716 -0
  210. package/package.json +19 -0
  211. package/tsconfig.json +52 -0
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserContacts = void 0;
4
+ const sequelize_1 = require("sequelize");
5
+ class UserContacts extends sequelize_1.Model {
6
+ static initModel(sequelize) {
7
+ return UserContacts.init({
8
+ appUserId: {
9
+ type: sequelize_1.DataTypes.UUID,
10
+ allowNull: false,
11
+ references: {
12
+ model: 'app_user',
13
+ key: 'id'
14
+ },
15
+ field: 'app_user_id'
16
+ },
17
+ contactId: {
18
+ type: sequelize_1.DataTypes.UUID,
19
+ allowNull: false,
20
+ defaultValue: sequelize_1.DataTypes.UUIDV4,
21
+ primaryKey: true,
22
+ field: 'contact_id'
23
+ },
24
+ contactAppUserId: {
25
+ type: sequelize_1.DataTypes.UUID,
26
+ allowNull: true,
27
+ field: 'contact_app_user_id'
28
+ },
29
+ firstName: {
30
+ type: sequelize_1.DataTypes.STRING(255),
31
+ allowNull: true,
32
+ field: 'first_name'
33
+ },
34
+ lastName: {
35
+ type: sequelize_1.DataTypes.STRING(255),
36
+ allowNull: true,
37
+ field: 'last_name'
38
+ },
39
+ contactEmail1: {
40
+ type: sequelize_1.DataTypes.STRING(255),
41
+ allowNull: true,
42
+ field: 'contact_email_1'
43
+ },
44
+ contactEmail2: {
45
+ type: sequelize_1.DataTypes.STRING(255),
46
+ allowNull: true,
47
+ field: 'contact_email_2'
48
+ },
49
+ contactEmail3: {
50
+ type: sequelize_1.DataTypes.STRING(255),
51
+ allowNull: true,
52
+ field: 'contact_email_3'
53
+ },
54
+ contactPhone1: {
55
+ type: sequelize_1.DataTypes.STRING(255),
56
+ allowNull: true,
57
+ field: 'contact_phone_1'
58
+ },
59
+ contactPhone1Type: {
60
+ type: sequelize_1.DataTypes.ENUM("mobile", "work", "home", "main"),
61
+ allowNull: true,
62
+ field: 'contact_phone_1_type'
63
+ },
64
+ contactPhone2: {
65
+ type: sequelize_1.DataTypes.STRING(255),
66
+ allowNull: true,
67
+ field: 'contact_phone_2'
68
+ },
69
+ contactPhone2Type: {
70
+ type: sequelize_1.DataTypes.ENUM("mobile", "work", "home", "main"),
71
+ allowNull: true,
72
+ field: 'contact_phone_2_type'
73
+ },
74
+ contactPhone3: {
75
+ type: sequelize_1.DataTypes.STRING(255),
76
+ allowNull: true,
77
+ field: 'contact_phone_3'
78
+ },
79
+ contactPhone3Type: {
80
+ type: sequelize_1.DataTypes.ENUM("mobile", "work", "home", "main"),
81
+ allowNull: true,
82
+ field: 'contact_phone_3_type'
83
+ },
84
+ active: {
85
+ type: sequelize_1.DataTypes.BOOLEAN,
86
+ allowNull: true
87
+ }
88
+ }, {
89
+ sequelize,
90
+ tableName: 'user_contacts',
91
+ schema: 'eb',
92
+ timestamps: false,
93
+ indexes: [
94
+ {
95
+ name: "user_contacts_pkey",
96
+ unique: true,
97
+ fields: [
98
+ { name: "contact_id" },
99
+ ]
100
+ },
101
+ ]
102
+ });
103
+ }
104
+ }
105
+ exports.UserContacts = UserContacts;
@@ -0,0 +1,209 @@
1
+ import type { Sequelize } from "sequelize";
2
+ import { AppUser as _AppUser } from "./AppUser";
3
+ import type { AppUserAttributes, AppUserCreationAttributes } from "./AppUser";
4
+ import { AppUserDevice as _AppUserDevice } from "./AppUserDevice";
5
+ import type { AppUserDeviceAttributes, AppUserDeviceCreationAttributes } from "./AppUserDevice";
6
+ import { AppUserFollowRelation as _AppUserFollowRelation } from "./AppUserFollowRelation";
7
+ import type { AppUserFollowRelationAttributes, AppUserFollowRelationCreationAttributes } from "./AppUserFollowRelation";
8
+ import { AppUserPlatformRelation as _AppUserPlatformRelation } from "./AppUserPlatformRelation";
9
+ import type { AppUserPlatformRelationAttributes, AppUserPlatformRelationCreationAttributes } from "./AppUserPlatformRelation";
10
+ import { CanonAlbum as _CanonAlbum } from "./CanonAlbum";
11
+ import type { CanonAlbumAttributes, CanonAlbumCreationAttributes } from "./CanonAlbum";
12
+ import { CanonAlbumExternalReferenceRelation as _CanonAlbumExternalReferenceRelation } from "./CanonAlbumExternalReferenceRelation";
13
+ import type { CanonAlbumExternalReferenceRelationAttributes, CanonAlbumExternalReferenceRelationCreationAttributes } from "./CanonAlbumExternalReferenceRelation";
14
+ import { CanonAlbumGenreRelation as _CanonAlbumGenreRelation } from "./CanonAlbumGenreRelation";
15
+ import type { CanonAlbumGenreRelationAttributes, CanonAlbumGenreRelationCreationAttributes } from "./CanonAlbumGenreRelation";
16
+ import { CanonAlbumImageHarvested as _CanonAlbumImageHarvested } from "./CanonAlbumImageHarvested";
17
+ import type { CanonAlbumImageHarvestedAttributes, CanonAlbumImageHarvestedCreationAttributes } from "./CanonAlbumImageHarvested";
18
+ import { CanonAlbumLabelRelation as _CanonAlbumLabelRelation } from "./CanonAlbumLabelRelation";
19
+ import type { CanonAlbumLabelRelationAttributes, CanonAlbumLabelRelationCreationAttributes } from "./CanonAlbumLabelRelation";
20
+ import { CanonAlbumTrackRelation as _CanonAlbumTrackRelation } from "./CanonAlbumTrackRelation";
21
+ import type { CanonAlbumTrackRelationAttributes, CanonAlbumTrackRelationCreationAttributes } from "./CanonAlbumTrackRelation";
22
+ import { CanonArtist as _CanonArtist } from "./CanonArtist";
23
+ import type { CanonArtistAttributes, CanonArtistCreationAttributes } from "./CanonArtist";
24
+ import { CanonArtistAlbumRelation as _CanonArtistAlbumRelation } from "./CanonArtistAlbumRelation";
25
+ import type { CanonArtistAlbumRelationAttributes, CanonArtistAlbumRelationCreationAttributes } from "./CanonArtistAlbumRelation";
26
+ import { CanonArtistExternalReferenceRelation as _CanonArtistExternalReferenceRelation } from "./CanonArtistExternalReferenceRelation";
27
+ import type { CanonArtistExternalReferenceRelationAttributes, CanonArtistExternalReferenceRelationCreationAttributes } from "./CanonArtistExternalReferenceRelation";
28
+ import { CanonArtistGenreRelation as _CanonArtistGenreRelation } from "./CanonArtistGenreRelation";
29
+ import type { CanonArtistGenreRelationAttributes, CanonArtistGenreRelationCreationAttributes } from "./CanonArtistGenreRelation";
30
+ import { CanonArtistImageHarvested as _CanonArtistImageHarvested } from "./CanonArtistImageHarvested";
31
+ import type { CanonArtistImageHarvestedAttributes, CanonArtistImageHarvestedCreationAttributes } from "./CanonArtistImageHarvested";
32
+ import { CanonArtistMemberRelation as _CanonArtistMemberRelation } from "./CanonArtistMemberRelation";
33
+ import type { CanonArtistMemberRelationAttributes, CanonArtistMemberRelationCreationAttributes } from "./CanonArtistMemberRelation";
34
+ import { CanonArtistTrackRelation as _CanonArtistTrackRelation } from "./CanonArtistTrackRelation";
35
+ import type { CanonArtistTrackRelationAttributes, CanonArtistTrackRelationCreationAttributes } from "./CanonArtistTrackRelation";
36
+ import { CanonGenre as _CanonGenre } from "./CanonGenre";
37
+ import type { CanonGenreAttributes, CanonGenreCreationAttributes } from "./CanonGenre";
38
+ import { CanonGenreExternalReferenceRelation as _CanonGenreExternalReferenceRelation } from "./CanonGenreExternalReferenceRelation";
39
+ import type { CanonGenreExternalReferenceRelationAttributes, CanonGenreExternalReferenceRelationCreationAttributes } from "./CanonGenreExternalReferenceRelation";
40
+ import { CanonLabel as _CanonLabel } from "./CanonLabel";
41
+ import type { CanonLabelAttributes, CanonLabelCreationAttributes } from "./CanonLabel";
42
+ import { CanonLabelExternalReferenceRelation as _CanonLabelExternalReferenceRelation } from "./CanonLabelExternalReferenceRelation";
43
+ import type { CanonLabelExternalReferenceRelationAttributes, CanonLabelExternalReferenceRelationCreationAttributes } from "./CanonLabelExternalReferenceRelation";
44
+ import { CanonMember as _CanonMember } from "./CanonMember";
45
+ import type { CanonMemberAttributes, CanonMemberCreationAttributes } from "./CanonMember";
46
+ import { CanonMemberExternalReferenceRelation as _CanonMemberExternalReferenceRelation } from "./CanonMemberExternalReferenceRelation";
47
+ import type { CanonMemberExternalReferenceRelationAttributes, CanonMemberExternalReferenceRelationCreationAttributes } from "./CanonMemberExternalReferenceRelation";
48
+ import { CanonToPlatformAlbumRelation as _CanonToPlatformAlbumRelation } from "./CanonToPlatformAlbumRelation";
49
+ import type { CanonToPlatformAlbumRelationAttributes, CanonToPlatformAlbumRelationCreationAttributes } from "./CanonToPlatformAlbumRelation";
50
+ import { CanonToPlatformArtistRelation as _CanonToPlatformArtistRelation } from "./CanonToPlatformArtistRelation";
51
+ import type { CanonToPlatformArtistRelationAttributes, CanonToPlatformArtistRelationCreationAttributes } from "./CanonToPlatformArtistRelation";
52
+ import { CanonToPlatformGenreRelation as _CanonToPlatformGenreRelation } from "./CanonToPlatformGenreRelation";
53
+ import type { CanonToPlatformGenreRelationAttributes, CanonToPlatformGenreRelationCreationAttributes } from "./CanonToPlatformGenreRelation";
54
+ import { CanonToPlatformTrackRelation as _CanonToPlatformTrackRelation } from "./CanonToPlatformTrackRelation";
55
+ import type { CanonToPlatformTrackRelationAttributes, CanonToPlatformTrackRelationCreationAttributes } from "./CanonToPlatformTrackRelation";
56
+ import { CanonTrack as _CanonTrack } from "./CanonTrack";
57
+ import type { CanonTrackAttributes, CanonTrackCreationAttributes } from "./CanonTrack";
58
+ import { ConfigParam as _ConfigParam } from "./ConfigParam";
59
+ import type { ConfigParamAttributes, ConfigParamCreationAttributes } from "./ConfigParam";
60
+ import { ExternalReference as _ExternalReference } from "./ExternalReference";
61
+ import type { ExternalReferenceAttributes, ExternalReferenceCreationAttributes } from "./ExternalReference";
62
+ import { JukeboxAccessType as _JukeboxAccessType } from "./JukeboxAccessType";
63
+ import type { JukeboxAccessTypeAttributes, JukeboxAccessTypeCreationAttributes } from "./JukeboxAccessType";
64
+ import { JukeboxCanonGenreRelation as _JukeboxCanonGenreRelation } from "./JukeboxCanonGenreRelation";
65
+ import type { JukeboxCanonGenreRelationAttributes, JukeboxCanonGenreRelationCreationAttributes } from "./JukeboxCanonGenreRelation";
66
+ import { JukeboxInvite as _JukeboxInvite } from "./JukeboxInvite";
67
+ import type { JukeboxInviteAttributes, JukeboxInviteCreationAttributes } from "./JukeboxInvite";
68
+ import { JukeboxQueueEntry as _JukeboxQueueEntry } from "./JukeboxQueueEntry";
69
+ import type { JukeboxQueueEntryAttributes, JukeboxQueueEntryCreationAttributes } from "./JukeboxQueueEntry";
70
+ import { JukeboxQueueMode as _JukeboxQueueMode } from "./JukeboxQueueMode";
71
+ import type { JukeboxQueueModeAttributes, JukeboxQueueModeCreationAttributes } from "./JukeboxQueueMode";
72
+ import { JukeboxSession as _JukeboxSession } from "./JukeboxSession";
73
+ import type { JukeboxSessionAttributes, JukeboxSessionCreationAttributes } from "./JukeboxSession";
74
+ import { JukeboxStatus as _JukeboxStatus } from "./JukeboxStatus";
75
+ import type { JukeboxStatusAttributes, JukeboxStatusCreationAttributes } from "./JukeboxStatus";
76
+ import { JukeboxTerminationCondition as _JukeboxTerminationCondition } from "./JukeboxTerminationCondition";
77
+ import type { JukeboxTerminationConditionAttributes, JukeboxTerminationConditionCreationAttributes } from "./JukeboxTerminationCondition";
78
+ import { JukeboxType as _JukeboxType } from "./JukeboxType";
79
+ import type { JukeboxTypeAttributes, JukeboxTypeCreationAttributes } from "./JukeboxType";
80
+ import { JukeboxUser as _JukeboxUser } from "./JukeboxUser";
81
+ import type { JukeboxUserAttributes, JukeboxUserCreationAttributes } from "./JukeboxUser";
82
+ import { JukeboxUserType as _JukeboxUserType } from "./JukeboxUserType";
83
+ import type { JukeboxUserTypeAttributes, JukeboxUserTypeCreationAttributes } from "./JukeboxUserType";
84
+ import { KnexMigrations as _KnexMigrations } from "./KnexMigrations";
85
+ import type { KnexMigrationsAttributes, KnexMigrationsCreationAttributes } from "./KnexMigrations";
86
+ import { KnexMigrationsLock as _KnexMigrationsLock } from "./KnexMigrationsLock";
87
+ import type { KnexMigrationsLockAttributes, KnexMigrationsLockCreationAttributes } from "./KnexMigrationsLock";
88
+ import { MetricsDaily as _MetricsDaily } from "./MetricsDaily";
89
+ import type { MetricsDailyAttributes, MetricsDailyCreationAttributes } from "./MetricsDaily";
90
+ import { MetricsEvent as _MetricsEvent } from "./MetricsEvent";
91
+ import type { MetricsEventAttributes, MetricsEventCreationAttributes } from "./MetricsEvent";
92
+ import { NewsSite as _NewsSite } from "./NewsSite";
93
+ import type { NewsSiteAttributes, NewsSiteCreationAttributes } from "./NewsSite";
94
+ import { PauseStatusType as _PauseStatusType } from "./PauseStatusType";
95
+ import type { PauseStatusTypeAttributes, PauseStatusTypeCreationAttributes } from "./PauseStatusType";
96
+ import { Platform as _Platform } from "./Platform";
97
+ import type { PlatformAttributes, PlatformCreationAttributes } from "./Platform";
98
+ import { PlatformAlbum as _PlatformAlbum } from "./PlatformAlbum";
99
+ import type { PlatformAlbumAttributes, PlatformAlbumCreationAttributes } from "./PlatformAlbum";
100
+ import { PlatformAlbumGenreRelation as _PlatformAlbumGenreRelation } from "./PlatformAlbumGenreRelation";
101
+ import type { PlatformAlbumGenreRelationAttributes, PlatformAlbumGenreRelationCreationAttributes } from "./PlatformAlbumGenreRelation";
102
+ import { PlatformAlbumTrackRelation as _PlatformAlbumTrackRelation } from "./PlatformAlbumTrackRelation";
103
+ import type { PlatformAlbumTrackRelationAttributes, PlatformAlbumTrackRelationCreationAttributes } from "./PlatformAlbumTrackRelation";
104
+ import { PlatformArtist as _PlatformArtist } from "./PlatformArtist";
105
+ import type { PlatformArtistAttributes, PlatformArtistCreationAttributes } from "./PlatformArtist";
106
+ import { PlatformArtistAlbumRelation as _PlatformArtistAlbumRelation } from "./PlatformArtistAlbumRelation";
107
+ import type { PlatformArtistAlbumRelationAttributes, PlatformArtistAlbumRelationCreationAttributes } from "./PlatformArtistAlbumRelation";
108
+ import { PlatformArtistGenreRelation as _PlatformArtistGenreRelation } from "./PlatformArtistGenreRelation";
109
+ import type { PlatformArtistGenreRelationAttributes, PlatformArtistGenreRelationCreationAttributes } from "./PlatformArtistGenreRelation";
110
+ import { PlatformArtistTrackRelation as _PlatformArtistTrackRelation } from "./PlatformArtistTrackRelation";
111
+ import type { PlatformArtistTrackRelationAttributes, PlatformArtistTrackRelationCreationAttributes } from "./PlatformArtistTrackRelation";
112
+ import { PlatformGenre as _PlatformGenre } from "./PlatformGenre";
113
+ import type { PlatformGenreAttributes, PlatformGenreCreationAttributes } from "./PlatformGenre";
114
+ import { PlatformTrack as _PlatformTrack } from "./PlatformTrack";
115
+ import type { PlatformTrackAttributes, PlatformTrackCreationAttributes } from "./PlatformTrack";
116
+ import { PlatformTrackGenreRelation as _PlatformTrackGenreRelation } from "./PlatformTrackGenreRelation";
117
+ import type { PlatformTrackGenreRelationAttributes, PlatformTrackGenreRelationCreationAttributes } from "./PlatformTrackGenreRelation";
118
+ import { PlatformUserAlbum as _PlatformUserAlbum } from "./PlatformUserAlbum";
119
+ import type { PlatformUserAlbumAttributes, PlatformUserAlbumCreationAttributes } from "./PlatformUserAlbum";
120
+ import { PlatformUserAlbumTrack as _PlatformUserAlbumTrack } from "./PlatformUserAlbumTrack";
121
+ import type { PlatformUserAlbumTrackAttributes, PlatformUserAlbumTrackCreationAttributes } from "./PlatformUserAlbumTrack";
122
+ import { PlatformUserPlaylist as _PlatformUserPlaylist } from "./PlatformUserPlaylist";
123
+ import type { PlatformUserPlaylistAttributes, PlatformUserPlaylistCreationAttributes } from "./PlatformUserPlaylist";
124
+ import { PlatformUserPlaylistTrack as _PlatformUserPlaylistTrack } from "./PlatformUserPlaylistTrack";
125
+ import type { PlatformUserPlaylistTrackAttributes, PlatformUserPlaylistTrackCreationAttributes } from "./PlatformUserPlaylistTrack";
126
+ import { PlaybackStatus as _PlaybackStatus } from "./PlaybackStatus";
127
+ import type { PlaybackStatusAttributes, PlaybackStatusCreationAttributes } from "./PlaybackStatus";
128
+ import { State as _State } from "./State";
129
+ import type { StateAttributes, StateCreationAttributes } from "./State";
130
+ import { TrackDeletionReason as _TrackDeletionReason } from "./TrackDeletionReason";
131
+ import type { TrackDeletionReasonAttributes, TrackDeletionReasonCreationAttributes } from "./TrackDeletionReason";
132
+ import { UnmatchedAlbum as _UnmatchedAlbum } from "./UnmatchedAlbum";
133
+ import type { UnmatchedAlbumAttributes, UnmatchedAlbumCreationAttributes } from "./UnmatchedAlbum";
134
+ import { UnmatchedArtist as _UnmatchedArtist } from "./UnmatchedArtist";
135
+ import type { UnmatchedArtistAttributes, UnmatchedArtistCreationAttributes } from "./UnmatchedArtist";
136
+ import { UserContacts as _UserContacts } from "./UserContacts";
137
+ import type { UserContactsAttributes, UserContactsCreationAttributes } from "./UserContacts";
138
+ export { _AppUser as AppUser, _AppUserDevice as AppUserDevice, _AppUserFollowRelation as AppUserFollowRelation, _AppUserPlatformRelation as AppUserPlatformRelation, _CanonAlbum as CanonAlbum, _CanonAlbumExternalReferenceRelation as CanonAlbumExternalReferenceRelation, _CanonAlbumGenreRelation as CanonAlbumGenreRelation, _CanonAlbumImageHarvested as CanonAlbumImageHarvested, _CanonAlbumLabelRelation as CanonAlbumLabelRelation, _CanonAlbumTrackRelation as CanonAlbumTrackRelation, _CanonArtist as CanonArtist, _CanonArtistAlbumRelation as CanonArtistAlbumRelation, _CanonArtistExternalReferenceRelation as CanonArtistExternalReferenceRelation, _CanonArtistGenreRelation as CanonArtistGenreRelation, _CanonArtistImageHarvested as CanonArtistImageHarvested, _CanonArtistMemberRelation as CanonArtistMemberRelation, _CanonArtistTrackRelation as CanonArtistTrackRelation, _CanonGenre as CanonGenre, _CanonGenreExternalReferenceRelation as CanonGenreExternalReferenceRelation, _CanonLabel as CanonLabel, _CanonLabelExternalReferenceRelation as CanonLabelExternalReferenceRelation, _CanonMember as CanonMember, _CanonMemberExternalReferenceRelation as CanonMemberExternalReferenceRelation, _CanonToPlatformAlbumRelation as CanonToPlatformAlbumRelation, _CanonToPlatformArtistRelation as CanonToPlatformArtistRelation, _CanonToPlatformGenreRelation as CanonToPlatformGenreRelation, _CanonToPlatformTrackRelation as CanonToPlatformTrackRelation, _CanonTrack as CanonTrack, _ConfigParam as ConfigParam, _ExternalReference as ExternalReference, _JukeboxAccessType as JukeboxAccessType, _JukeboxCanonGenreRelation as JukeboxCanonGenreRelation, _JukeboxInvite as JukeboxInvite, _JukeboxQueueEntry as JukeboxQueueEntry, _JukeboxQueueMode as JukeboxQueueMode, _JukeboxSession as JukeboxSession, _JukeboxStatus as JukeboxStatus, _JukeboxTerminationCondition as JukeboxTerminationCondition, _JukeboxType as JukeboxType, _JukeboxUser as JukeboxUser, _JukeboxUserType as JukeboxUserType, _KnexMigrations as KnexMigrations, _KnexMigrationsLock as KnexMigrationsLock, _MetricsDaily as MetricsDaily, _MetricsEvent as MetricsEvent, _NewsSite as NewsSite, _PauseStatusType as PauseStatusType, _Platform as Platform, _PlatformAlbum as PlatformAlbum, _PlatformAlbumGenreRelation as PlatformAlbumGenreRelation, _PlatformAlbumTrackRelation as PlatformAlbumTrackRelation, _PlatformArtist as PlatformArtist, _PlatformArtistAlbumRelation as PlatformArtistAlbumRelation, _PlatformArtistGenreRelation as PlatformArtistGenreRelation, _PlatformArtistTrackRelation as PlatformArtistTrackRelation, _PlatformGenre as PlatformGenre, _PlatformTrack as PlatformTrack, _PlatformTrackGenreRelation as PlatformTrackGenreRelation, _PlatformUserAlbum as PlatformUserAlbum, _PlatformUserAlbumTrack as PlatformUserAlbumTrack, _PlatformUserPlaylist as PlatformUserPlaylist, _PlatformUserPlaylistTrack as PlatformUserPlaylistTrack, _PlaybackStatus as PlaybackStatus, _State as State, _TrackDeletionReason as TrackDeletionReason, _UnmatchedAlbum as UnmatchedAlbum, _UnmatchedArtist as UnmatchedArtist, _UserContacts as UserContacts, };
139
+ export type { AppUserAttributes, AppUserCreationAttributes, AppUserDeviceAttributes, AppUserDeviceCreationAttributes, AppUserFollowRelationAttributes, AppUserFollowRelationCreationAttributes, AppUserPlatformRelationAttributes, AppUserPlatformRelationCreationAttributes, CanonAlbumAttributes, CanonAlbumCreationAttributes, CanonAlbumExternalReferenceRelationAttributes, CanonAlbumExternalReferenceRelationCreationAttributes, CanonAlbumGenreRelationAttributes, CanonAlbumGenreRelationCreationAttributes, CanonAlbumImageHarvestedAttributes, CanonAlbumImageHarvestedCreationAttributes, CanonAlbumLabelRelationAttributes, CanonAlbumLabelRelationCreationAttributes, CanonAlbumTrackRelationAttributes, CanonAlbumTrackRelationCreationAttributes, CanonArtistAttributes, CanonArtistCreationAttributes, CanonArtistAlbumRelationAttributes, CanonArtistAlbumRelationCreationAttributes, CanonArtistExternalReferenceRelationAttributes, CanonArtistExternalReferenceRelationCreationAttributes, CanonArtistGenreRelationAttributes, CanonArtistGenreRelationCreationAttributes, CanonArtistImageHarvestedAttributes, CanonArtistImageHarvestedCreationAttributes, CanonArtistMemberRelationAttributes, CanonArtistMemberRelationCreationAttributes, CanonArtistTrackRelationAttributes, CanonArtistTrackRelationCreationAttributes, CanonGenreAttributes, CanonGenreCreationAttributes, CanonGenreExternalReferenceRelationAttributes, CanonGenreExternalReferenceRelationCreationAttributes, CanonLabelAttributes, CanonLabelCreationAttributes, CanonLabelExternalReferenceRelationAttributes, CanonLabelExternalReferenceRelationCreationAttributes, CanonMemberAttributes, CanonMemberCreationAttributes, CanonMemberExternalReferenceRelationAttributes, CanonMemberExternalReferenceRelationCreationAttributes, CanonToPlatformAlbumRelationAttributes, CanonToPlatformAlbumRelationCreationAttributes, CanonToPlatformArtistRelationAttributes, CanonToPlatformArtistRelationCreationAttributes, CanonToPlatformGenreRelationAttributes, CanonToPlatformGenreRelationCreationAttributes, CanonToPlatformTrackRelationAttributes, CanonToPlatformTrackRelationCreationAttributes, CanonTrackAttributes, CanonTrackCreationAttributes, ConfigParamAttributes, ConfigParamCreationAttributes, ExternalReferenceAttributes, ExternalReferenceCreationAttributes, JukeboxAccessTypeAttributes, JukeboxAccessTypeCreationAttributes, JukeboxCanonGenreRelationAttributes, JukeboxCanonGenreRelationCreationAttributes, JukeboxInviteAttributes, JukeboxInviteCreationAttributes, JukeboxQueueEntryAttributes, JukeboxQueueEntryCreationAttributes, JukeboxQueueModeAttributes, JukeboxQueueModeCreationAttributes, JukeboxSessionAttributes, JukeboxSessionCreationAttributes, JukeboxStatusAttributes, JukeboxStatusCreationAttributes, JukeboxTerminationConditionAttributes, JukeboxTerminationConditionCreationAttributes, JukeboxTypeAttributes, JukeboxTypeCreationAttributes, JukeboxUserAttributes, JukeboxUserCreationAttributes, JukeboxUserTypeAttributes, JukeboxUserTypeCreationAttributes, KnexMigrationsAttributes, KnexMigrationsCreationAttributes, KnexMigrationsLockAttributes, KnexMigrationsLockCreationAttributes, MetricsDailyAttributes, MetricsDailyCreationAttributes, MetricsEventAttributes, MetricsEventCreationAttributes, NewsSiteAttributes, NewsSiteCreationAttributes, PauseStatusTypeAttributes, PauseStatusTypeCreationAttributes, PlatformAttributes, PlatformCreationAttributes, PlatformAlbumAttributes, PlatformAlbumCreationAttributes, PlatformAlbumGenreRelationAttributes, PlatformAlbumGenreRelationCreationAttributes, PlatformAlbumTrackRelationAttributes, PlatformAlbumTrackRelationCreationAttributes, PlatformArtistAttributes, PlatformArtistCreationAttributes, PlatformArtistAlbumRelationAttributes, PlatformArtistAlbumRelationCreationAttributes, PlatformArtistGenreRelationAttributes, PlatformArtistGenreRelationCreationAttributes, PlatformArtistTrackRelationAttributes, PlatformArtistTrackRelationCreationAttributes, PlatformGenreAttributes, PlatformGenreCreationAttributes, PlatformTrackAttributes, PlatformTrackCreationAttributes, PlatformTrackGenreRelationAttributes, PlatformTrackGenreRelationCreationAttributes, PlatformUserAlbumAttributes, PlatformUserAlbumCreationAttributes, PlatformUserAlbumTrackAttributes, PlatformUserAlbumTrackCreationAttributes, PlatformUserPlaylistAttributes, PlatformUserPlaylistCreationAttributes, PlatformUserPlaylistTrackAttributes, PlatformUserPlaylistTrackCreationAttributes, PlaybackStatusAttributes, PlaybackStatusCreationAttributes, StateAttributes, StateCreationAttributes, TrackDeletionReasonAttributes, TrackDeletionReasonCreationAttributes, UnmatchedAlbumAttributes, UnmatchedAlbumCreationAttributes, UnmatchedArtistAttributes, UnmatchedArtistCreationAttributes, UserContactsAttributes, UserContactsCreationAttributes, };
140
+ export declare function initModels(sequelize: Sequelize): {
141
+ AppUser: typeof _AppUser;
142
+ AppUserDevice: typeof _AppUserDevice;
143
+ AppUserFollowRelation: typeof _AppUserFollowRelation;
144
+ AppUserPlatformRelation: typeof _AppUserPlatformRelation;
145
+ CanonAlbum: typeof _CanonAlbum;
146
+ CanonAlbumExternalReferenceRelation: typeof _CanonAlbumExternalReferenceRelation;
147
+ CanonAlbumGenreRelation: typeof _CanonAlbumGenreRelation;
148
+ CanonAlbumImageHarvested: typeof _CanonAlbumImageHarvested;
149
+ CanonAlbumLabelRelation: typeof _CanonAlbumLabelRelation;
150
+ CanonAlbumTrackRelation: typeof _CanonAlbumTrackRelation;
151
+ CanonArtist: typeof _CanonArtist;
152
+ CanonArtistAlbumRelation: typeof _CanonArtistAlbumRelation;
153
+ CanonArtistExternalReferenceRelation: typeof _CanonArtistExternalReferenceRelation;
154
+ CanonArtistGenreRelation: typeof _CanonArtistGenreRelation;
155
+ CanonArtistImageHarvested: typeof _CanonArtistImageHarvested;
156
+ CanonArtistMemberRelation: typeof _CanonArtistMemberRelation;
157
+ CanonArtistTrackRelation: typeof _CanonArtistTrackRelation;
158
+ CanonGenre: typeof _CanonGenre;
159
+ CanonGenreExternalReferenceRelation: typeof _CanonGenreExternalReferenceRelation;
160
+ CanonLabel: typeof _CanonLabel;
161
+ CanonLabelExternalReferenceRelation: typeof _CanonLabelExternalReferenceRelation;
162
+ CanonMember: typeof _CanonMember;
163
+ CanonMemberExternalReferenceRelation: typeof _CanonMemberExternalReferenceRelation;
164
+ CanonToPlatformAlbumRelation: typeof _CanonToPlatformAlbumRelation;
165
+ CanonToPlatformArtistRelation: typeof _CanonToPlatformArtistRelation;
166
+ CanonToPlatformGenreRelation: typeof _CanonToPlatformGenreRelation;
167
+ CanonToPlatformTrackRelation: typeof _CanonToPlatformTrackRelation;
168
+ CanonTrack: typeof _CanonTrack;
169
+ ConfigParam: typeof _ConfigParam;
170
+ ExternalReference: typeof _ExternalReference;
171
+ JukeboxAccessType: typeof _JukeboxAccessType;
172
+ JukeboxCanonGenreRelation: typeof _JukeboxCanonGenreRelation;
173
+ JukeboxInvite: typeof _JukeboxInvite;
174
+ JukeboxQueueEntry: typeof _JukeboxQueueEntry;
175
+ JukeboxQueueMode: typeof _JukeboxQueueMode;
176
+ JukeboxSession: typeof _JukeboxSession;
177
+ JukeboxStatus: typeof _JukeboxStatus;
178
+ JukeboxTerminationCondition: typeof _JukeboxTerminationCondition;
179
+ JukeboxType: typeof _JukeboxType;
180
+ JukeboxUser: typeof _JukeboxUser;
181
+ JukeboxUserType: typeof _JukeboxUserType;
182
+ KnexMigrations: typeof _KnexMigrations;
183
+ KnexMigrationsLock: typeof _KnexMigrationsLock;
184
+ MetricsDaily: typeof _MetricsDaily;
185
+ MetricsEvent: typeof _MetricsEvent;
186
+ NewsSite: typeof _NewsSite;
187
+ PauseStatusType: typeof _PauseStatusType;
188
+ Platform: typeof _Platform;
189
+ PlatformAlbum: typeof _PlatformAlbum;
190
+ PlatformAlbumGenreRelation: typeof _PlatformAlbumGenreRelation;
191
+ PlatformAlbumTrackRelation: typeof _PlatformAlbumTrackRelation;
192
+ PlatformArtist: typeof _PlatformArtist;
193
+ PlatformArtistAlbumRelation: typeof _PlatformArtistAlbumRelation;
194
+ PlatformArtistGenreRelation: typeof _PlatformArtistGenreRelation;
195
+ PlatformArtistTrackRelation: typeof _PlatformArtistTrackRelation;
196
+ PlatformGenre: typeof _PlatformGenre;
197
+ PlatformTrack: typeof _PlatformTrack;
198
+ PlatformTrackGenreRelation: typeof _PlatformTrackGenreRelation;
199
+ PlatformUserAlbum: typeof _PlatformUserAlbum;
200
+ PlatformUserAlbumTrack: typeof _PlatformUserAlbumTrack;
201
+ PlatformUserPlaylist: typeof _PlatformUserPlaylist;
202
+ PlatformUserPlaylistTrack: typeof _PlatformUserPlaylistTrack;
203
+ PlaybackStatus: typeof _PlaybackStatus;
204
+ State: typeof _State;
205
+ TrackDeletionReason: typeof _TrackDeletionReason;
206
+ UnmatchedAlbum: typeof _UnmatchedAlbum;
207
+ UnmatchedArtist: typeof _UnmatchedArtist;
208
+ UserContacts: typeof _UserContacts;
209
+ };