@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,86 @@
|
|
|
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.CanonArtistExternalReferenceRelation = void 0;
|
|
27
|
+
const Sequelize = __importStar(require("sequelize"));
|
|
28
|
+
const sequelize_1 = require("sequelize");
|
|
29
|
+
class CanonArtistExternalReferenceRelation extends sequelize_1.Model {
|
|
30
|
+
static initModel(sequelize) {
|
|
31
|
+
return CanonArtistExternalReferenceRelation.init({
|
|
32
|
+
canonArtistId: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
primaryKey: true,
|
|
36
|
+
references: {
|
|
37
|
+
model: 'platform_artist',
|
|
38
|
+
key: 'id'
|
|
39
|
+
},
|
|
40
|
+
field: 'canon_artist_id'
|
|
41
|
+
},
|
|
42
|
+
externalReferenceId: {
|
|
43
|
+
type: sequelize_1.DataTypes.UUID,
|
|
44
|
+
allowNull: false,
|
|
45
|
+
primaryKey: true,
|
|
46
|
+
references: {
|
|
47
|
+
model: 'external_reference',
|
|
48
|
+
key: 'id'
|
|
49
|
+
},
|
|
50
|
+
field: 'external_reference_id'
|
|
51
|
+
},
|
|
52
|
+
url: {
|
|
53
|
+
type: sequelize_1.DataTypes.TEXT,
|
|
54
|
+
allowNull: false
|
|
55
|
+
},
|
|
56
|
+
createDate: {
|
|
57
|
+
type: sequelize_1.DataTypes.DATE,
|
|
58
|
+
allowNull: false,
|
|
59
|
+
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
60
|
+
field: 'create_date'
|
|
61
|
+
},
|
|
62
|
+
updateDate: {
|
|
63
|
+
type: sequelize_1.DataTypes.DATE,
|
|
64
|
+
allowNull: false,
|
|
65
|
+
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
66
|
+
field: 'update_date'
|
|
67
|
+
}
|
|
68
|
+
}, {
|
|
69
|
+
sequelize,
|
|
70
|
+
tableName: 'canon_artist_external_reference_relation',
|
|
71
|
+
schema: 'eb',
|
|
72
|
+
timestamps: false,
|
|
73
|
+
indexes: [
|
|
74
|
+
{
|
|
75
|
+
name: "canon_artist_external_reference_relation_pk",
|
|
76
|
+
unique: true,
|
|
77
|
+
fields: [
|
|
78
|
+
{ name: "canon_artist_id" },
|
|
79
|
+
{ name: "external_reference_id" },
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
]
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.CanonArtistExternalReferenceRelation = CanonArtistExternalReferenceRelation;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model, Optional } from 'sequelize';
|
|
3
|
+
import type { CanonGenre, CanonGenreId } from './CanonGenre';
|
|
4
|
+
import type { PlatformArtist, PlatformArtistId } from './PlatformArtist';
|
|
5
|
+
export interface CanonArtistGenreRelationAttributes {
|
|
6
|
+
canonArtistId: string;
|
|
7
|
+
canonGenreId: string;
|
|
8
|
+
createDate: Date;
|
|
9
|
+
updateDate: Date;
|
|
10
|
+
}
|
|
11
|
+
export type CanonArtistGenreRelationPk = "canonArtistId" | "canonGenreId";
|
|
12
|
+
export type CanonArtistGenreRelationId = CanonArtistGenreRelation[CanonArtistGenreRelationPk];
|
|
13
|
+
export type CanonArtistGenreRelationOptionalAttributes = "createDate" | "updateDate";
|
|
14
|
+
export type CanonArtistGenreRelationCreationAttributes = Optional<CanonArtistGenreRelationAttributes, CanonArtistGenreRelationOptionalAttributes>;
|
|
15
|
+
export declare class CanonArtistGenreRelation extends Model<CanonArtistGenreRelationAttributes, CanonArtistGenreRelationCreationAttributes> implements CanonArtistGenreRelationAttributes {
|
|
16
|
+
canonArtistId: string;
|
|
17
|
+
canonGenreId: string;
|
|
18
|
+
createDate: Date;
|
|
19
|
+
updateDate: Date;
|
|
20
|
+
canonGenre: CanonGenre;
|
|
21
|
+
getCanonGenre: Sequelize.BelongsToGetAssociationMixin<CanonGenre>;
|
|
22
|
+
setCanonGenre: Sequelize.BelongsToSetAssociationMixin<CanonGenre, CanonGenreId>;
|
|
23
|
+
createCanonGenre: Sequelize.BelongsToCreateAssociationMixin<CanonGenre>;
|
|
24
|
+
canonArtist: PlatformArtist;
|
|
25
|
+
getCanonArtist: Sequelize.BelongsToGetAssociationMixin<PlatformArtist>;
|
|
26
|
+
setCanonArtist: Sequelize.BelongsToSetAssociationMixin<PlatformArtist, PlatformArtistId>;
|
|
27
|
+
createCanonArtist: Sequelize.BelongsToCreateAssociationMixin<PlatformArtist>;
|
|
28
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof CanonArtistGenreRelation;
|
|
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.CanonArtistGenreRelation = void 0;
|
|
27
|
+
const Sequelize = __importStar(require("sequelize"));
|
|
28
|
+
const sequelize_1 = require("sequelize");
|
|
29
|
+
class CanonArtistGenreRelation extends sequelize_1.Model {
|
|
30
|
+
static initModel(sequelize) {
|
|
31
|
+
return CanonArtistGenreRelation.init({
|
|
32
|
+
canonArtistId: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
primaryKey: true,
|
|
36
|
+
references: {
|
|
37
|
+
model: 'platform_artist',
|
|
38
|
+
key: 'id'
|
|
39
|
+
},
|
|
40
|
+
field: 'canon_artist_id'
|
|
41
|
+
},
|
|
42
|
+
canonGenreId: {
|
|
43
|
+
type: sequelize_1.DataTypes.UUID,
|
|
44
|
+
allowNull: false,
|
|
45
|
+
primaryKey: true,
|
|
46
|
+
references: {
|
|
47
|
+
model: 'canon_genre',
|
|
48
|
+
key: 'id'
|
|
49
|
+
},
|
|
50
|
+
field: 'canon_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: 'canon_artist_genre_relation',
|
|
67
|
+
schema: 'eb',
|
|
68
|
+
timestamps: false,
|
|
69
|
+
indexes: [
|
|
70
|
+
{
|
|
71
|
+
name: "canon_artist_genre_relation_pkey",
|
|
72
|
+
unique: true,
|
|
73
|
+
fields: [
|
|
74
|
+
{ name: "canon_artist_id" },
|
|
75
|
+
{ name: "canon_genre_id" },
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
]
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.CanonArtistGenreRelation = CanonArtistGenreRelation;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model, Optional } from 'sequelize';
|
|
3
|
+
import type { CanonArtist, CanonArtistId } from './CanonArtist';
|
|
4
|
+
export interface CanonArtistImageHarvestedAttributes {
|
|
5
|
+
id: string;
|
|
6
|
+
canonArtistId: string;
|
|
7
|
+
priority?: number;
|
|
8
|
+
url?: string;
|
|
9
|
+
dateHarvested: Date;
|
|
10
|
+
storageKey: string;
|
|
11
|
+
harvestMethod?: string;
|
|
12
|
+
}
|
|
13
|
+
export type CanonArtistImageHarvestedPk = "id";
|
|
14
|
+
export type CanonArtistImageHarvestedId = CanonArtistImageHarvested[CanonArtistImageHarvestedPk];
|
|
15
|
+
export type CanonArtistImageHarvestedOptionalAttributes = "id" | "priority" | "url" | "harvestMethod";
|
|
16
|
+
export type CanonArtistImageHarvestedCreationAttributes = Optional<CanonArtistImageHarvestedAttributes, CanonArtistImageHarvestedOptionalAttributes>;
|
|
17
|
+
export declare class CanonArtistImageHarvested extends Model<CanonArtistImageHarvestedAttributes, CanonArtistImageHarvestedCreationAttributes> implements CanonArtistImageHarvestedAttributes {
|
|
18
|
+
id: string;
|
|
19
|
+
canonArtistId: string;
|
|
20
|
+
priority?: number;
|
|
21
|
+
url?: string;
|
|
22
|
+
dateHarvested: Date;
|
|
23
|
+
storageKey: string;
|
|
24
|
+
harvestMethod?: string;
|
|
25
|
+
canonArtist: CanonArtist;
|
|
26
|
+
getCanonArtist: Sequelize.BelongsToGetAssociationMixin<CanonArtist>;
|
|
27
|
+
setCanonArtist: Sequelize.BelongsToSetAssociationMixin<CanonArtist, CanonArtistId>;
|
|
28
|
+
createCanonArtist: Sequelize.BelongsToCreateAssociationMixin<CanonArtist>;
|
|
29
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof CanonArtistImageHarvested;
|
|
30
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CanonArtistImageHarvested = void 0;
|
|
4
|
+
const sequelize_1 = require("sequelize");
|
|
5
|
+
class CanonArtistImageHarvested extends sequelize_1.Model {
|
|
6
|
+
static initModel(sequelize) {
|
|
7
|
+
return CanonArtistImageHarvested.init({
|
|
8
|
+
id: {
|
|
9
|
+
type: sequelize_1.DataTypes.UUID,
|
|
10
|
+
allowNull: false,
|
|
11
|
+
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
12
|
+
primaryKey: true
|
|
13
|
+
},
|
|
14
|
+
canonArtistId: {
|
|
15
|
+
type: sequelize_1.DataTypes.UUID,
|
|
16
|
+
allowNull: false,
|
|
17
|
+
references: {
|
|
18
|
+
model: 'canon_artist',
|
|
19
|
+
key: 'id'
|
|
20
|
+
},
|
|
21
|
+
field: 'canon_artist_id'
|
|
22
|
+
},
|
|
23
|
+
priority: {
|
|
24
|
+
type: sequelize_1.DataTypes.DECIMAL,
|
|
25
|
+
allowNull: true,
|
|
26
|
+
defaultValue: 0
|
|
27
|
+
},
|
|
28
|
+
url: {
|
|
29
|
+
type: sequelize_1.DataTypes.TEXT,
|
|
30
|
+
allowNull: true
|
|
31
|
+
},
|
|
32
|
+
dateHarvested: {
|
|
33
|
+
type: sequelize_1.DataTypes.DATE,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
field: 'date_harvested'
|
|
36
|
+
},
|
|
37
|
+
storageKey: {
|
|
38
|
+
type: sequelize_1.DataTypes.STRING(255),
|
|
39
|
+
allowNull: false,
|
|
40
|
+
field: 'storage_key'
|
|
41
|
+
},
|
|
42
|
+
harvestMethod: {
|
|
43
|
+
type: sequelize_1.DataTypes.STRING(255),
|
|
44
|
+
allowNull: true,
|
|
45
|
+
field: 'harvest_method'
|
|
46
|
+
}
|
|
47
|
+
}, {
|
|
48
|
+
sequelize,
|
|
49
|
+
tableName: 'canon_artist_image_harvested',
|
|
50
|
+
schema: 'eb',
|
|
51
|
+
timestamps: false,
|
|
52
|
+
indexes: [
|
|
53
|
+
{
|
|
54
|
+
name: "canon_artist_image_harvested_canon_artist_id_index",
|
|
55
|
+
fields: [
|
|
56
|
+
{ name: "canon_artist_id" },
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: "canon_artist_image_harvested_pkey",
|
|
61
|
+
unique: true,
|
|
62
|
+
fields: [
|
|
63
|
+
{ name: "id" },
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
]
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.CanonArtistImageHarvested = CanonArtistImageHarvested;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model, Optional } from 'sequelize';
|
|
3
|
+
import type { CanonMember, CanonMemberId } from './CanonMember';
|
|
4
|
+
import type { PlatformArtist, PlatformArtistId } from './PlatformArtist';
|
|
5
|
+
export interface CanonArtistMemberRelationAttributes {
|
|
6
|
+
canonArtistId: string;
|
|
7
|
+
canonMemberId: string;
|
|
8
|
+
createDate: Date;
|
|
9
|
+
updateDate: Date;
|
|
10
|
+
}
|
|
11
|
+
export type CanonArtistMemberRelationPk = "canonArtistId" | "canonMemberId";
|
|
12
|
+
export type CanonArtistMemberRelationId = CanonArtistMemberRelation[CanonArtistMemberRelationPk];
|
|
13
|
+
export type CanonArtistMemberRelationOptionalAttributes = "createDate" | "updateDate";
|
|
14
|
+
export type CanonArtistMemberRelationCreationAttributes = Optional<CanonArtistMemberRelationAttributes, CanonArtistMemberRelationOptionalAttributes>;
|
|
15
|
+
export declare class CanonArtistMemberRelation extends Model<CanonArtistMemberRelationAttributes, CanonArtistMemberRelationCreationAttributes> implements CanonArtistMemberRelationAttributes {
|
|
16
|
+
canonArtistId: string;
|
|
17
|
+
canonMemberId: string;
|
|
18
|
+
createDate: Date;
|
|
19
|
+
updateDate: Date;
|
|
20
|
+
canonMember: CanonMember;
|
|
21
|
+
getCanonMember: Sequelize.BelongsToGetAssociationMixin<CanonMember>;
|
|
22
|
+
setCanonMember: Sequelize.BelongsToSetAssociationMixin<CanonMember, CanonMemberId>;
|
|
23
|
+
createCanonMember: Sequelize.BelongsToCreateAssociationMixin<CanonMember>;
|
|
24
|
+
canonArtist: PlatformArtist;
|
|
25
|
+
getCanonArtist: Sequelize.BelongsToGetAssociationMixin<PlatformArtist>;
|
|
26
|
+
setCanonArtist: Sequelize.BelongsToSetAssociationMixin<PlatformArtist, PlatformArtistId>;
|
|
27
|
+
createCanonArtist: Sequelize.BelongsToCreateAssociationMixin<PlatformArtist>;
|
|
28
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof CanonArtistMemberRelation;
|
|
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.CanonArtistMemberRelation = void 0;
|
|
27
|
+
const Sequelize = __importStar(require("sequelize"));
|
|
28
|
+
const sequelize_1 = require("sequelize");
|
|
29
|
+
class CanonArtistMemberRelation extends sequelize_1.Model {
|
|
30
|
+
static initModel(sequelize) {
|
|
31
|
+
return CanonArtistMemberRelation.init({
|
|
32
|
+
canonArtistId: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
primaryKey: true,
|
|
36
|
+
references: {
|
|
37
|
+
model: 'platform_artist',
|
|
38
|
+
key: 'id'
|
|
39
|
+
},
|
|
40
|
+
field: 'canon_artist_id'
|
|
41
|
+
},
|
|
42
|
+
canonMemberId: {
|
|
43
|
+
type: sequelize_1.DataTypes.UUID,
|
|
44
|
+
allowNull: false,
|
|
45
|
+
primaryKey: true,
|
|
46
|
+
references: {
|
|
47
|
+
model: 'canon_member',
|
|
48
|
+
key: 'id'
|
|
49
|
+
},
|
|
50
|
+
field: 'canon_member_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: 'canon_artist_member_relation',
|
|
67
|
+
schema: 'eb',
|
|
68
|
+
timestamps: false,
|
|
69
|
+
indexes: [
|
|
70
|
+
{
|
|
71
|
+
name: "canon_artist_member_relation_pk",
|
|
72
|
+
unique: true,
|
|
73
|
+
fields: [
|
|
74
|
+
{ name: "canon_artist_id" },
|
|
75
|
+
{ name: "canon_member_id" },
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
]
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.CanonArtistMemberRelation = CanonArtistMemberRelation;
|
|
@@ -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 CanonArtistTrackRelationAttributes {
|
|
6
|
+
canonArtistId: string;
|
|
7
|
+
canonTrackId: string;
|
|
8
|
+
createDate: Date;
|
|
9
|
+
updateDate: Date;
|
|
10
|
+
}
|
|
11
|
+
export type CanonArtistTrackRelationPk = "canonArtistId" | "canonTrackId";
|
|
12
|
+
export type CanonArtistTrackRelationId = CanonArtistTrackRelation[CanonArtistTrackRelationPk];
|
|
13
|
+
export type CanonArtistTrackRelationOptionalAttributes = "createDate" | "updateDate";
|
|
14
|
+
export type CanonArtistTrackRelationCreationAttributes = Optional<CanonArtistTrackRelationAttributes, CanonArtistTrackRelationOptionalAttributes>;
|
|
15
|
+
export declare class CanonArtistTrackRelation extends Model<CanonArtistTrackRelationAttributes, CanonArtistTrackRelationCreationAttributes> implements CanonArtistTrackRelationAttributes {
|
|
16
|
+
canonArtistId: string;
|
|
17
|
+
canonTrackId: string;
|
|
18
|
+
createDate: Date;
|
|
19
|
+
updateDate: Date;
|
|
20
|
+
canonArtist: PlatformArtist;
|
|
21
|
+
getCanonArtist: Sequelize.BelongsToGetAssociationMixin<PlatformArtist>;
|
|
22
|
+
setCanonArtist: Sequelize.BelongsToSetAssociationMixin<PlatformArtist, PlatformArtistId>;
|
|
23
|
+
createCanonArtist: Sequelize.BelongsToCreateAssociationMixin<PlatformArtist>;
|
|
24
|
+
canonTrack: PlatformTrack;
|
|
25
|
+
getCanonTrack: Sequelize.BelongsToGetAssociationMixin<PlatformTrack>;
|
|
26
|
+
setCanonTrack: Sequelize.BelongsToSetAssociationMixin<PlatformTrack, PlatformTrackId>;
|
|
27
|
+
createCanonTrack: Sequelize.BelongsToCreateAssociationMixin<PlatformTrack>;
|
|
28
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof CanonArtistTrackRelation;
|
|
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.CanonArtistTrackRelation = void 0;
|
|
27
|
+
const Sequelize = __importStar(require("sequelize"));
|
|
28
|
+
const sequelize_1 = require("sequelize");
|
|
29
|
+
class CanonArtistTrackRelation extends sequelize_1.Model {
|
|
30
|
+
static initModel(sequelize) {
|
|
31
|
+
return CanonArtistTrackRelation.init({
|
|
32
|
+
canonArtistId: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
primaryKey: true,
|
|
36
|
+
references: {
|
|
37
|
+
model: 'platform_artist',
|
|
38
|
+
key: 'id'
|
|
39
|
+
},
|
|
40
|
+
field: 'canon_artist_id'
|
|
41
|
+
},
|
|
42
|
+
canonTrackId: {
|
|
43
|
+
type: sequelize_1.DataTypes.UUID,
|
|
44
|
+
allowNull: false,
|
|
45
|
+
primaryKey: true,
|
|
46
|
+
references: {
|
|
47
|
+
model: 'platform_track',
|
|
48
|
+
key: 'id'
|
|
49
|
+
},
|
|
50
|
+
field: 'canon_track_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: 'canon_artist_track_relation',
|
|
67
|
+
schema: 'eb',
|
|
68
|
+
timestamps: false,
|
|
69
|
+
indexes: [
|
|
70
|
+
{
|
|
71
|
+
name: "canon_artist_track_relation_pkey",
|
|
72
|
+
unique: true,
|
|
73
|
+
fields: [
|
|
74
|
+
{ name: "canon_artist_id" },
|
|
75
|
+
{ name: "canon_track_id" },
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
]
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.CanonArtistTrackRelation = CanonArtistTrackRelation;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model, Optional } from 'sequelize';
|
|
3
|
+
import type { CanonAlbumGenreRelation, CanonAlbumGenreRelationId } from './CanonAlbumGenreRelation';
|
|
4
|
+
import type { CanonArtistGenreRelation, CanonArtistGenreRelationId } from './CanonArtistGenreRelation';
|
|
5
|
+
import type { CanonGenreExternalReferenceRelation, CanonGenreExternalReferenceRelationId } from './CanonGenreExternalReferenceRelation';
|
|
6
|
+
import type { CanonToPlatformGenreRelation, CanonToPlatformGenreRelationId } from './CanonToPlatformGenreRelation';
|
|
7
|
+
import type { ExternalReference, ExternalReferenceId } from './ExternalReference';
|
|
8
|
+
import type { JukeboxCanonGenreRelation, JukeboxCanonGenreRelationId } from './JukeboxCanonGenreRelation';
|
|
9
|
+
import type { PlatformAlbum, PlatformAlbumId } from './PlatformAlbum';
|
|
10
|
+
import type { PlatformArtist, PlatformArtistId } from './PlatformArtist';
|
|
11
|
+
import type { PlatformGenre, PlatformGenreId } from './PlatformGenre';
|
|
12
|
+
export interface CanonGenreAttributes {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
asciiName: string;
|
|
16
|
+
description: string;
|
|
17
|
+
parentGenreId?: string;
|
|
18
|
+
createDate: Date;
|
|
19
|
+
updateDate: Date;
|
|
20
|
+
}
|
|
21
|
+
export type CanonGenrePk = "id";
|
|
22
|
+
export type CanonGenreId = CanonGenre[CanonGenrePk];
|
|
23
|
+
export type CanonGenreOptionalAttributes = "id" | "parentGenreId" | "createDate" | "updateDate";
|
|
24
|
+
export type CanonGenreCreationAttributes = Optional<CanonGenreAttributes, CanonGenreOptionalAttributes>;
|
|
25
|
+
export declare class CanonGenre extends Model<CanonGenreAttributes, CanonGenreCreationAttributes> implements CanonGenreAttributes {
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
asciiName: string;
|
|
29
|
+
description: string;
|
|
30
|
+
parentGenreId?: string;
|
|
31
|
+
createDate: Date;
|
|
32
|
+
updateDate: Date;
|
|
33
|
+
canonAlbumGenreRelations: CanonAlbumGenreRelation[];
|
|
34
|
+
getCanonAlbumGenreRelations: Sequelize.HasManyGetAssociationsMixin<CanonAlbumGenreRelation>;
|
|
35
|
+
setCanonAlbumGenreRelations: Sequelize.HasManySetAssociationsMixin<CanonAlbumGenreRelation, CanonAlbumGenreRelationId>;
|
|
36
|
+
addCanonAlbumGenreRelation: Sequelize.HasManyAddAssociationMixin<CanonAlbumGenreRelation, CanonAlbumGenreRelationId>;
|
|
37
|
+
addCanonAlbumGenreRelations: Sequelize.HasManyAddAssociationsMixin<CanonAlbumGenreRelation, CanonAlbumGenreRelationId>;
|
|
38
|
+
createCanonAlbumGenreRelation: Sequelize.HasManyCreateAssociationMixin<CanonAlbumGenreRelation>;
|
|
39
|
+
removeCanonAlbumGenreRelation: Sequelize.HasManyRemoveAssociationMixin<CanonAlbumGenreRelation, CanonAlbumGenreRelationId>;
|
|
40
|
+
removeCanonAlbumGenreRelations: Sequelize.HasManyRemoveAssociationsMixin<CanonAlbumGenreRelation, CanonAlbumGenreRelationId>;
|
|
41
|
+
hasCanonAlbumGenreRelation: Sequelize.HasManyHasAssociationMixin<CanonAlbumGenreRelation, CanonAlbumGenreRelationId>;
|
|
42
|
+
hasCanonAlbumGenreRelations: Sequelize.HasManyHasAssociationsMixin<CanonAlbumGenreRelation, CanonAlbumGenreRelationId>;
|
|
43
|
+
countCanonAlbumGenreRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
44
|
+
canonArtistGenreRelations: CanonArtistGenreRelation[];
|
|
45
|
+
getCanonArtistGenreRelations: Sequelize.HasManyGetAssociationsMixin<CanonArtistGenreRelation>;
|
|
46
|
+
setCanonArtistGenreRelations: Sequelize.HasManySetAssociationsMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
47
|
+
addCanonArtistGenreRelation: Sequelize.HasManyAddAssociationMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
48
|
+
addCanonArtistGenreRelations: Sequelize.HasManyAddAssociationsMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
49
|
+
createCanonArtistGenreRelation: Sequelize.HasManyCreateAssociationMixin<CanonArtistGenreRelation>;
|
|
50
|
+
removeCanonArtistGenreRelation: Sequelize.HasManyRemoveAssociationMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
51
|
+
removeCanonArtistGenreRelations: Sequelize.HasManyRemoveAssociationsMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
52
|
+
hasCanonArtistGenreRelation: Sequelize.HasManyHasAssociationMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
53
|
+
hasCanonArtistGenreRelations: Sequelize.HasManyHasAssociationsMixin<CanonArtistGenreRelation, CanonArtistGenreRelationId>;
|
|
54
|
+
countCanonArtistGenreRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
55
|
+
canonGenreExternalReferenceRelations: CanonGenreExternalReferenceRelation[];
|
|
56
|
+
getCanonGenreExternalReferenceRelations: Sequelize.HasManyGetAssociationsMixin<CanonGenreExternalReferenceRelation>;
|
|
57
|
+
setCanonGenreExternalReferenceRelations: Sequelize.HasManySetAssociationsMixin<CanonGenreExternalReferenceRelation, CanonGenreExternalReferenceRelationId>;
|
|
58
|
+
addCanonGenreExternalReferenceRelation: Sequelize.HasManyAddAssociationMixin<CanonGenreExternalReferenceRelation, CanonGenreExternalReferenceRelationId>;
|
|
59
|
+
addCanonGenreExternalReferenceRelations: Sequelize.HasManyAddAssociationsMixin<CanonGenreExternalReferenceRelation, CanonGenreExternalReferenceRelationId>;
|
|
60
|
+
createCanonGenreExternalReferenceRelation: Sequelize.HasManyCreateAssociationMixin<CanonGenreExternalReferenceRelation>;
|
|
61
|
+
removeCanonGenreExternalReferenceRelation: Sequelize.HasManyRemoveAssociationMixin<CanonGenreExternalReferenceRelation, CanonGenreExternalReferenceRelationId>;
|
|
62
|
+
removeCanonGenreExternalReferenceRelations: Sequelize.HasManyRemoveAssociationsMixin<CanonGenreExternalReferenceRelation, CanonGenreExternalReferenceRelationId>;
|
|
63
|
+
hasCanonGenreExternalReferenceRelation: Sequelize.HasManyHasAssociationMixin<CanonGenreExternalReferenceRelation, CanonGenreExternalReferenceRelationId>;
|
|
64
|
+
hasCanonGenreExternalReferenceRelations: Sequelize.HasManyHasAssociationsMixin<CanonGenreExternalReferenceRelation, CanonGenreExternalReferenceRelationId>;
|
|
65
|
+
countCanonGenreExternalReferenceRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
66
|
+
canonToPlatformGenreRelations: CanonToPlatformGenreRelation[];
|
|
67
|
+
getCanonToPlatformGenreRelations: Sequelize.HasManyGetAssociationsMixin<CanonToPlatformGenreRelation>;
|
|
68
|
+
setCanonToPlatformGenreRelations: Sequelize.HasManySetAssociationsMixin<CanonToPlatformGenreRelation, CanonToPlatformGenreRelationId>;
|
|
69
|
+
addCanonToPlatformGenreRelation: Sequelize.HasManyAddAssociationMixin<CanonToPlatformGenreRelation, CanonToPlatformGenreRelationId>;
|
|
70
|
+
addCanonToPlatformGenreRelations: Sequelize.HasManyAddAssociationsMixin<CanonToPlatformGenreRelation, CanonToPlatformGenreRelationId>;
|
|
71
|
+
createCanonToPlatformGenreRelation: Sequelize.HasManyCreateAssociationMixin<CanonToPlatformGenreRelation>;
|
|
72
|
+
removeCanonToPlatformGenreRelation: Sequelize.HasManyRemoveAssociationMixin<CanonToPlatformGenreRelation, CanonToPlatformGenreRelationId>;
|
|
73
|
+
removeCanonToPlatformGenreRelations: Sequelize.HasManyRemoveAssociationsMixin<CanonToPlatformGenreRelation, CanonToPlatformGenreRelationId>;
|
|
74
|
+
hasCanonToPlatformGenreRelation: Sequelize.HasManyHasAssociationMixin<CanonToPlatformGenreRelation, CanonToPlatformGenreRelationId>;
|
|
75
|
+
hasCanonToPlatformGenreRelations: Sequelize.HasManyHasAssociationsMixin<CanonToPlatformGenreRelation, CanonToPlatformGenreRelationId>;
|
|
76
|
+
countCanonToPlatformGenreRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
77
|
+
externalReferenceIdExternalReferenceCanonGenreExternalReferenceRelations: ExternalReference[];
|
|
78
|
+
getExternalReferenceIdExternalReferenceCanonGenreExternalReferenceRelations: Sequelize.BelongsToManyGetAssociationsMixin<ExternalReference>;
|
|
79
|
+
setExternalReferenceIdExternalReferenceCanonGenreExternalReferenceRelations: Sequelize.BelongsToManySetAssociationsMixin<ExternalReference, ExternalReferenceId>;
|
|
80
|
+
addExternalReferenceIdExternalReferenceCanonGenreExternalReferenceRelation: Sequelize.BelongsToManyAddAssociationMixin<ExternalReference, ExternalReferenceId>;
|
|
81
|
+
addExternalReferenceIdExternalReferenceCanonGenreExternalReferenceRelations: Sequelize.BelongsToManyAddAssociationsMixin<ExternalReference, ExternalReferenceId>;
|
|
82
|
+
createExternalReferenceIdExternalReferenceCanonGenreExternalReferenceRelation: Sequelize.BelongsToManyCreateAssociationMixin<ExternalReference>;
|
|
83
|
+
removeExternalReferenceIdExternalReferenceCanonGenreExternalReferenceRelation: Sequelize.BelongsToManyRemoveAssociationMixin<ExternalReference, ExternalReferenceId>;
|
|
84
|
+
removeExternalReferenceIdExternalReferenceCanonGenreExternalReferenceRelations: Sequelize.BelongsToManyRemoveAssociationsMixin<ExternalReference, ExternalReferenceId>;
|
|
85
|
+
hasExternalReferenceIdExternalReferenceCanonGenreExternalReferenceRelation: Sequelize.BelongsToManyHasAssociationMixin<ExternalReference, ExternalReferenceId>;
|
|
86
|
+
hasExternalReferenceIdExternalReferenceCanonGenreExternalReferenceRelations: Sequelize.BelongsToManyHasAssociationsMixin<ExternalReference, ExternalReferenceId>;
|
|
87
|
+
countExternalReferenceIdExternalReferenceCanonGenreExternalReferenceRelations: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
88
|
+
jukeboxCanonGenreRelations: JukeboxCanonGenreRelation[];
|
|
89
|
+
getJukeboxCanonGenreRelations: Sequelize.HasManyGetAssociationsMixin<JukeboxCanonGenreRelation>;
|
|
90
|
+
setJukeboxCanonGenreRelations: Sequelize.HasManySetAssociationsMixin<JukeboxCanonGenreRelation, JukeboxCanonGenreRelationId>;
|
|
91
|
+
addJukeboxCanonGenreRelation: Sequelize.HasManyAddAssociationMixin<JukeboxCanonGenreRelation, JukeboxCanonGenreRelationId>;
|
|
92
|
+
addJukeboxCanonGenreRelations: Sequelize.HasManyAddAssociationsMixin<JukeboxCanonGenreRelation, JukeboxCanonGenreRelationId>;
|
|
93
|
+
createJukeboxCanonGenreRelation: Sequelize.HasManyCreateAssociationMixin<JukeboxCanonGenreRelation>;
|
|
94
|
+
removeJukeboxCanonGenreRelation: Sequelize.HasManyRemoveAssociationMixin<JukeboxCanonGenreRelation, JukeboxCanonGenreRelationId>;
|
|
95
|
+
removeJukeboxCanonGenreRelations: Sequelize.HasManyRemoveAssociationsMixin<JukeboxCanonGenreRelation, JukeboxCanonGenreRelationId>;
|
|
96
|
+
hasJukeboxCanonGenreRelation: Sequelize.HasManyHasAssociationMixin<JukeboxCanonGenreRelation, JukeboxCanonGenreRelationId>;
|
|
97
|
+
hasJukeboxCanonGenreRelations: Sequelize.HasManyHasAssociationsMixin<JukeboxCanonGenreRelation, JukeboxCanonGenreRelationId>;
|
|
98
|
+
countJukeboxCanonGenreRelations: Sequelize.HasManyCountAssociationsMixin;
|
|
99
|
+
canonAlbumIdPlatformAlbums: PlatformAlbum[];
|
|
100
|
+
getCanonAlbumIdPlatformAlbums: Sequelize.BelongsToManyGetAssociationsMixin<PlatformAlbum>;
|
|
101
|
+
setCanonAlbumIdPlatformAlbums: Sequelize.BelongsToManySetAssociationsMixin<PlatformAlbum, PlatformAlbumId>;
|
|
102
|
+
addCanonAlbumIdPlatformAlbum: Sequelize.BelongsToManyAddAssociationMixin<PlatformAlbum, PlatformAlbumId>;
|
|
103
|
+
addCanonAlbumIdPlatformAlbums: Sequelize.BelongsToManyAddAssociationsMixin<PlatformAlbum, PlatformAlbumId>;
|
|
104
|
+
createCanonAlbumIdPlatformAlbum: Sequelize.BelongsToManyCreateAssociationMixin<PlatformAlbum>;
|
|
105
|
+
removeCanonAlbumIdPlatformAlbum: Sequelize.BelongsToManyRemoveAssociationMixin<PlatformAlbum, PlatformAlbumId>;
|
|
106
|
+
removeCanonAlbumIdPlatformAlbums: Sequelize.BelongsToManyRemoveAssociationsMixin<PlatformAlbum, PlatformAlbumId>;
|
|
107
|
+
hasCanonAlbumIdPlatformAlbum: Sequelize.BelongsToManyHasAssociationMixin<PlatformAlbum, PlatformAlbumId>;
|
|
108
|
+
hasCanonAlbumIdPlatformAlbums: Sequelize.BelongsToManyHasAssociationsMixin<PlatformAlbum, PlatformAlbumId>;
|
|
109
|
+
countCanonAlbumIdPlatformAlbums: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
110
|
+
canonArtistIdPlatformArtistCanonArtistGenreRelations: PlatformArtist[];
|
|
111
|
+
getCanonArtistIdPlatformArtistCanonArtistGenreRelations: Sequelize.BelongsToManyGetAssociationsMixin<PlatformArtist>;
|
|
112
|
+
setCanonArtistIdPlatformArtistCanonArtistGenreRelations: Sequelize.BelongsToManySetAssociationsMixin<PlatformArtist, PlatformArtistId>;
|
|
113
|
+
addCanonArtistIdPlatformArtistCanonArtistGenreRelation: Sequelize.BelongsToManyAddAssociationMixin<PlatformArtist, PlatformArtistId>;
|
|
114
|
+
addCanonArtistIdPlatformArtistCanonArtistGenreRelations: Sequelize.BelongsToManyAddAssociationsMixin<PlatformArtist, PlatformArtistId>;
|
|
115
|
+
createCanonArtistIdPlatformArtistCanonArtistGenreRelation: Sequelize.BelongsToManyCreateAssociationMixin<PlatformArtist>;
|
|
116
|
+
removeCanonArtistIdPlatformArtistCanonArtistGenreRelation: Sequelize.BelongsToManyRemoveAssociationMixin<PlatformArtist, PlatformArtistId>;
|
|
117
|
+
removeCanonArtistIdPlatformArtistCanonArtistGenreRelations: Sequelize.BelongsToManyRemoveAssociationsMixin<PlatformArtist, PlatformArtistId>;
|
|
118
|
+
hasCanonArtistIdPlatformArtistCanonArtistGenreRelation: Sequelize.BelongsToManyHasAssociationMixin<PlatformArtist, PlatformArtistId>;
|
|
119
|
+
hasCanonArtistIdPlatformArtistCanonArtistGenreRelations: Sequelize.BelongsToManyHasAssociationsMixin<PlatformArtist, PlatformArtistId>;
|
|
120
|
+
countCanonArtistIdPlatformArtistCanonArtistGenreRelations: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
121
|
+
platformGenreIdPlatformGenres: PlatformGenre[];
|
|
122
|
+
getPlatformGenreIdPlatformGenres: Sequelize.BelongsToManyGetAssociationsMixin<PlatformGenre>;
|
|
123
|
+
setPlatformGenreIdPlatformGenres: Sequelize.BelongsToManySetAssociationsMixin<PlatformGenre, PlatformGenreId>;
|
|
124
|
+
addPlatformGenreIdPlatformGenre: Sequelize.BelongsToManyAddAssociationMixin<PlatformGenre, PlatformGenreId>;
|
|
125
|
+
addPlatformGenreIdPlatformGenres: Sequelize.BelongsToManyAddAssociationsMixin<PlatformGenre, PlatformGenreId>;
|
|
126
|
+
createPlatformGenreIdPlatformGenre: Sequelize.BelongsToManyCreateAssociationMixin<PlatformGenre>;
|
|
127
|
+
removePlatformGenreIdPlatformGenre: Sequelize.BelongsToManyRemoveAssociationMixin<PlatformGenre, PlatformGenreId>;
|
|
128
|
+
removePlatformGenreIdPlatformGenres: Sequelize.BelongsToManyRemoveAssociationsMixin<PlatformGenre, PlatformGenreId>;
|
|
129
|
+
hasPlatformGenreIdPlatformGenre: Sequelize.BelongsToManyHasAssociationMixin<PlatformGenre, PlatformGenreId>;
|
|
130
|
+
hasPlatformGenreIdPlatformGenres: Sequelize.BelongsToManyHasAssociationsMixin<PlatformGenre, PlatformGenreId>;
|
|
131
|
+
countPlatformGenreIdPlatformGenres: Sequelize.BelongsToManyCountAssociationsMixin;
|
|
132
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof CanonGenre;
|
|
133
|
+
}
|