@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
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
29
29
  class PlatformGenre extends sequelize_1.Model {
30
30
  static initModel(sequelize) {
31
31
  return PlatformGenre.init({
32
+ id: {
33
+ type: sequelize_1.DataTypes.UUID,
34
+ allowNull: false,
35
+ defaultValue: Sequelize.Sequelize.fn('uuid_generate_v1'),
36
+ primaryKey: true
37
+ },
32
38
  platformId: {
33
39
  type: sequelize_1.DataTypes.SMALLINT,
34
40
  allowNull: false,
@@ -44,12 +50,6 @@ class PlatformGenre extends sequelize_1.Model {
44
50
  allowNull: false,
45
51
  unique: "platform_genre_name_pkey"
46
52
  },
47
- id: {
48
- type: sequelize_1.DataTypes.UUID,
49
- allowNull: false,
50
- defaultValue: Sequelize.Sequelize.fn('uuid_generate_v1'),
51
- primaryKey: true
52
- },
53
53
  createDate: {
54
54
  type: sequelize_1.DataTypes.DATE,
55
55
  allowNull: false,
@@ -16,6 +16,7 @@ import type { Versus, VersusId } from './Versus';
16
16
  import type { VersusOption, VersusOptionId } from './VersusOption';
17
17
  import type { VersusPublishIssue, VersusPublishIssueId } from './VersusPublishIssue';
18
18
  export interface PlatformTrackAttributes {
19
+ id: string;
19
20
  platformId: number;
20
21
  externalTrackId: string;
21
22
  name: string;
@@ -25,7 +26,6 @@ export interface PlatformTrackAttributes {
25
26
  popularity?: number;
26
27
  discNumber?: number;
27
28
  discTrackNumber?: number;
28
- id: string;
29
29
  createDate: Date;
30
30
  updateDate: Date;
31
31
  lastHarvestDate?: Date;
@@ -33,9 +33,10 @@ export interface PlatformTrackAttributes {
33
33
  }
34
34
  export type PlatformTrackPk = "id";
35
35
  export type PlatformTrackId = PlatformTrack[PlatformTrackPk];
36
- export type PlatformTrackOptionalAttributes = "explicit" | "popularity" | "discNumber" | "discTrackNumber" | "id" | "createDate" | "updateDate" | "lastHarvestDate" | "lastHarvestLog";
36
+ export type PlatformTrackOptionalAttributes = "id" | "explicit" | "popularity" | "discNumber" | "discTrackNumber" | "createDate" | "updateDate" | "lastHarvestDate" | "lastHarvestLog";
37
37
  export type PlatformTrackCreationAttributes = Optional<PlatformTrackAttributes, PlatformTrackOptionalAttributes>;
38
38
  export declare class PlatformTrack extends Model<PlatformTrackAttributes, PlatformTrackCreationAttributes> implements PlatformTrackAttributes {
39
+ id: string;
39
40
  platformId: number;
40
41
  externalTrackId: string;
41
42
  name: string;
@@ -45,7 +46,6 @@ export declare class PlatformTrack extends Model<PlatformTrackAttributes, Platfo
45
46
  popularity?: number;
46
47
  discNumber?: number;
47
48
  discTrackNumber?: number;
48
- id: string;
49
49
  createDate: Date;
50
50
  updateDate: Date;
51
51
  lastHarvestDate?: Date;
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
29
29
  class PlatformTrack extends sequelize_1.Model {
30
30
  static initModel(sequelize) {
31
31
  return PlatformTrack.init({
32
+ id: {
33
+ type: sequelize_1.DataTypes.UUID,
34
+ allowNull: false,
35
+ defaultValue: Sequelize.Sequelize.fn('uuid_generate_v1'),
36
+ primaryKey: true
37
+ },
32
38
  platformId: {
33
39
  type: sequelize_1.DataTypes.SMALLINT,
34
40
  allowNull: false,
@@ -77,12 +83,6 @@ class PlatformTrack extends sequelize_1.Model {
77
83
  allowNull: true,
78
84
  field: 'disc_track_number'
79
85
  },
80
- id: {
81
- type: sequelize_1.DataTypes.UUID,
82
- allowNull: false,
83
- defaultValue: Sequelize.Sequelize.fn('uuid_generate_v1'),
84
- primaryKey: true
85
- },
86
86
  createDate: {
87
87
  type: sequelize_1.DataTypes.DATE,
88
88
  allowNull: false,
@@ -5,11 +5,11 @@ import type { Platform, PlatformId } from './Platform';
5
5
  import type { PlatformAlbum, PlatformAlbumId } from './PlatformAlbum';
6
6
  import type { PlatformUserAlbumTrack, PlatformUserAlbumTrackId } from './PlatformUserAlbumTrack';
7
7
  export interface PlatformUserAlbumAttributes {
8
+ id: string;
8
9
  appUserId: string;
9
10
  platformId: number;
10
11
  externalUserAlbumId: string;
11
12
  platformAlbumId: string;
12
- id: string;
13
13
  createdAt: Date;
14
14
  updatedAt: Date;
15
15
  stateId: number;
@@ -19,11 +19,11 @@ export type PlatformUserAlbumId = PlatformUserAlbum[PlatformUserAlbumPk];
19
19
  export type PlatformUserAlbumOptionalAttributes = "id" | "createdAt" | "updatedAt" | "stateId";
20
20
  export type PlatformUserAlbumCreationAttributes = Optional<PlatformUserAlbumAttributes, PlatformUserAlbumOptionalAttributes>;
21
21
  export declare class PlatformUserAlbum extends Model<PlatformUserAlbumAttributes, PlatformUserAlbumCreationAttributes> implements PlatformUserAlbumAttributes {
22
+ id: string;
22
23
  appUserId: string;
23
24
  platformId: number;
24
25
  externalUserAlbumId: string;
25
26
  platformAlbumId: string;
26
- id: string;
27
27
  createdAt: Date;
28
28
  updatedAt: Date;
29
29
  stateId: number;
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
29
29
  class PlatformUserAlbum extends sequelize_1.Model {
30
30
  static initModel(sequelize) {
31
31
  return PlatformUserAlbum.init({
32
+ id: {
33
+ type: sequelize_1.DataTypes.UUID,
34
+ allowNull: false,
35
+ defaultValue: sequelize_1.DataTypes.UUIDV4,
36
+ primaryKey: true
37
+ },
32
38
  appUserId: {
33
39
  type: sequelize_1.DataTypes.UUID,
34
40
  allowNull: false,
@@ -63,12 +69,6 @@ class PlatformUserAlbum extends sequelize_1.Model {
63
69
  unique: "platform_user_album_app_user_id_platform_album_id_unique",
64
70
  field: 'platform_album_id'
65
71
  },
66
- id: {
67
- type: sequelize_1.DataTypes.UUID,
68
- allowNull: false,
69
- defaultValue: sequelize_1.DataTypes.UUIDV4,
70
- primaryKey: true
71
- },
72
72
  createdAt: {
73
73
  type: sequelize_1.DataTypes.DATE,
74
74
  allowNull: false,
@@ -4,28 +4,28 @@ import type { Platform, PlatformId } from './Platform';
4
4
  import type { PlatformTrack, PlatformTrackId } from './PlatformTrack';
5
5
  import type { PlatformUserAlbum, PlatformUserAlbumId } from './PlatformUserAlbum';
6
6
  export interface PlatformUserAlbumTrackAttributes {
7
+ id: string;
7
8
  platformUserAlbumId: string;
8
9
  platformId: number;
9
10
  externalUserAlbumTrackId: string;
10
11
  platformTrackId: string;
11
- stateId: number;
12
- id: string;
13
12
  createdAt: Date;
14
13
  updatedAt: Date;
14
+ stateId: number;
15
15
  }
16
16
  export type PlatformUserAlbumTrackPk = "id";
17
17
  export type PlatformUserAlbumTrackId = PlatformUserAlbumTrack[PlatformUserAlbumTrackPk];
18
18
  export type PlatformUserAlbumTrackOptionalAttributes = "id" | "createdAt" | "updatedAt";
19
19
  export type PlatformUserAlbumTrackCreationAttributes = Optional<PlatformUserAlbumTrackAttributes, PlatformUserAlbumTrackOptionalAttributes>;
20
20
  export declare class PlatformUserAlbumTrack extends Model<PlatformUserAlbumTrackAttributes, PlatformUserAlbumTrackCreationAttributes> implements PlatformUserAlbumTrackAttributes {
21
+ id: string;
21
22
  platformUserAlbumId: string;
22
23
  platformId: number;
23
24
  externalUserAlbumTrackId: string;
24
25
  platformTrackId: string;
25
- stateId: number;
26
- id: string;
27
26
  createdAt: Date;
28
27
  updatedAt: Date;
28
+ stateId: number;
29
29
  platform: Platform;
30
30
  getPlatform: Sequelize.BelongsToGetAssociationMixin<Platform>;
31
31
  setPlatform: Sequelize.BelongsToSetAssociationMixin<Platform, PlatformId>;
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
29
29
  class PlatformUserAlbumTrack extends sequelize_1.Model {
30
30
  static initModel(sequelize) {
31
31
  return PlatformUserAlbumTrack.init({
32
+ id: {
33
+ type: sequelize_1.DataTypes.UUID,
34
+ allowNull: false,
35
+ defaultValue: sequelize_1.DataTypes.UUIDV4,
36
+ primaryKey: true
37
+ },
32
38
  platformUserAlbumId: {
33
39
  type: sequelize_1.DataTypes.UUID,
34
40
  allowNull: false,
@@ -63,17 +69,6 @@ class PlatformUserAlbumTrack extends sequelize_1.Model {
63
69
  unique: "platform_user_album_track_platform_user_album_id_platform_track",
64
70
  field: 'platform_track_id'
65
71
  },
66
- stateId: {
67
- type: sequelize_1.DataTypes.SMALLINT,
68
- allowNull: false,
69
- field: 'state_id'
70
- },
71
- id: {
72
- type: sequelize_1.DataTypes.UUID,
73
- allowNull: false,
74
- defaultValue: sequelize_1.DataTypes.UUIDV4,
75
- primaryKey: true
76
- },
77
72
  createdAt: {
78
73
  type: sequelize_1.DataTypes.DATE,
79
74
  allowNull: false,
@@ -85,6 +80,11 @@ class PlatformUserAlbumTrack extends sequelize_1.Model {
85
80
  allowNull: false,
86
81
  defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
87
82
  field: 'updated_at'
83
+ },
84
+ stateId: {
85
+ type: sequelize_1.DataTypes.SMALLINT,
86
+ allowNull: false,
87
+ field: 'state_id'
88
88
  }
89
89
  }, {
90
90
  sequelize,
@@ -11,14 +11,14 @@ import type { UserBookmarks, UserBookmarksId } from './UserBookmarks';
11
11
  import type { UserComments, UserCommentsId } from './UserComments';
12
12
  import type { UserLikes, UserLikesId } from './UserLikes';
13
13
  export interface PlatformUserPlaylistAttributes {
14
+ id: string;
14
15
  appUserId: string;
15
16
  platformId: number;
16
17
  externalPlaylistId: string;
17
18
  name: string;
18
19
  description?: string;
19
- snapshotId: string;
20
- id: string;
21
20
  public?: boolean;
21
+ snapshotId: string;
22
22
  collaborative: boolean;
23
23
  createDate: Date;
24
24
  updateDate: Date;
@@ -27,17 +27,17 @@ export interface PlatformUserPlaylistAttributes {
27
27
  }
28
28
  export type PlatformUserPlaylistPk = "id";
29
29
  export type PlatformUserPlaylistId = PlatformUserPlaylist[PlatformUserPlaylistPk];
30
- export type PlatformUserPlaylistOptionalAttributes = "description" | "id" | "public" | "createDate" | "updateDate" | "stateId" | "earbugAccessControlPreference";
30
+ export type PlatformUserPlaylistOptionalAttributes = "id" | "description" | "public" | "createDate" | "updateDate" | "stateId" | "earbugAccessControlPreference";
31
31
  export type PlatformUserPlaylistCreationAttributes = Optional<PlatformUserPlaylistAttributes, PlatformUserPlaylistOptionalAttributes>;
32
32
  export declare class PlatformUserPlaylist extends Model<PlatformUserPlaylistAttributes, PlatformUserPlaylistCreationAttributes> implements PlatformUserPlaylistAttributes {
33
+ id: string;
33
34
  appUserId: string;
34
35
  platformId: number;
35
36
  externalPlaylistId: string;
36
37
  name: string;
37
38
  description?: string;
38
- snapshotId: string;
39
- id: string;
40
39
  public?: boolean;
40
+ snapshotId: string;
41
41
  collaborative: boolean;
42
42
  createDate: Date;
43
43
  updateDate: Date;
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
29
29
  class PlatformUserPlaylist extends sequelize_1.Model {
30
30
  static initModel(sequelize) {
31
31
  return PlatformUserPlaylist.init({
32
+ id: {
33
+ type: sequelize_1.DataTypes.UUID,
34
+ allowNull: false,
35
+ defaultValue: Sequelize.Sequelize.fn('uuid_generate_v1'),
36
+ primaryKey: true
37
+ },
32
38
  appUserId: {
33
39
  type: sequelize_1.DataTypes.UUID,
34
40
  allowNull: false,
@@ -63,22 +69,16 @@ class PlatformUserPlaylist extends sequelize_1.Model {
63
69
  type: sequelize_1.DataTypes.TEXT,
64
70
  allowNull: true
65
71
  },
66
- snapshotId: {
67
- type: sequelize_1.DataTypes.TEXT,
68
- allowNull: false,
69
- field: 'snapshot_id'
70
- },
71
- id: {
72
- type: sequelize_1.DataTypes.UUID,
73
- allowNull: false,
74
- defaultValue: Sequelize.Sequelize.fn('uuid_generate_v1'),
75
- primaryKey: true
76
- },
77
72
  public: {
78
73
  type: sequelize_1.DataTypes.BOOLEAN,
79
74
  allowNull: true,
80
75
  defaultValue: false
81
76
  },
77
+ snapshotId: {
78
+ type: sequelize_1.DataTypes.TEXT,
79
+ allowNull: false,
80
+ field: 'snapshot_id'
81
+ },
82
82
  collaborative: {
83
83
  type: sequelize_1.DataTypes.BOOLEAN,
84
84
  allowNull: false,
@@ -5,12 +5,12 @@ import type { CanonArtist, CanonArtistId } from './CanonArtist';
5
5
  import type { PlatformUserPlaylist, PlatformUserPlaylistId } from './PlatformUserPlaylist';
6
6
  export interface PlatformUserPlaylistArtistAffinityAttributes {
7
7
  id: string;
8
- createdAt: Date;
9
- updatedAt: Date;
10
8
  platformUserPlaylistId: string;
11
9
  canonArtistId: string;
12
10
  affinityTierId: number;
13
11
  rank: number;
12
+ createdAt: Date;
13
+ updatedAt: Date;
14
14
  }
15
15
  export type PlatformUserPlaylistArtistAffinityPk = "id";
16
16
  export type PlatformUserPlaylistArtistAffinityId = PlatformUserPlaylistArtistAffinity[PlatformUserPlaylistArtistAffinityPk];
@@ -18,12 +18,12 @@ export type PlatformUserPlaylistArtistAffinityOptionalAttributes = "id" | "creat
18
18
  export type PlatformUserPlaylistArtistAffinityCreationAttributes = Optional<PlatformUserPlaylistArtistAffinityAttributes, PlatformUserPlaylistArtistAffinityOptionalAttributes>;
19
19
  export declare class PlatformUserPlaylistArtistAffinity extends Model<PlatformUserPlaylistArtistAffinityAttributes, PlatformUserPlaylistArtistAffinityCreationAttributes> implements PlatformUserPlaylistArtistAffinityAttributes {
20
20
  id: string;
21
- createdAt: Date;
22
- updatedAt: Date;
23
21
  platformUserPlaylistId: string;
24
22
  canonArtistId: string;
25
23
  affinityTierId: number;
26
24
  rank: number;
25
+ createdAt: Date;
26
+ updatedAt: Date;
27
27
  affinityTier: AffinityTier;
28
28
  getAffinityTier: Sequelize.BelongsToGetAssociationMixin<AffinityTier>;
29
29
  setAffinityTier: Sequelize.BelongsToSetAssociationMixin<AffinityTier, AffinityTierId>;
@@ -35,18 +35,6 @@ class PlatformUserPlaylistArtistAffinity extends sequelize_1.Model {
35
35
  defaultValue: sequelize_1.DataTypes.UUIDV4,
36
36
  primaryKey: true
37
37
  },
38
- createdAt: {
39
- type: sequelize_1.DataTypes.DATE,
40
- allowNull: false,
41
- defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
42
- field: 'created_at'
43
- },
44
- updatedAt: {
45
- type: sequelize_1.DataTypes.DATE,
46
- allowNull: false,
47
- defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
48
- field: 'updated_at'
49
- },
50
38
  platformUserPlaylistId: {
51
39
  type: sequelize_1.DataTypes.UUID,
52
40
  allowNull: false,
@@ -79,6 +67,18 @@ class PlatformUserPlaylistArtistAffinity extends sequelize_1.Model {
79
67
  rank: {
80
68
  type: sequelize_1.DataTypes.INTEGER,
81
69
  allowNull: false
70
+ },
71
+ createdAt: {
72
+ type: sequelize_1.DataTypes.DATE,
73
+ allowNull: false,
74
+ defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
75
+ field: 'created_at'
76
+ },
77
+ updatedAt: {
78
+ type: sequelize_1.DataTypes.DATE,
79
+ allowNull: false,
80
+ defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
81
+ field: 'updated_at'
82
82
  }
83
83
  }, {
84
84
  sequelize,
@@ -4,11 +4,11 @@ import type { AffinityTier, AffinityTierId } from './AffinityTier';
4
4
  import type { CanonGenre, CanonGenreId } from './CanonGenre';
5
5
  import type { PlatformUserPlaylist, PlatformUserPlaylistId } from './PlatformUserPlaylist';
6
6
  export interface PlatformUserPlaylistGenreAffinityAttributes {
7
+ id: string;
7
8
  platformUserPlaylistId: string;
8
9
  canonGenreId: string;
9
10
  affinityTierId: number;
10
11
  rank: number;
11
- id: string;
12
12
  createdAt: Date;
13
13
  updatedAt: Date;
14
14
  }
@@ -17,11 +17,11 @@ export type PlatformUserPlaylistGenreAffinityId = PlatformUserPlaylistGenreAffin
17
17
  export type PlatformUserPlaylistGenreAffinityOptionalAttributes = "id" | "createdAt" | "updatedAt";
18
18
  export type PlatformUserPlaylistGenreAffinityCreationAttributes = Optional<PlatformUserPlaylistGenreAffinityAttributes, PlatformUserPlaylistGenreAffinityOptionalAttributes>;
19
19
  export declare class PlatformUserPlaylistGenreAffinity extends Model<PlatformUserPlaylistGenreAffinityAttributes, PlatformUserPlaylistGenreAffinityCreationAttributes> implements PlatformUserPlaylistGenreAffinityAttributes {
20
+ id: string;
20
21
  platformUserPlaylistId: string;
21
22
  canonGenreId: string;
22
23
  affinityTierId: number;
23
24
  rank: number;
24
- id: string;
25
25
  createdAt: Date;
26
26
  updatedAt: Date;
27
27
  affinityTier: AffinityTier;
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
29
29
  class PlatformUserPlaylistGenreAffinity extends sequelize_1.Model {
30
30
  static initModel(sequelize) {
31
31
  return PlatformUserPlaylistGenreAffinity.init({
32
+ id: {
33
+ type: sequelize_1.DataTypes.UUID,
34
+ allowNull: false,
35
+ defaultValue: sequelize_1.DataTypes.UUIDV4,
36
+ primaryKey: true
37
+ },
32
38
  platformUserPlaylistId: {
33
39
  type: sequelize_1.DataTypes.UUID,
34
40
  allowNull: false,
@@ -62,12 +68,6 @@ class PlatformUserPlaylistGenreAffinity extends sequelize_1.Model {
62
68
  type: sequelize_1.DataTypes.INTEGER,
63
69
  allowNull: false
64
70
  },
65
- id: {
66
- type: sequelize_1.DataTypes.UUID,
67
- allowNull: false,
68
- defaultValue: sequelize_1.DataTypes.UUIDV4,
69
- primaryKey: true
70
- },
71
71
  createdAt: {
72
72
  type: sequelize_1.DataTypes.DATE,
73
73
  allowNull: false,
@@ -4,34 +4,34 @@ import type { PlatformTrack, PlatformTrackId } from './PlatformTrack';
4
4
  import type { PlatformUserPlaylist, PlatformUserPlaylistId } from './PlatformUserPlaylist';
5
5
  import type { State, StateId } from './State';
6
6
  export interface PlatformUserPlaylistTrackAttributes {
7
+ id: string;
7
8
  platformTrackId: string;
8
9
  platformUserPlaylistId: string;
10
+ trackPosition: number;
9
11
  addedDate?: Date;
10
12
  addedByPlatformUserId?: string;
11
- externalPlaylistTrackId: string;
12
- id: string;
13
- trackPosition: number;
14
13
  isLocal: boolean;
15
14
  createDate: Date;
16
15
  updateDate: Date;
17
16
  stateId: number;
17
+ externalPlaylistTrackId: string;
18
18
  }
19
19
  export type PlatformUserPlaylistTrackPk = "id";
20
20
  export type PlatformUserPlaylistTrackId = PlatformUserPlaylistTrack[PlatformUserPlaylistTrackPk];
21
- export type PlatformUserPlaylistTrackOptionalAttributes = "addedDate" | "addedByPlatformUserId" | "id" | "trackPosition" | "createDate" | "updateDate" | "stateId";
21
+ export type PlatformUserPlaylistTrackOptionalAttributes = "id" | "trackPosition" | "addedDate" | "addedByPlatformUserId" | "createDate" | "updateDate" | "stateId";
22
22
  export type PlatformUserPlaylistTrackCreationAttributes = Optional<PlatformUserPlaylistTrackAttributes, PlatformUserPlaylistTrackOptionalAttributes>;
23
23
  export declare class PlatformUserPlaylistTrack extends Model<PlatformUserPlaylistTrackAttributes, PlatformUserPlaylistTrackCreationAttributes> implements PlatformUserPlaylistTrackAttributes {
24
+ id: string;
24
25
  platformTrackId: string;
25
26
  platformUserPlaylistId: string;
27
+ trackPosition: number;
26
28
  addedDate?: Date;
27
29
  addedByPlatformUserId?: string;
28
- externalPlaylistTrackId: string;
29
- id: string;
30
- trackPosition: number;
31
30
  isLocal: boolean;
32
31
  createDate: Date;
33
32
  updateDate: Date;
34
33
  stateId: number;
34
+ externalPlaylistTrackId: string;
35
35
  platformTrack: PlatformTrack;
36
36
  getPlatformTrack: Sequelize.BelongsToGetAssociationMixin<PlatformTrack>;
37
37
  setPlatformTrack: Sequelize.BelongsToSetAssociationMixin<PlatformTrack, PlatformTrackId>;
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
29
29
  class PlatformUserPlaylistTrack extends sequelize_1.Model {
30
30
  static initModel(sequelize) {
31
31
  return PlatformUserPlaylistTrack.init({
32
+ id: {
33
+ type: sequelize_1.DataTypes.UUID,
34
+ allowNull: false,
35
+ defaultValue: Sequelize.Sequelize.fn('uuid_generate_v1'),
36
+ primaryKey: true
37
+ },
32
38
  platformTrackId: {
33
39
  type: sequelize_1.DataTypes.UUID,
34
40
  allowNull: false,
@@ -49,6 +55,12 @@ class PlatformUserPlaylistTrack extends sequelize_1.Model {
49
55
  unique: "uk_playlist_id_track_id",
50
56
  field: 'platform_user_playlist_id'
51
57
  },
58
+ trackPosition: {
59
+ type: sequelize_1.DataTypes.INTEGER,
60
+ allowNull: false,
61
+ defaultValue: 0,
62
+ field: 'track_position'
63
+ },
52
64
  addedDate: {
53
65
  type: sequelize_1.DataTypes.DATE,
54
66
  allowNull: true,
@@ -59,23 +71,6 @@ class PlatformUserPlaylistTrack extends sequelize_1.Model {
59
71
  allowNull: true,
60
72
  field: 'added_by_platform_user_id'
61
73
  },
62
- externalPlaylistTrackId: {
63
- type: sequelize_1.DataTypes.STRING(255),
64
- allowNull: false,
65
- field: 'external_playlist_track_id'
66
- },
67
- id: {
68
- type: sequelize_1.DataTypes.UUID,
69
- allowNull: false,
70
- defaultValue: Sequelize.Sequelize.fn('uuid_generate_v1'),
71
- primaryKey: true
72
- },
73
- trackPosition: {
74
- type: sequelize_1.DataTypes.INTEGER,
75
- allowNull: false,
76
- defaultValue: 0,
77
- field: 'track_position'
78
- },
79
74
  isLocal: {
80
75
  type: sequelize_1.DataTypes.BOOLEAN,
81
76
  allowNull: false,
@@ -103,6 +98,11 @@ class PlatformUserPlaylistTrack extends sequelize_1.Model {
103
98
  key: 'id'
104
99
  },
105
100
  field: 'state_id'
101
+ },
102
+ externalPlaylistTrackId: {
103
+ type: sequelize_1.DataTypes.STRING(255),
104
+ allowNull: false,
105
+ field: 'external_playlist_track_id'
106
106
  }
107
107
  }, {
108
108
  sequelize,
@@ -1,14 +1,14 @@
1
1
  import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
3
  export interface PlaybackStatusAttributes {
4
- description: string;
5
4
  id: number;
5
+ description: string;
6
6
  }
7
7
  export type PlaybackStatusPk = "id";
8
8
  export type PlaybackStatusId = PlaybackStatus[PlaybackStatusPk];
9
9
  export type PlaybackStatusCreationAttributes = PlaybackStatusAttributes;
10
10
  export declare class PlaybackStatus extends Model<PlaybackStatusAttributes, PlaybackStatusCreationAttributes> implements PlaybackStatusAttributes {
11
- description: string;
12
11
  id: number;
12
+ description: string;
13
13
  static initModel(sequelize: Sequelize.Sequelize): typeof PlaybackStatus;
14
14
  }
@@ -5,16 +5,16 @@ const sequelize_1 = require("sequelize");
5
5
  class PlaybackStatus extends sequelize_1.Model {
6
6
  static initModel(sequelize) {
7
7
  return PlaybackStatus.init({
8
- description: {
9
- type: sequelize_1.DataTypes.TEXT,
10
- allowNull: false
11
- },
12
8
  id: {
13
9
  autoIncrement: true,
14
10
  autoIncrementIdentity: true,
15
11
  type: sequelize_1.DataTypes.SMALLINT,
16
12
  allowNull: false,
17
13
  primaryKey: true
14
+ },
15
+ description: {
16
+ type: sequelize_1.DataTypes.TEXT,
17
+ allowNull: false
18
18
  }
19
19
  }, {
20
20
  sequelize,
@@ -10,26 +10,26 @@ import type { UserBookmarks, UserBookmarksId } from './UserBookmarks';
10
10
  import type { UserComments, UserCommentsId } from './UserComments';
11
11
  import type { UserLikes, UserLikesId } from './UserLikes';
12
12
  export interface RadioShowAttributes {
13
+ id: string;
13
14
  creatorUserId: string;
14
15
  scheduledRelease?: Date;
15
16
  title: string;
16
17
  description?: string;
17
18
  deleted?: boolean;
18
- id: string;
19
19
  createDate: Date;
20
20
  updateDate: Date;
21
21
  }
22
22
  export type RadioShowPk = "id";
23
23
  export type RadioShowId = RadioShow[RadioShowPk];
24
- export type RadioShowOptionalAttributes = "scheduledRelease" | "description" | "deleted" | "id" | "createDate" | "updateDate";
24
+ export type RadioShowOptionalAttributes = "id" | "scheduledRelease" | "description" | "deleted" | "createDate" | "updateDate";
25
25
  export type RadioShowCreationAttributes = Optional<RadioShowAttributes, RadioShowOptionalAttributes>;
26
26
  export declare class RadioShow extends Model<RadioShowAttributes, RadioShowCreationAttributes> implements RadioShowAttributes {
27
+ id: string;
27
28
  creatorUserId: string;
28
29
  scheduledRelease?: Date;
29
30
  title: string;
30
31
  description?: string;
31
32
  deleted?: boolean;
32
- id: string;
33
33
  createDate: Date;
34
34
  updateDate: Date;
35
35
  creatorUser: AppUser;
package/dist/RadioShow.js CHANGED
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
29
29
  class RadioShow extends sequelize_1.Model {
30
30
  static initModel(sequelize) {
31
31
  return RadioShow.init({
32
+ id: {
33
+ type: sequelize_1.DataTypes.UUID,
34
+ allowNull: false,
35
+ defaultValue: sequelize_1.DataTypes.UUIDV4,
36
+ primaryKey: true
37
+ },
32
38
  creatorUserId: {
33
39
  type: sequelize_1.DataTypes.UUID,
34
40
  allowNull: false,
@@ -55,12 +61,6 @@ class RadioShow extends sequelize_1.Model {
55
61
  type: sequelize_1.DataTypes.BOOLEAN,
56
62
  allowNull: true
57
63
  },
58
- id: {
59
- type: sequelize_1.DataTypes.UUID,
60
- allowNull: false,
61
- defaultValue: sequelize_1.DataTypes.UUIDV4,
62
- primaryKey: true
63
- },
64
64
  createDate: {
65
65
  type: sequelize_1.DataTypes.DATE,
66
66
  allowNull: false,
@@ -3,11 +3,11 @@ import { Model, Optional } from 'sequelize';
3
3
  import type { RadioShow, RadioShowId } from './RadioShow';
4
4
  import type { UserAbuseReports, UserAbuseReportsId } from './UserAbuseReports';
5
5
  export interface RadioShowMediaAttributes {
6
+ id: string;
6
7
  radioShowId: string;
7
8
  originalMediaType?: number;
8
9
  s3VideoUrl?: string;
9
10
  s3AudioUrl: string;
10
- id: string;
11
11
  createDate: Date;
12
12
  description?: string;
13
13
  cropInstructions?: string;
@@ -23,14 +23,14 @@ export interface RadioShowMediaAttributes {
23
23
  }
24
24
  export type RadioShowMediaPk = "id";
25
25
  export type RadioShowMediaId = RadioShowMedia[RadioShowMediaPk];
26
- export type RadioShowMediaOptionalAttributes = "originalMediaType" | "s3VideoUrl" | "id" | "createDate" | "description" | "cropInstructions" | "deleted" | "sourceS3Key" | "isAppRecorded" | "automatedModerationApproved" | "automatedModerationRejectionMetadata" | "automatedModerationDecidedAt" | "manualModerationApproved" | "manualModerationDecidedAt" | "manualModerationBy";
26
+ export type RadioShowMediaOptionalAttributes = "id" | "originalMediaType" | "s3VideoUrl" | "createDate" | "description" | "cropInstructions" | "deleted" | "sourceS3Key" | "isAppRecorded" | "automatedModerationApproved" | "automatedModerationRejectionMetadata" | "automatedModerationDecidedAt" | "manualModerationApproved" | "manualModerationDecidedAt" | "manualModerationBy";
27
27
  export type RadioShowMediaCreationAttributes = Optional<RadioShowMediaAttributes, RadioShowMediaOptionalAttributes>;
28
28
  export declare class RadioShowMedia extends Model<RadioShowMediaAttributes, RadioShowMediaCreationAttributes> implements RadioShowMediaAttributes {
29
+ id: string;
29
30
  radioShowId: string;
30
31
  originalMediaType?: number;
31
32
  s3VideoUrl?: string;
32
33
  s3AudioUrl: string;
33
- id: string;
34
34
  createDate: Date;
35
35
  description?: string;
36
36
  cropInstructions?: string;