@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.
- package/.nvmrc +1 -0
- package/dist/AppUser.d.ts +161 -0
- package/dist/AppUser.js +121 -0
- package/dist/AppUserDevice.d.ts +26 -0
- package/dist/AppUserDevice.js +88 -0
- package/dist/AppUserFollowRelation.d.ts +34 -0
- package/dist/AppUserFollowRelation.js +113 -0
- package/dist/AppUserPlatformRelation.d.ts +43 -0
- package/dist/AppUserPlatformRelation.js +132 -0
- package/dist/CanonAlbum.d.ts +119 -0
- package/dist/CanonAlbum.js +117 -0
- package/dist/CanonAlbumExternalReferenceRelation.d.ts +31 -0
- package/dist/CanonAlbumExternalReferenceRelation.js +86 -0
- package/dist/CanonAlbumGenreRelation.d.ts +29 -0
- package/dist/CanonAlbumGenreRelation.js +82 -0
- package/dist/CanonAlbumImageHarvested.d.ts +30 -0
- package/dist/CanonAlbumImageHarvested.js +78 -0
- package/dist/CanonAlbumLabelRelation.d.ts +29 -0
- package/dist/CanonAlbumLabelRelation.js +82 -0
- package/dist/CanonAlbumTrackRelation.d.ts +29 -0
- package/dist/CanonAlbumTrackRelation.js +82 -0
- package/dist/CanonArtist.d.ts +91 -0
- package/dist/CanonArtist.js +114 -0
- package/dist/CanonArtistAlbumRelation.d.ts +29 -0
- package/dist/CanonArtistAlbumRelation.js +82 -0
- package/dist/CanonArtistExternalReferenceRelation.d.ts +31 -0
- package/dist/CanonArtistExternalReferenceRelation.js +86 -0
- package/dist/CanonArtistGenreRelation.d.ts +29 -0
- package/dist/CanonArtistGenreRelation.js +82 -0
- package/dist/CanonArtistImageHarvested.d.ts +30 -0
- package/dist/CanonArtistImageHarvested.js +70 -0
- package/dist/CanonArtistMemberRelation.d.ts +29 -0
- package/dist/CanonArtistMemberRelation.js +82 -0
- package/dist/CanonArtistTrackRelation.d.ts +29 -0
- package/dist/CanonArtistTrackRelation.js +82 -0
- package/dist/CanonGenre.d.ts +133 -0
- package/dist/CanonGenre.js +93 -0
- package/dist/CanonGenreExternalReferenceRelation.d.ts +31 -0
- package/dist/CanonGenreExternalReferenceRelation.js +86 -0
- package/dist/CanonLabel.d.ts +69 -0
- package/dist/CanonLabel.js +83 -0
- package/dist/CanonLabelExternalReferenceRelation.d.ts +31 -0
- package/dist/CanonLabelExternalReferenceRelation.js +86 -0
- package/dist/CanonMember.d.ts +71 -0
- package/dist/CanonMember.js +82 -0
- package/dist/CanonMemberExternalReferenceRelation.d.ts +33 -0
- package/dist/CanonMemberExternalReferenceRelation.js +91 -0
- package/dist/CanonToPlatformAlbumRelation.d.ts +29 -0
- package/dist/CanonToPlatformAlbumRelation.js +82 -0
- package/dist/CanonToPlatformArtistRelation.d.ts +29 -0
- package/dist/CanonToPlatformArtistRelation.js +82 -0
- package/dist/CanonToPlatformGenreRelation.d.ts +29 -0
- package/dist/CanonToPlatformGenreRelation.js +82 -0
- package/dist/CanonToPlatformTrackRelation.d.ts +29 -0
- package/dist/CanonToPlatformTrackRelation.js +82 -0
- package/dist/CanonTrack.d.ts +89 -0
- package/dist/CanonTrack.js +99 -0
- package/dist/ConfigParam.d.ts +19 -0
- package/dist/ConfigParam.js +70 -0
- package/dist/ExternalReference.d.ts +139 -0
- package/dist/ExternalReference.js +79 -0
- package/dist/JukeboxAccessType.d.ts +26 -0
- package/dist/JukeboxAccessType.js +36 -0
- package/dist/JukeboxCanonGenreRelation.d.ts +33 -0
- package/dist/JukeboxCanonGenreRelation.js +101 -0
- package/dist/JukeboxInvite.d.ts +39 -0
- package/dist/JukeboxInvite.js +98 -0
- package/dist/JukeboxQueueEntry.d.ts +74 -0
- package/dist/JukeboxQueueEntry.js +142 -0
- package/dist/JukeboxQueueMode.d.ts +26 -0
- package/dist/JukeboxQueueMode.js +36 -0
- package/dist/JukeboxSession.d.ts +108 -0
- package/dist/JukeboxSession.js +133 -0
- package/dist/JukeboxStatus.d.ts +26 -0
- package/dist/JukeboxStatus.js +34 -0
- package/dist/JukeboxTerminationCondition.d.ts +26 -0
- package/dist/JukeboxTerminationCondition.js +36 -0
- package/dist/JukeboxType.d.ts +26 -0
- package/dist/JukeboxType.js +36 -0
- package/dist/JukeboxUser.d.ts +56 -0
- package/dist/JukeboxUser.js +135 -0
- package/dist/JukeboxUserType.d.ts +26 -0
- package/dist/JukeboxUserType.js +34 -0
- package/dist/KnexMigrations.d.ts +19 -0
- package/dist/KnexMigrations.js +44 -0
- package/dist/KnexMigrationsLock.d.ts +15 -0
- package/dist/KnexMigrationsLock.js +36 -0
- package/dist/MetricsDaily.d.ts +19 -0
- package/dist/MetricsDaily.js +87 -0
- package/dist/MetricsEvent.d.ts +23 -0
- package/dist/MetricsEvent.js +117 -0
- package/dist/NewsSite.d.ts +21 -0
- package/dist/NewsSite.js +57 -0
- package/dist/PauseStatusType.d.ts +26 -0
- package/dist/PauseStatusType.js +34 -0
- package/dist/Platform.d.ts +127 -0
- package/dist/Platform.js +80 -0
- package/dist/PlatformAlbum.d.ts +232 -0
- package/dist/PlatformAlbum.js +123 -0
- package/dist/PlatformAlbumGenreRelation.d.ts +29 -0
- package/dist/PlatformAlbumGenreRelation.js +82 -0
- package/dist/PlatformAlbumTrackRelation.d.ts +29 -0
- package/dist/PlatformAlbumTrackRelation.js +82 -0
- package/dist/PlatformArtist.d.ts +225 -0
- package/dist/PlatformArtist.js +109 -0
- package/dist/PlatformArtistAlbumRelation.d.ts +29 -0
- package/dist/PlatformArtistAlbumRelation.js +82 -0
- package/dist/PlatformArtistGenreRelation.d.ts +29 -0
- package/dist/PlatformArtistGenreRelation.js +82 -0
- package/dist/PlatformArtistTrackRelation.d.ts +29 -0
- package/dist/PlatformArtistTrackRelation.js +82 -0
- package/dist/PlatformGenre.d.ts +122 -0
- package/dist/PlatformGenre.js +90 -0
- package/dist/PlatformTrack.d.ts +183 -0
- package/dist/PlatformTrack.js +129 -0
- package/dist/PlatformTrackGenreRelation.d.ts +29 -0
- package/dist/PlatformTrackGenreRelation.js +82 -0
- package/dist/PlatformUserAlbum.d.ts +54 -0
- package/dist/PlatformUserAlbum.js +121 -0
- package/dist/PlatformUserAlbumTrack.d.ts +42 -0
- package/dist/PlatformUserAlbumTrack.js +121 -0
- package/dist/PlatformUserPlaylist.d.ts +62 -0
- package/dist/PlatformUserPlaylist.js +135 -0
- package/dist/PlatformUserPlaylistTrack.d.ts +48 -0
- package/dist/PlatformUserPlaylistTrack.js +132 -0
- package/dist/PlaybackStatus.d.ts +26 -0
- package/dist/PlaybackStatus.js +36 -0
- package/dist/State.d.ts +50 -0
- package/dist/State.js +36 -0
- package/dist/TrackDeletionReason.d.ts +26 -0
- package/dist/TrackDeletionReason.js +34 -0
- package/dist/UnmatchedAlbum.d.ts +22 -0
- package/dist/UnmatchedAlbum.js +70 -0
- package/dist/UnmatchedArtist.d.ts +26 -0
- package/dist/UnmatchedArtist.js +81 -0
- package/dist/UserContacts.d.ts +46 -0
- package/dist/UserContacts.js +105 -0
- package/dist/init-models.d.ts +209 -0
- package/dist/init-models.js +507 -0
- package/model_options.json +3 -0
- package/models/AppUser.ts +267 -0
- package/models/AppUserDevice.ts +88 -0
- package/models/AppUserFollowRelation.ts +122 -0
- package/models/AppUserPlatformRelation.ts +150 -0
- package/models/CanonAlbum.ts +216 -0
- package/models/CanonAlbumExternalReferenceRelation.ts +92 -0
- package/models/CanonAlbumGenreRelation.ts +86 -0
- package/models/CanonAlbumImageHarvested.ts +106 -0
- package/models/CanonAlbumLabelRelation.ts +86 -0
- package/models/CanonAlbumTrackRelation.ts +86 -0
- package/models/CanonArtist.ts +183 -0
- package/models/CanonArtistAlbumRelation.ts +86 -0
- package/models/CanonArtistExternalReferenceRelation.ts +92 -0
- package/models/CanonArtistGenreRelation.ts +86 -0
- package/models/CanonArtistImageHarvested.ts +98 -0
- package/models/CanonArtistMemberRelation.ts +86 -0
- package/models/CanonArtistTrackRelation.ts +86 -0
- package/models/CanonGenre.ts +208 -0
- package/models/CanonGenreExternalReferenceRelation.ts +92 -0
- package/models/CanonLabel.ts +129 -0
- package/models/CanonLabelExternalReferenceRelation.ts +92 -0
- package/models/CanonMember.ts +130 -0
- package/models/CanonMemberExternalReferenceRelation.ts +99 -0
- package/models/CanonToPlatformAlbumRelation.ts +86 -0
- package/models/CanonToPlatformArtistRelation.ts +86 -0
- package/models/CanonToPlatformGenreRelation.ts +86 -0
- package/models/CanonToPlatformTrackRelation.ts +86 -0
- package/models/CanonTrack.ts +167 -0
- package/models/ConfigParam.ts +62 -0
- package/models/ExternalReference.ts +201 -0
- package/models/JukeboxAccessType.ts +60 -0
- package/models/JukeboxCanonGenreRelation.ts +109 -0
- package/models/JukeboxInvite.ts +113 -0
- package/models/JukeboxQueueEntry.ts +195 -0
- package/models/JukeboxQueueMode.ts +60 -0
- package/models/JukeboxSession.ts +223 -0
- package/models/JukeboxStatus.ts +58 -0
- package/models/JukeboxTerminationCondition.ts +60 -0
- package/models/JukeboxType.ts +60 -0
- package/models/JukeboxUser.ts +169 -0
- package/models/JukeboxUserType.ts +58 -0
- package/models/KnexMigrations.ts +60 -0
- package/models/KnexMigrationsLock.ts +48 -0
- package/models/MetricsDaily.ts +79 -0
- package/models/MetricsEvent.ts +114 -0
- package/models/NewsSite.ts +75 -0
- package/models/PauseStatusType.ts +58 -0
- package/models/Platform.ts +189 -0
- package/models/PlatformAlbum.ts +345 -0
- package/models/PlatformAlbumGenreRelation.ts +86 -0
- package/models/PlatformAlbumTrackRelation.ts +86 -0
- package/models/PlatformArtist.ts +324 -0
- package/models/PlatformArtistAlbumRelation.ts +86 -0
- package/models/PlatformArtistGenreRelation.ts +86 -0
- package/models/PlatformArtistTrackRelation.ts +86 -0
- package/models/PlatformGenre.ts +194 -0
- package/models/PlatformTrack.ts +298 -0
- package/models/PlatformTrackGenreRelation.ts +86 -0
- package/models/PlatformUserAlbum.ts +152 -0
- package/models/PlatformUserAlbumTrack.ts +139 -0
- package/models/PlatformUserPlaylist.ts +174 -0
- package/models/PlatformUserPlaylistTrack.ts +156 -0
- package/models/PlaybackStatus.ts +60 -0
- package/models/State.ts +86 -0
- package/models/TrackDeletionReason.ts +58 -0
- package/models/UnmatchedAlbum.ts +66 -0
- package/models/UnmatchedArtist.ts +81 -0
- package/models/UserContacts.ts +149 -0
- package/models/init-models.ts +716 -0
- package/package.json +19 -0
- package/tsconfig.json +52 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model, Optional } from 'sequelize';
|
|
3
|
+
import type { CanonArtist, CanonArtistId } from './CanonArtist';
|
|
4
|
+
import type { CanonArtistExternalReferenceRelation, CanonArtistExternalReferenceRelationId } from './CanonArtistExternalReferenceRelation';
|
|
5
|
+
import type { CanonArtistGenreRelation, CanonArtistGenreRelationId } from './CanonArtistGenreRelation';
|
|
6
|
+
import type { CanonArtistMemberRelation, CanonArtistMemberRelationId } from './CanonArtistMemberRelation';
|
|
7
|
+
import type { CanonArtistTrackRelation, CanonArtistTrackRelationId } from './CanonArtistTrackRelation';
|
|
8
|
+
import type { CanonGenre, CanonGenreId } from './CanonGenre';
|
|
9
|
+
import type { CanonMember, CanonMemberId } from './CanonMember';
|
|
10
|
+
import type { CanonToPlatformArtistRelation, CanonToPlatformArtistRelationId } from './CanonToPlatformArtistRelation';
|
|
11
|
+
import type { ExternalReference, ExternalReferenceId } from './ExternalReference';
|
|
12
|
+
import type { Platform, PlatformId } from './Platform';
|
|
13
|
+
import type { PlatformAlbum, PlatformAlbumId } from './PlatformAlbum';
|
|
14
|
+
import type { PlatformArtistAlbumRelation, PlatformArtistAlbumRelationId } from './PlatformArtistAlbumRelation';
|
|
15
|
+
import type { PlatformArtistGenreRelation, PlatformArtistGenreRelationId } from './PlatformArtistGenreRelation';
|
|
16
|
+
import type { PlatformArtistTrackRelation, PlatformArtistTrackRelationId } from './PlatformArtistTrackRelation';
|
|
17
|
+
import type { PlatformGenre, PlatformGenreId } from './PlatformGenre';
|
|
18
|
+
import type { PlatformTrack, PlatformTrackId } from './PlatformTrack';
|
|
19
|
+
export interface PlatformArtistAttributes {
|
|
20
|
+
id: string;
|
|
21
|
+
externalArtistId: string;
|
|
22
|
+
platformId: number;
|
|
23
|
+
name: string;
|
|
24
|
+
asciiName: string;
|
|
25
|
+
externalUri?: string;
|
|
26
|
+
createDate: Date;
|
|
27
|
+
updateDate: Date;
|
|
28
|
+
genres?: string[];
|
|
29
|
+
}
|
|
30
|
+
export type PlatformArtistPk = "id";
|
|
31
|
+
export type PlatformArtistId = PlatformArtist[PlatformArtistPk];
|
|
32
|
+
export type PlatformArtistOptionalAttributes = "id" | "externalUri" | "createDate" | "updateDate" | "genres";
|
|
33
|
+
export type PlatformArtistCreationAttributes = Optional<PlatformArtistAttributes, PlatformArtistOptionalAttributes>;
|
|
34
|
+
export declare class PlatformArtist extends Model<PlatformArtistAttributes, PlatformArtistCreationAttributes> implements PlatformArtistAttributes {
|
|
35
|
+
id: string;
|
|
36
|
+
externalArtistId: string;
|
|
37
|
+
platformId: number;
|
|
38
|
+
name: string;
|
|
39
|
+
asciiName: string;
|
|
40
|
+
externalUri?: string;
|
|
41
|
+
createDate: Date;
|
|
42
|
+
updateDate: Date;
|
|
43
|
+
genres?: string[];
|
|
44
|
+
platform: Platform;
|
|
45
|
+
getPlatform: Sequelize.BelongsToGetAssociationMixin<Platform>;
|
|
46
|
+
setPlatform: Sequelize.BelongsToSetAssociationMixin<Platform, PlatformId>;
|
|
47
|
+
createPlatform: Sequelize.BelongsToCreateAssociationMixin<Platform>;
|
|
48
|
+
canonArtistIdCanonArtistCanonToPlatformArtistRelations: CanonArtist[];
|
|
49
|
+
getCanonArtistIdCanonArtistCanonToPlatformArtistRelations: Sequelize.BelongsToManyGetAssociationsMixin<CanonArtist>;
|
|
50
|
+
setCanonArtistIdCanonArtistCanonToPlatformArtistRelations: Sequelize.BelongsToManySetAssociationsMixin<CanonArtist, CanonArtistId>;
|
|
51
|
+
addCanonArtistIdCanonArtistCanonToPlatformArtistRelation: Sequelize.BelongsToManyAddAssociationMixin<CanonArtist, CanonArtistId>;
|
|
52
|
+
addCanonArtistIdCanonArtistCanonToPlatformArtistRelations: Sequelize.BelongsToManyAddAssociationsMixin<CanonArtist, CanonArtistId>;
|
|
53
|
+
createCanonArtistIdCanonArtistCanonToPlatformArtistRelation: Sequelize.BelongsToManyCreateAssociationMixin<CanonArtist>;
|
|
54
|
+
removeCanonArtistIdCanonArtistCanonToPlatformArtistRelation: Sequelize.BelongsToManyRemoveAssociationMixin<CanonArtist, CanonArtistId>;
|
|
55
|
+
removeCanonArtistIdCanonArtistCanonToPlatformArtistRelations: Sequelize.BelongsToManyRemoveAssociationsMixin<CanonArtist, CanonArtistId>;
|
|
56
|
+
hasCanonArtistIdCanonArtistCanonToPlatformArtistRelation: Sequelize.BelongsToManyHasAssociationMixin<CanonArtist, CanonArtistId>;
|
|
57
|
+
hasCanonArtistIdCanonArtistCanonToPlatformArtistRelations: Sequelize.BelongsToManyHasAssociationsMixin<CanonArtist, CanonArtistId>;
|
|
58
|
+
countCanonArtistIdCanonArtistCanonToPlatformArtistRelations: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
59
|
+
canonArtistExternalReferenceRelations: CanonArtistExternalReferenceRelation[];
|
|
60
|
+
getCanonArtistExternalReferenceRelations: Sequelize.HasManyGetAssociationsMixin<CanonArtistExternalReferenceRelation>;
|
|
61
|
+
setCanonArtistExternalReferenceRelations: Sequelize.HasManySetAssociationsMixin<CanonArtistExternalReferenceRelation, CanonArtistExternalReferenceRelationId>;
|
|
62
|
+
addCanonArtistExternalReferenceRelation: Sequelize.HasManyAddAssociationMixin<CanonArtistExternalReferenceRelation, CanonArtistExternalReferenceRelationId>;
|
|
63
|
+
addCanonArtistExternalReferenceRelations: Sequelize.HasManyAddAssociationsMixin<CanonArtistExternalReferenceRelation, CanonArtistExternalReferenceRelationId>;
|
|
64
|
+
createCanonArtistExternalReferenceRelation: Sequelize.HasManyCreateAssociationMixin<CanonArtistExternalReferenceRelation>;
|
|
65
|
+
removeCanonArtistExternalReferenceRelation: Sequelize.HasManyRemoveAssociationMixin<CanonArtistExternalReferenceRelation, CanonArtistExternalReferenceRelationId>;
|
|
66
|
+
removeCanonArtistExternalReferenceRelations: Sequelize.HasManyRemoveAssociationsMixin<CanonArtistExternalReferenceRelation, CanonArtistExternalReferenceRelationId>;
|
|
67
|
+
hasCanonArtistExternalReferenceRelation: Sequelize.HasManyHasAssociationMixin<CanonArtistExternalReferenceRelation, CanonArtistExternalReferenceRelationId>;
|
|
68
|
+
hasCanonArtistExternalReferenceRelations: Sequelize.HasManyHasAssociationsMixin<CanonArtistExternalReferenceRelation, CanonArtistExternalReferenceRelationId>;
|
|
69
|
+
countCanonArtistExternalReferenceRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
70
|
+
canonArtistGenreRelations: CanonArtistGenreRelation[];
|
|
71
|
+
getCanonArtistGenreRelations: Sequelize.HasManyGetAssociationsMixin<CanonArtistGenreRelation>;
|
|
72
|
+
setCanonArtistGenreRelations: Sequelize.HasManySetAssociationsMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
73
|
+
addCanonArtistGenreRelation: Sequelize.HasManyAddAssociationMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
74
|
+
addCanonArtistGenreRelations: Sequelize.HasManyAddAssociationsMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
75
|
+
createCanonArtistGenreRelation: Sequelize.HasManyCreateAssociationMixin<CanonArtistGenreRelation>;
|
|
76
|
+
removeCanonArtistGenreRelation: Sequelize.HasManyRemoveAssociationMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
77
|
+
removeCanonArtistGenreRelations: Sequelize.HasManyRemoveAssociationsMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
78
|
+
hasCanonArtistGenreRelation: Sequelize.HasManyHasAssociationMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
79
|
+
hasCanonArtistGenreRelations: Sequelize.HasManyHasAssociationsMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
80
|
+
countCanonArtistGenreRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
81
|
+
canonArtistMemberRelations: CanonArtistMemberRelation[];
|
|
82
|
+
getCanonArtistMemberRelations: Sequelize.HasManyGetAssociationsMixin<CanonArtistMemberRelation>;
|
|
83
|
+
setCanonArtistMemberRelations: Sequelize.HasManySetAssociationsMixin<CanonArtistMemberRelation, CanonArtistMemberRelationId>;
|
|
84
|
+
addCanonArtistMemberRelation: Sequelize.HasManyAddAssociationMixin<CanonArtistMemberRelation, CanonArtistMemberRelationId>;
|
|
85
|
+
addCanonArtistMemberRelations: Sequelize.HasManyAddAssociationsMixin<CanonArtistMemberRelation, CanonArtistMemberRelationId>;
|
|
86
|
+
createCanonArtistMemberRelation: Sequelize.HasManyCreateAssociationMixin<CanonArtistMemberRelation>;
|
|
87
|
+
removeCanonArtistMemberRelation: Sequelize.HasManyRemoveAssociationMixin<CanonArtistMemberRelation, CanonArtistMemberRelationId>;
|
|
88
|
+
removeCanonArtistMemberRelations: Sequelize.HasManyRemoveAssociationsMixin<CanonArtistMemberRelation, CanonArtistMemberRelationId>;
|
|
89
|
+
hasCanonArtistMemberRelation: Sequelize.HasManyHasAssociationMixin<CanonArtistMemberRelation, CanonArtistMemberRelationId>;
|
|
90
|
+
hasCanonArtistMemberRelations: Sequelize.HasManyHasAssociationsMixin<CanonArtistMemberRelation, CanonArtistMemberRelationId>;
|
|
91
|
+
countCanonArtistMemberRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
92
|
+
canonArtistTrackRelations: CanonArtistTrackRelation[];
|
|
93
|
+
getCanonArtistTrackRelations: Sequelize.HasManyGetAssociationsMixin<CanonArtistTrackRelation>;
|
|
94
|
+
setCanonArtistTrackRelations: Sequelize.HasManySetAssociationsMixin<CanonArtistTrackRelation, CanonArtistTrackRelationId>;
|
|
95
|
+
addCanonArtistTrackRelation: Sequelize.HasManyAddAssociationMixin<CanonArtistTrackRelation, CanonArtistTrackRelationId>;
|
|
96
|
+
addCanonArtistTrackRelations: Sequelize.HasManyAddAssociationsMixin<CanonArtistTrackRelation, CanonArtistTrackRelationId>;
|
|
97
|
+
createCanonArtistTrackRelation: Sequelize.HasManyCreateAssociationMixin<CanonArtistTrackRelation>;
|
|
98
|
+
removeCanonArtistTrackRelation: Sequelize.HasManyRemoveAssociationMixin<CanonArtistTrackRelation, CanonArtistTrackRelationId>;
|
|
99
|
+
removeCanonArtistTrackRelations: Sequelize.HasManyRemoveAssociationsMixin<CanonArtistTrackRelation, CanonArtistTrackRelationId>;
|
|
100
|
+
hasCanonArtistTrackRelation: Sequelize.HasManyHasAssociationMixin<CanonArtistTrackRelation, CanonArtistTrackRelationId>;
|
|
101
|
+
hasCanonArtistTrackRelations: Sequelize.HasManyHasAssociationsMixin<CanonArtistTrackRelation, CanonArtistTrackRelationId>;
|
|
102
|
+
countCanonArtistTrackRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
103
|
+
canonGenreIdCanonGenreCanonArtistGenreRelations: CanonGenre[];
|
|
104
|
+
getCanonGenreIdCanonGenreCanonArtistGenreRelations: Sequelize.BelongsToManyGetAssociationsMixin<CanonGenre>;
|
|
105
|
+
setCanonGenreIdCanonGenreCanonArtistGenreRelations: Sequelize.BelongsToManySetAssociationsMixin<CanonGenre, CanonGenreId>;
|
|
106
|
+
addCanonGenreIdCanonGenreCanonArtistGenreRelation: Sequelize.BelongsToManyAddAssociationMixin<CanonGenre, CanonGenreId>;
|
|
107
|
+
addCanonGenreIdCanonGenreCanonArtistGenreRelations: Sequelize.BelongsToManyAddAssociationsMixin<CanonGenre, CanonGenreId>;
|
|
108
|
+
createCanonGenreIdCanonGenreCanonArtistGenreRelation: Sequelize.BelongsToManyCreateAssociationMixin<CanonGenre>;
|
|
109
|
+
removeCanonGenreIdCanonGenreCanonArtistGenreRelation: Sequelize.BelongsToManyRemoveAssociationMixin<CanonGenre, CanonGenreId>;
|
|
110
|
+
removeCanonGenreIdCanonGenreCanonArtistGenreRelations: Sequelize.BelongsToManyRemoveAssociationsMixin<CanonGenre, CanonGenreId>;
|
|
111
|
+
hasCanonGenreIdCanonGenreCanonArtistGenreRelation: Sequelize.BelongsToManyHasAssociationMixin<CanonGenre, CanonGenreId>;
|
|
112
|
+
hasCanonGenreIdCanonGenreCanonArtistGenreRelations: Sequelize.BelongsToManyHasAssociationsMixin<CanonGenre, CanonGenreId>;
|
|
113
|
+
countCanonGenreIdCanonGenreCanonArtistGenreRelations: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
114
|
+
canonMemberIdCanonMembers: CanonMember[];
|
|
115
|
+
getCanonMemberIdCanonMembers: Sequelize.BelongsToManyGetAssociationsMixin<CanonMember>;
|
|
116
|
+
setCanonMemberIdCanonMembers: Sequelize.BelongsToManySetAssociationsMixin<CanonMember, CanonMemberId>;
|
|
117
|
+
addCanonMemberIdCanonMember: Sequelize.BelongsToManyAddAssociationMixin<CanonMember, CanonMemberId>;
|
|
118
|
+
addCanonMemberIdCanonMembers: Sequelize.BelongsToManyAddAssociationsMixin<CanonMember, CanonMemberId>;
|
|
119
|
+
createCanonMemberIdCanonMember: Sequelize.BelongsToManyCreateAssociationMixin<CanonMember>;
|
|
120
|
+
removeCanonMemberIdCanonMember: Sequelize.BelongsToManyRemoveAssociationMixin<CanonMember, CanonMemberId>;
|
|
121
|
+
removeCanonMemberIdCanonMembers: Sequelize.BelongsToManyRemoveAssociationsMixin<CanonMember, CanonMemberId>;
|
|
122
|
+
hasCanonMemberIdCanonMember: Sequelize.BelongsToManyHasAssociationMixin<CanonMember, CanonMemberId>;
|
|
123
|
+
hasCanonMemberIdCanonMembers: Sequelize.BelongsToManyHasAssociationsMixin<CanonMember, CanonMemberId>;
|
|
124
|
+
countCanonMemberIdCanonMembers: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
125
|
+
canonToPlatformArtistRelations: CanonToPlatformArtistRelation[];
|
|
126
|
+
getCanonToPlatformArtistRelations: Sequelize.HasManyGetAssociationsMixin<CanonToPlatformArtistRelation>;
|
|
127
|
+
setCanonToPlatformArtistRelations: Sequelize.HasManySetAssociationsMixin<CanonToPlatformArtistRelation, CanonToPlatformArtistRelationId>;
|
|
128
|
+
addCanonToPlatformArtistRelation: Sequelize.HasManyAddAssociationMixin<CanonToPlatformArtistRelation, CanonToPlatformArtistRelationId>;
|
|
129
|
+
addCanonToPlatformArtistRelations: Sequelize.HasManyAddAssociationsMixin<CanonToPlatformArtistRelation, CanonToPlatformArtistRelationId>;
|
|
130
|
+
createCanonToPlatformArtistRelation: Sequelize.HasManyCreateAssociationMixin<CanonToPlatformArtistRelation>;
|
|
131
|
+
removeCanonToPlatformArtistRelation: Sequelize.HasManyRemoveAssociationMixin<CanonToPlatformArtistRelation, CanonToPlatformArtistRelationId>;
|
|
132
|
+
removeCanonToPlatformArtistRelations: Sequelize.HasManyRemoveAssociationsMixin<CanonToPlatformArtistRelation, CanonToPlatformArtistRelationId>;
|
|
133
|
+
hasCanonToPlatformArtistRelation: Sequelize.HasManyHasAssociationMixin<CanonToPlatformArtistRelation, CanonToPlatformArtistRelationId>;
|
|
134
|
+
hasCanonToPlatformArtistRelations: Sequelize.HasManyHasAssociationsMixin<CanonToPlatformArtistRelation, CanonToPlatformArtistRelationId>;
|
|
135
|
+
countCanonToPlatformArtistRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
136
|
+
externalReferenceIdExternalReferenceCanonArtistExternalReferenceRelations: ExternalReference[];
|
|
137
|
+
getExternalReferenceIdExternalReferenceCanonArtistExternalReferenceRelations: Sequelize.BelongsToManyGetAssociationsMixin<ExternalReference>;
|
|
138
|
+
setExternalReferenceIdExternalReferenceCanonArtistExternalReferenceRelations: Sequelize.BelongsToManySetAssociationsMixin<ExternalReference, ExternalReferenceId>;
|
|
139
|
+
addExternalReferenceIdExternalReferenceCanonArtistExternalReferenceRelation: Sequelize.BelongsToManyAddAssociationMixin<ExternalReference, ExternalReferenceId>;
|
|
140
|
+
addExternalReferenceIdExternalReferenceCanonArtistExternalReferenceRelations: Sequelize.BelongsToManyAddAssociationsMixin<ExternalReference, ExternalReferenceId>;
|
|
141
|
+
createExternalReferenceIdExternalReferenceCanonArtistExternalReferenceRelation: Sequelize.BelongsToManyCreateAssociationMixin<ExternalReference>;
|
|
142
|
+
removeExternalReferenceIdExternalReferenceCanonArtistExternalReferenceRelation: Sequelize.BelongsToManyRemoveAssociationMixin<ExternalReference, ExternalReferenceId>;
|
|
143
|
+
removeExternalReferenceIdExternalReferenceCanonArtistExternalReferenceRelations: Sequelize.BelongsToManyRemoveAssociationsMixin<ExternalReference, ExternalReferenceId>;
|
|
144
|
+
hasExternalReferenceIdExternalReferenceCanonArtistExternalReferenceRelation: Sequelize.BelongsToManyHasAssociationMixin<ExternalReference, ExternalReferenceId>;
|
|
145
|
+
hasExternalReferenceIdExternalReferenceCanonArtistExternalReferenceRelations: Sequelize.BelongsToManyHasAssociationsMixin<ExternalReference, ExternalReferenceId>;
|
|
146
|
+
countExternalReferenceIdExternalReferenceCanonArtistExternalReferenceRelations: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
147
|
+
platformAlbumIdPlatformAlbumPlatformArtistAlbumRelations: PlatformAlbum[];
|
|
148
|
+
getPlatformAlbumIdPlatformAlbumPlatformArtistAlbumRelations: Sequelize.BelongsToManyGetAssociationsMixin<PlatformAlbum>;
|
|
149
|
+
setPlatformAlbumIdPlatformAlbumPlatformArtistAlbumRelations: Sequelize.BelongsToManySetAssociationsMixin<PlatformAlbum, PlatformAlbumId>;
|
|
150
|
+
addPlatformAlbumIdPlatformAlbumPlatformArtistAlbumRelation: Sequelize.BelongsToManyAddAssociationMixin<PlatformAlbum, PlatformAlbumId>;
|
|
151
|
+
addPlatformAlbumIdPlatformAlbumPlatformArtistAlbumRelations: Sequelize.BelongsToManyAddAssociationsMixin<PlatformAlbum, PlatformAlbumId>;
|
|
152
|
+
createPlatformAlbumIdPlatformAlbumPlatformArtistAlbumRelation: Sequelize.BelongsToManyCreateAssociationMixin<PlatformAlbum>;
|
|
153
|
+
removePlatformAlbumIdPlatformAlbumPlatformArtistAlbumRelation: Sequelize.BelongsToManyRemoveAssociationMixin<PlatformAlbum, PlatformAlbumId>;
|
|
154
|
+
removePlatformAlbumIdPlatformAlbumPlatformArtistAlbumRelations: Sequelize.BelongsToManyRemoveAssociationsMixin<PlatformAlbum, PlatformAlbumId>;
|
|
155
|
+
hasPlatformAlbumIdPlatformAlbumPlatformArtistAlbumRelation: Sequelize.BelongsToManyHasAssociationMixin<PlatformAlbum, PlatformAlbumId>;
|
|
156
|
+
hasPlatformAlbumIdPlatformAlbumPlatformArtistAlbumRelations: Sequelize.BelongsToManyHasAssociationsMixin<PlatformAlbum, PlatformAlbumId>;
|
|
157
|
+
countPlatformAlbumIdPlatformAlbumPlatformArtistAlbumRelations: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
158
|
+
platformArtistAlbumRelations: PlatformArtistAlbumRelation[];
|
|
159
|
+
getPlatformArtistAlbumRelations: Sequelize.HasManyGetAssociationsMixin<PlatformArtistAlbumRelation>;
|
|
160
|
+
setPlatformArtistAlbumRelations: Sequelize.HasManySetAssociationsMixin<PlatformArtistAlbumRelation, PlatformArtistAlbumRelationId>;
|
|
161
|
+
addPlatformArtistAlbumRelation: Sequelize.HasManyAddAssociationMixin<PlatformArtistAlbumRelation, PlatformArtistAlbumRelationId>;
|
|
162
|
+
addPlatformArtistAlbumRelations: Sequelize.HasManyAddAssociationsMixin<PlatformArtistAlbumRelation, PlatformArtistAlbumRelationId>;
|
|
163
|
+
createPlatformArtistAlbumRelation: Sequelize.HasManyCreateAssociationMixin<PlatformArtistAlbumRelation>;
|
|
164
|
+
removePlatformArtistAlbumRelation: Sequelize.HasManyRemoveAssociationMixin<PlatformArtistAlbumRelation, PlatformArtistAlbumRelationId>;
|
|
165
|
+
removePlatformArtistAlbumRelations: Sequelize.HasManyRemoveAssociationsMixin<PlatformArtistAlbumRelation, PlatformArtistAlbumRelationId>;
|
|
166
|
+
hasPlatformArtistAlbumRelation: Sequelize.HasManyHasAssociationMixin<PlatformArtistAlbumRelation, PlatformArtistAlbumRelationId>;
|
|
167
|
+
hasPlatformArtistAlbumRelations: Sequelize.HasManyHasAssociationsMixin<PlatformArtistAlbumRelation, PlatformArtistAlbumRelationId>;
|
|
168
|
+
countPlatformArtistAlbumRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
169
|
+
platformArtistGenreRelations: PlatformArtistGenreRelation[];
|
|
170
|
+
getPlatformArtistGenreRelations: Sequelize.HasManyGetAssociationsMixin<PlatformArtistGenreRelation>;
|
|
171
|
+
setPlatformArtistGenreRelations: Sequelize.HasManySetAssociationsMixin<PlatformArtistGenreRelation, PlatformArtistGenreRelationId>;
|
|
172
|
+
addPlatformArtistGenreRelation: Sequelize.HasManyAddAssociationMixin<PlatformArtistGenreRelation, PlatformArtistGenreRelationId>;
|
|
173
|
+
addPlatformArtistGenreRelations: Sequelize.HasManyAddAssociationsMixin<PlatformArtistGenreRelation, PlatformArtistGenreRelationId>;
|
|
174
|
+
createPlatformArtistGenreRelation: Sequelize.HasManyCreateAssociationMixin<PlatformArtistGenreRelation>;
|
|
175
|
+
removePlatformArtistGenreRelation: Sequelize.HasManyRemoveAssociationMixin<PlatformArtistGenreRelation, PlatformArtistGenreRelationId>;
|
|
176
|
+
removePlatformArtistGenreRelations: Sequelize.HasManyRemoveAssociationsMixin<PlatformArtistGenreRelation, PlatformArtistGenreRelationId>;
|
|
177
|
+
hasPlatformArtistGenreRelation: Sequelize.HasManyHasAssociationMixin<PlatformArtistGenreRelation, PlatformArtistGenreRelationId>;
|
|
178
|
+
hasPlatformArtistGenreRelations: Sequelize.HasManyHasAssociationsMixin<PlatformArtistGenreRelation, PlatformArtistGenreRelationId>;
|
|
179
|
+
countPlatformArtistGenreRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
180
|
+
platformArtistTrackRelations: PlatformArtistTrackRelation[];
|
|
181
|
+
getPlatformArtistTrackRelations: Sequelize.HasManyGetAssociationsMixin<PlatformArtistTrackRelation>;
|
|
182
|
+
setPlatformArtistTrackRelations: Sequelize.HasManySetAssociationsMixin<PlatformArtistTrackRelation, PlatformArtistTrackRelationId>;
|
|
183
|
+
addPlatformArtistTrackRelation: Sequelize.HasManyAddAssociationMixin<PlatformArtistTrackRelation, PlatformArtistTrackRelationId>;
|
|
184
|
+
addPlatformArtistTrackRelations: Sequelize.HasManyAddAssociationsMixin<PlatformArtistTrackRelation, PlatformArtistTrackRelationId>;
|
|
185
|
+
createPlatformArtistTrackRelation: Sequelize.HasManyCreateAssociationMixin<PlatformArtistTrackRelation>;
|
|
186
|
+
removePlatformArtistTrackRelation: Sequelize.HasManyRemoveAssociationMixin<PlatformArtistTrackRelation, PlatformArtistTrackRelationId>;
|
|
187
|
+
removePlatformArtistTrackRelations: Sequelize.HasManyRemoveAssociationsMixin<PlatformArtistTrackRelation, PlatformArtistTrackRelationId>;
|
|
188
|
+
hasPlatformArtistTrackRelation: Sequelize.HasManyHasAssociationMixin<PlatformArtistTrackRelation, PlatformArtistTrackRelationId>;
|
|
189
|
+
hasPlatformArtistTrackRelations: Sequelize.HasManyHasAssociationsMixin<PlatformArtistTrackRelation, PlatformArtistTrackRelationId>;
|
|
190
|
+
countPlatformArtistTrackRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
191
|
+
platformGenreIdPlatformGenrePlatformArtistGenreRelations: PlatformGenre[];
|
|
192
|
+
getPlatformGenreIdPlatformGenrePlatformArtistGenreRelations: Sequelize.BelongsToManyGetAssociationsMixin<PlatformGenre>;
|
|
193
|
+
setPlatformGenreIdPlatformGenrePlatformArtistGenreRelations: Sequelize.BelongsToManySetAssociationsMixin<PlatformGenre, PlatformGenreId>;
|
|
194
|
+
addPlatformGenreIdPlatformGenrePlatformArtistGenreRelation: Sequelize.BelongsToManyAddAssociationMixin<PlatformGenre, PlatformGenreId>;
|
|
195
|
+
addPlatformGenreIdPlatformGenrePlatformArtistGenreRelations: Sequelize.BelongsToManyAddAssociationsMixin<PlatformGenre, PlatformGenreId>;
|
|
196
|
+
createPlatformGenreIdPlatformGenrePlatformArtistGenreRelation: Sequelize.BelongsToManyCreateAssociationMixin<PlatformGenre>;
|
|
197
|
+
removePlatformGenreIdPlatformGenrePlatformArtistGenreRelation: Sequelize.BelongsToManyRemoveAssociationMixin<PlatformGenre, PlatformGenreId>;
|
|
198
|
+
removePlatformGenreIdPlatformGenrePlatformArtistGenreRelations: Sequelize.BelongsToManyRemoveAssociationsMixin<PlatformGenre, PlatformGenreId>;
|
|
199
|
+
hasPlatformGenreIdPlatformGenrePlatformArtistGenreRelation: Sequelize.BelongsToManyHasAssociationMixin<PlatformGenre, PlatformGenreId>;
|
|
200
|
+
hasPlatformGenreIdPlatformGenrePlatformArtistGenreRelations: Sequelize.BelongsToManyHasAssociationsMixin<PlatformGenre, PlatformGenreId>;
|
|
201
|
+
countPlatformGenreIdPlatformGenrePlatformArtistGenreRelations: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
202
|
+
canonTrackIdPlatformTracks: PlatformTrack[];
|
|
203
|
+
getCanonTrackIdPlatformTracks: Sequelize.BelongsToManyGetAssociationsMixin<PlatformTrack>;
|
|
204
|
+
setCanonTrackIdPlatformTracks: Sequelize.BelongsToManySetAssociationsMixin<PlatformTrack, PlatformTrackId>;
|
|
205
|
+
addCanonTrackIdPlatformTrack: Sequelize.BelongsToManyAddAssociationMixin<PlatformTrack, PlatformTrackId>;
|
|
206
|
+
addCanonTrackIdPlatformTracks: Sequelize.BelongsToManyAddAssociationsMixin<PlatformTrack, PlatformTrackId>;
|
|
207
|
+
createCanonTrackIdPlatformTrack: Sequelize.BelongsToManyCreateAssociationMixin<PlatformTrack>;
|
|
208
|
+
removeCanonTrackIdPlatformTrack: Sequelize.BelongsToManyRemoveAssociationMixin<PlatformTrack, PlatformTrackId>;
|
|
209
|
+
removeCanonTrackIdPlatformTracks: Sequelize.BelongsToManyRemoveAssociationsMixin<PlatformTrack, PlatformTrackId>;
|
|
210
|
+
hasCanonTrackIdPlatformTrack: Sequelize.BelongsToManyHasAssociationMixin<PlatformTrack, PlatformTrackId>;
|
|
211
|
+
hasCanonTrackIdPlatformTracks: Sequelize.BelongsToManyHasAssociationsMixin<PlatformTrack, PlatformTrackId>;
|
|
212
|
+
countCanonTrackIdPlatformTracks: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
213
|
+
platformTrackIdPlatformTrackPlatformArtistTrackRelations: PlatformTrack[];
|
|
214
|
+
getPlatformTrackIdPlatformTrackPlatformArtistTrackRelations: Sequelize.BelongsToManyGetAssociationsMixin<PlatformTrack>;
|
|
215
|
+
setPlatformTrackIdPlatformTrackPlatformArtistTrackRelations: Sequelize.BelongsToManySetAssociationsMixin<PlatformTrack, PlatformTrackId>;
|
|
216
|
+
addPlatformTrackIdPlatformTrackPlatformArtistTrackRelation: Sequelize.BelongsToManyAddAssociationMixin<PlatformTrack, PlatformTrackId>;
|
|
217
|
+
addPlatformTrackIdPlatformTrackPlatformArtistTrackRelations: Sequelize.BelongsToManyAddAssociationsMixin<PlatformTrack, PlatformTrackId>;
|
|
218
|
+
createPlatformTrackIdPlatformTrackPlatformArtistTrackRelation: Sequelize.BelongsToManyCreateAssociationMixin<PlatformTrack>;
|
|
219
|
+
removePlatformTrackIdPlatformTrackPlatformArtistTrackRelation: Sequelize.BelongsToManyRemoveAssociationMixin<PlatformTrack, PlatformTrackId>;
|
|
220
|
+
removePlatformTrackIdPlatformTrackPlatformArtistTrackRelations: Sequelize.BelongsToManyRemoveAssociationsMixin<PlatformTrack, PlatformTrackId>;
|
|
221
|
+
hasPlatformTrackIdPlatformTrackPlatformArtistTrackRelation: Sequelize.BelongsToManyHasAssociationMixin<PlatformTrack, PlatformTrackId>;
|
|
222
|
+
hasPlatformTrackIdPlatformTrackPlatformArtistTrackRelations: Sequelize.BelongsToManyHasAssociationsMixin<PlatformTrack, PlatformTrackId>;
|
|
223
|
+
countPlatformTrackIdPlatformTrackPlatformArtistTrackRelations: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
224
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof PlatformArtist;
|
|
225
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.PlatformArtist = void 0;
|
|
27
|
+
const Sequelize = __importStar(require("sequelize"));
|
|
28
|
+
const sequelize_1 = require("sequelize");
|
|
29
|
+
class PlatformArtist extends sequelize_1.Model {
|
|
30
|
+
static initModel(sequelize) {
|
|
31
|
+
return PlatformArtist.init({
|
|
32
|
+
id: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
defaultValue: Sequelize.Sequelize.fn('uuid_generate_v1'),
|
|
36
|
+
primaryKey: true
|
|
37
|
+
},
|
|
38
|
+
externalArtistId: {
|
|
39
|
+
type: sequelize_1.DataTypes.TEXT,
|
|
40
|
+
allowNull: false,
|
|
41
|
+
unique: "uk_platform_id_external_artist_id",
|
|
42
|
+
field: 'external_artist_id'
|
|
43
|
+
},
|
|
44
|
+
platformId: {
|
|
45
|
+
type: sequelize_1.DataTypes.SMALLINT,
|
|
46
|
+
allowNull: false,
|
|
47
|
+
references: {
|
|
48
|
+
model: 'platform',
|
|
49
|
+
key: 'id'
|
|
50
|
+
},
|
|
51
|
+
unique: "uk_platform_id_external_artist_id",
|
|
52
|
+
field: 'platform_id'
|
|
53
|
+
},
|
|
54
|
+
name: {
|
|
55
|
+
type: sequelize_1.DataTypes.TEXT,
|
|
56
|
+
allowNull: false
|
|
57
|
+
},
|
|
58
|
+
asciiName: {
|
|
59
|
+
type: sequelize_1.DataTypes.TEXT,
|
|
60
|
+
allowNull: false,
|
|
61
|
+
field: 'ascii_name'
|
|
62
|
+
},
|
|
63
|
+
externalUri: {
|
|
64
|
+
type: sequelize_1.DataTypes.TEXT,
|
|
65
|
+
allowNull: true,
|
|
66
|
+
field: 'external_uri'
|
|
67
|
+
},
|
|
68
|
+
createDate: {
|
|
69
|
+
type: sequelize_1.DataTypes.DATE,
|
|
70
|
+
allowNull: false,
|
|
71
|
+
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
72
|
+
field: 'create_date'
|
|
73
|
+
},
|
|
74
|
+
updateDate: {
|
|
75
|
+
type: sequelize_1.DataTypes.DATE,
|
|
76
|
+
allowNull: false,
|
|
77
|
+
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
78
|
+
field: 'update_date'
|
|
79
|
+
},
|
|
80
|
+
genres: {
|
|
81
|
+
type: sequelize_1.DataTypes.ARRAY(sequelize_1.DataTypes.TEXT),
|
|
82
|
+
allowNull: true
|
|
83
|
+
}
|
|
84
|
+
}, {
|
|
85
|
+
sequelize,
|
|
86
|
+
tableName: 'platform_artist',
|
|
87
|
+
schema: 'eb',
|
|
88
|
+
timestamps: false,
|
|
89
|
+
indexes: [
|
|
90
|
+
{
|
|
91
|
+
name: "platform_artist_pkey",
|
|
92
|
+
unique: true,
|
|
93
|
+
fields: [
|
|
94
|
+
{ name: "id" },
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: "uk_platform_id_external_artist_id",
|
|
99
|
+
unique: true,
|
|
100
|
+
fields: [
|
|
101
|
+
{ name: "platform_id" },
|
|
102
|
+
{ name: "external_artist_id" },
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
]
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.PlatformArtist = PlatformArtist;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model, Optional } from 'sequelize';
|
|
3
|
+
import type { PlatformAlbum, PlatformAlbumId } from './PlatformAlbum';
|
|
4
|
+
import type { PlatformArtist, PlatformArtistId } from './PlatformArtist';
|
|
5
|
+
export interface PlatformArtistAlbumRelationAttributes {
|
|
6
|
+
platformArtistId: string;
|
|
7
|
+
platformAlbumId: string;
|
|
8
|
+
createDate: Date;
|
|
9
|
+
updateDate: Date;
|
|
10
|
+
}
|
|
11
|
+
export type PlatformArtistAlbumRelationPk = "platformArtistId" | "platformAlbumId";
|
|
12
|
+
export type PlatformArtistAlbumRelationId = PlatformArtistAlbumRelation[PlatformArtistAlbumRelationPk];
|
|
13
|
+
export type PlatformArtistAlbumRelationOptionalAttributes = "createDate" | "updateDate";
|
|
14
|
+
export type PlatformArtistAlbumRelationCreationAttributes = Optional<PlatformArtistAlbumRelationAttributes, PlatformArtistAlbumRelationOptionalAttributes>;
|
|
15
|
+
export declare class PlatformArtistAlbumRelation extends Model<PlatformArtistAlbumRelationAttributes, PlatformArtistAlbumRelationCreationAttributes> implements PlatformArtistAlbumRelationAttributes {
|
|
16
|
+
platformArtistId: string;
|
|
17
|
+
platformAlbumId: string;
|
|
18
|
+
createDate: Date;
|
|
19
|
+
updateDate: Date;
|
|
20
|
+
platformAlbum: PlatformAlbum;
|
|
21
|
+
getPlatformAlbum: Sequelize.BelongsToGetAssociationMixin<PlatformAlbum>;
|
|
22
|
+
setPlatformAlbum: Sequelize.BelongsToSetAssociationMixin<PlatformAlbum, PlatformAlbumId>;
|
|
23
|
+
createPlatformAlbum: Sequelize.BelongsToCreateAssociationMixin<PlatformAlbum>;
|
|
24
|
+
platformArtist: PlatformArtist;
|
|
25
|
+
getPlatformArtist: Sequelize.BelongsToGetAssociationMixin<PlatformArtist>;
|
|
26
|
+
setPlatformArtist: Sequelize.BelongsToSetAssociationMixin<PlatformArtist, PlatformArtistId>;
|
|
27
|
+
createPlatformArtist: Sequelize.BelongsToCreateAssociationMixin<PlatformArtist>;
|
|
28
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof PlatformArtistAlbumRelation;
|
|
29
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.PlatformArtistAlbumRelation = void 0;
|
|
27
|
+
const Sequelize = __importStar(require("sequelize"));
|
|
28
|
+
const sequelize_1 = require("sequelize");
|
|
29
|
+
class PlatformArtistAlbumRelation extends sequelize_1.Model {
|
|
30
|
+
static initModel(sequelize) {
|
|
31
|
+
return PlatformArtistAlbumRelation.init({
|
|
32
|
+
platformArtistId: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
primaryKey: true,
|
|
36
|
+
references: {
|
|
37
|
+
model: 'platform_artist',
|
|
38
|
+
key: 'id'
|
|
39
|
+
},
|
|
40
|
+
field: 'platform_artist_id'
|
|
41
|
+
},
|
|
42
|
+
platformAlbumId: {
|
|
43
|
+
type: sequelize_1.DataTypes.UUID,
|
|
44
|
+
allowNull: false,
|
|
45
|
+
primaryKey: true,
|
|
46
|
+
references: {
|
|
47
|
+
model: 'platform_album',
|
|
48
|
+
key: 'id'
|
|
49
|
+
},
|
|
50
|
+
field: 'platform_album_id'
|
|
51
|
+
},
|
|
52
|
+
createDate: {
|
|
53
|
+
type: sequelize_1.DataTypes.DATE,
|
|
54
|
+
allowNull: false,
|
|
55
|
+
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
56
|
+
field: 'create_date'
|
|
57
|
+
},
|
|
58
|
+
updateDate: {
|
|
59
|
+
type: sequelize_1.DataTypes.DATE,
|
|
60
|
+
allowNull: false,
|
|
61
|
+
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
62
|
+
field: 'update_date'
|
|
63
|
+
}
|
|
64
|
+
}, {
|
|
65
|
+
sequelize,
|
|
66
|
+
tableName: 'platform_artist_album_relation',
|
|
67
|
+
schema: 'eb',
|
|
68
|
+
timestamps: false,
|
|
69
|
+
indexes: [
|
|
70
|
+
{
|
|
71
|
+
name: "platform_artist_album_relation_pkey",
|
|
72
|
+
unique: true,
|
|
73
|
+
fields: [
|
|
74
|
+
{ name: "platform_artist_id" },
|
|
75
|
+
{ name: "platform_album_id" },
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
]
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.PlatformArtistAlbumRelation = PlatformArtistAlbumRelation;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model, Optional } from 'sequelize';
|
|
3
|
+
import type { PlatformArtist, PlatformArtistId } from './PlatformArtist';
|
|
4
|
+
import type { PlatformGenre, PlatformGenreId } from './PlatformGenre';
|
|
5
|
+
export interface PlatformArtistGenreRelationAttributes {
|
|
6
|
+
platformArtistId: string;
|
|
7
|
+
platformGenreId: string;
|
|
8
|
+
createDate: Date;
|
|
9
|
+
updateDate: Date;
|
|
10
|
+
}
|
|
11
|
+
export type PlatformArtistGenreRelationPk = "platformArtistId" | "platformGenreId";
|
|
12
|
+
export type PlatformArtistGenreRelationId = PlatformArtistGenreRelation[PlatformArtistGenreRelationPk];
|
|
13
|
+
export type PlatformArtistGenreRelationOptionalAttributes = "createDate" | "updateDate";
|
|
14
|
+
export type PlatformArtistGenreRelationCreationAttributes = Optional<PlatformArtistGenreRelationAttributes, PlatformArtistGenreRelationOptionalAttributes>;
|
|
15
|
+
export declare class PlatformArtistGenreRelation extends Model<PlatformArtistGenreRelationAttributes, PlatformArtistGenreRelationCreationAttributes> implements PlatformArtistGenreRelationAttributes {
|
|
16
|
+
platformArtistId: string;
|
|
17
|
+
platformGenreId: string;
|
|
18
|
+
createDate: Date;
|
|
19
|
+
updateDate: Date;
|
|
20
|
+
platformArtist: PlatformArtist;
|
|
21
|
+
getPlatformArtist: Sequelize.BelongsToGetAssociationMixin<PlatformArtist>;
|
|
22
|
+
setPlatformArtist: Sequelize.BelongsToSetAssociationMixin<PlatformArtist, PlatformArtistId>;
|
|
23
|
+
createPlatformArtist: Sequelize.BelongsToCreateAssociationMixin<PlatformArtist>;
|
|
24
|
+
platformGenre: PlatformGenre;
|
|
25
|
+
getPlatformGenre: Sequelize.BelongsToGetAssociationMixin<PlatformGenre>;
|
|
26
|
+
setPlatformGenre: Sequelize.BelongsToSetAssociationMixin<PlatformGenre, PlatformGenreId>;
|
|
27
|
+
createPlatformGenre: Sequelize.BelongsToCreateAssociationMixin<PlatformGenre>;
|
|
28
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof PlatformArtistGenreRelation;
|
|
29
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.PlatformArtistGenreRelation = void 0;
|
|
27
|
+
const Sequelize = __importStar(require("sequelize"));
|
|
28
|
+
const sequelize_1 = require("sequelize");
|
|
29
|
+
class PlatformArtistGenreRelation extends sequelize_1.Model {
|
|
30
|
+
static initModel(sequelize) {
|
|
31
|
+
return PlatformArtistGenreRelation.init({
|
|
32
|
+
platformArtistId: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
primaryKey: true,
|
|
36
|
+
references: {
|
|
37
|
+
model: 'platform_artist',
|
|
38
|
+
key: 'id'
|
|
39
|
+
},
|
|
40
|
+
field: 'platform_artist_id'
|
|
41
|
+
},
|
|
42
|
+
platformGenreId: {
|
|
43
|
+
type: sequelize_1.DataTypes.UUID,
|
|
44
|
+
allowNull: false,
|
|
45
|
+
primaryKey: true,
|
|
46
|
+
references: {
|
|
47
|
+
model: 'platform_genre',
|
|
48
|
+
key: 'id'
|
|
49
|
+
},
|
|
50
|
+
field: 'platform_genre_id'
|
|
51
|
+
},
|
|
52
|
+
createDate: {
|
|
53
|
+
type: sequelize_1.DataTypes.DATE,
|
|
54
|
+
allowNull: false,
|
|
55
|
+
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
56
|
+
field: 'create_date'
|
|
57
|
+
},
|
|
58
|
+
updateDate: {
|
|
59
|
+
type: sequelize_1.DataTypes.DATE,
|
|
60
|
+
allowNull: false,
|
|
61
|
+
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
62
|
+
field: 'update_date'
|
|
63
|
+
}
|
|
64
|
+
}, {
|
|
65
|
+
sequelize,
|
|
66
|
+
tableName: 'platform_artist_genre_relation',
|
|
67
|
+
schema: 'eb',
|
|
68
|
+
timestamps: false,
|
|
69
|
+
indexes: [
|
|
70
|
+
{
|
|
71
|
+
name: "platform_artist_genre_relation_pkey",
|
|
72
|
+
unique: true,
|
|
73
|
+
fields: [
|
|
74
|
+
{ name: "platform_artist_id" },
|
|
75
|
+
{ name: "platform_genre_id" },
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
]
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.PlatformArtistGenreRelation = PlatformArtistGenreRelation;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model, Optional } from 'sequelize';
|
|
3
|
+
import type { PlatformArtist, PlatformArtistId } from './PlatformArtist';
|
|
4
|
+
import type { PlatformTrack, PlatformTrackId } from './PlatformTrack';
|
|
5
|
+
export interface PlatformArtistTrackRelationAttributes {
|
|
6
|
+
platformArtistId: string;
|
|
7
|
+
platformTrackId: string;
|
|
8
|
+
createDate: Date;
|
|
9
|
+
updateDate: Date;
|
|
10
|
+
}
|
|
11
|
+
export type PlatformArtistTrackRelationPk = "platformArtistId" | "platformTrackId";
|
|
12
|
+
export type PlatformArtistTrackRelationId = PlatformArtistTrackRelation[PlatformArtistTrackRelationPk];
|
|
13
|
+
export type PlatformArtistTrackRelationOptionalAttributes = "createDate" | "updateDate";
|
|
14
|
+
export type PlatformArtistTrackRelationCreationAttributes = Optional<PlatformArtistTrackRelationAttributes, PlatformArtistTrackRelationOptionalAttributes>;
|
|
15
|
+
export declare class PlatformArtistTrackRelation extends Model<PlatformArtistTrackRelationAttributes, PlatformArtistTrackRelationCreationAttributes> implements PlatformArtistTrackRelationAttributes {
|
|
16
|
+
platformArtistId: string;
|
|
17
|
+
platformTrackId: string;
|
|
18
|
+
createDate: Date;
|
|
19
|
+
updateDate: Date;
|
|
20
|
+
platformArtist: PlatformArtist;
|
|
21
|
+
getPlatformArtist: Sequelize.BelongsToGetAssociationMixin<PlatformArtist>;
|
|
22
|
+
setPlatformArtist: Sequelize.BelongsToSetAssociationMixin<PlatformArtist, PlatformArtistId>;
|
|
23
|
+
createPlatformArtist: Sequelize.BelongsToCreateAssociationMixin<PlatformArtist>;
|
|
24
|
+
platformTrack: PlatformTrack;
|
|
25
|
+
getPlatformTrack: Sequelize.BelongsToGetAssociationMixin<PlatformTrack>;
|
|
26
|
+
setPlatformTrack: Sequelize.BelongsToSetAssociationMixin<PlatformTrack, PlatformTrackId>;
|
|
27
|
+
createPlatformTrack: Sequelize.BelongsToCreateAssociationMixin<PlatformTrack>;
|
|
28
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof PlatformArtistTrackRelation;
|
|
29
|
+
}
|