@earbug/db-models 0.0.60 → 0.0.63
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/.dockerignore +10 -0
- package/.github/workflows/publish.yaml +266 -19
- package/Dockerfile.generate +19 -0
- package/dist/AffinityRelationshipType.d.ts +2 -2
- package/dist/AffinityRelationshipType.js +6 -6
- package/dist/AppUser.d.ts +5 -5
- package/dist/AppUser.js +7 -7
- package/dist/AppUserDevice.d.ts +2 -2
- package/dist/AppUserDevice.js +6 -6
- package/dist/AppUserDeviceClassicBackup20260906.d.ts +23 -0
- package/dist/AppUserDeviceClassicBackup20260906.js +46 -0
- package/dist/AppUserFollowRelation.d.ts +3 -3
- package/dist/AppUserFollowRelation.js +6 -6
- package/dist/AppUserPlatformRelation.d.ts +13 -13
- package/dist/AppUserPlatformRelation.js +25 -25
- package/dist/CanonAlbum.d.ts +5 -5
- package/dist/CanonAlbum.js +10 -10
- package/dist/CanonArtist.d.ts +5 -5
- package/dist/CanonArtist.js +11 -11
- package/dist/CanonGenre.d.ts +3 -3
- package/dist/CanonGenre.js +6 -6
- package/dist/CanonLabel.d.ts +2 -2
- package/dist/CanonLabel.js +6 -6
- package/dist/CanonMember.d.ts +3 -3
- package/dist/CanonMember.js +6 -6
- package/dist/CanonMemberExternalReferenceRelation.d.ts +2 -2
- package/dist/CanonMemberExternalReferenceRelation.js +5 -5
- package/dist/CanonTrack.d.ts +5 -5
- package/dist/CanonTrack.js +11 -11
- package/dist/ConfigParam.d.ts +2 -2
- package/dist/ConfigParam.js +5 -5
- package/dist/ExternalReference.d.ts +2 -2
- package/dist/ExternalReference.js +5 -5
- package/dist/FeedContentType.d.ts +2 -2
- package/dist/FeedContentType.js +4 -4
- package/dist/GuestUser.d.ts +5 -5
- package/dist/GuestUser.js +13 -13
- package/dist/JukeboxAccessType.d.ts +2 -2
- package/dist/JukeboxAccessType.js +4 -4
- package/dist/JukeboxCanonGenreRelation.d.ts +2 -2
- package/dist/JukeboxCanonGenreRelation.js +6 -6
- package/dist/JukeboxInvite.d.ts +3 -3
- package/dist/JukeboxInvite.js +6 -6
- package/dist/JukeboxQueueEntry.d.ts +9 -9
- package/dist/JukeboxQueueEntry.js +25 -25
- package/dist/JukeboxQueueMode.d.ts +2 -2
- package/dist/JukeboxQueueMode.js +4 -4
- package/dist/JukeboxSession.d.ts +9 -9
- package/dist/JukeboxSession.js +20 -20
- package/dist/JukeboxSessionArtistAffinity.d.ts +2 -2
- package/dist/JukeboxSessionArtistAffinity.js +6 -6
- package/dist/JukeboxSessionGenreAffinity.d.ts +2 -2
- package/dist/JukeboxSessionGenreAffinity.js +6 -6
- package/dist/JukeboxTerminationCondition.d.ts +2 -2
- package/dist/JukeboxTerminationCondition.js +4 -4
- package/dist/JukeboxType.d.ts +2 -2
- package/dist/JukeboxType.js +4 -4
- package/dist/JukeboxUser.d.ts +7 -7
- package/dist/JukeboxUser.js +20 -20
- package/dist/KnexMigrations.d.ts +3 -3
- package/dist/KnexMigrations.js +6 -6
- package/dist/KnexMigrationsLock.d.ts +3 -3
- package/dist/KnexMigrationsLock.js +5 -5
- package/dist/MerchItem.d.ts +3 -3
- package/dist/MerchItem.js +6 -6
- package/dist/MerchOrchestration.d.ts +3 -3
- package/dist/MerchOrchestration.js +6 -6
- package/dist/MerchPlatform.d.ts +2 -2
- package/dist/MerchPlatform.js +6 -6
- package/dist/MerchType.d.ts +2 -2
- package/dist/MerchType.js +4 -4
- package/dist/MetricsDaily.d.ts +3 -3
- package/dist/MetricsDaily.js +4 -4
- package/dist/NewsSite.d.ts +3 -3
- package/dist/NewsSite.js +6 -6
- package/dist/Notification.d.ts +13 -13
- package/dist/Notification.js +33 -33
- package/dist/Platform.d.ts +2 -2
- package/dist/Platform.js +7 -7
- package/dist/PlatformAlbum.d.ts +5 -5
- package/dist/PlatformAlbum.js +10 -10
- package/dist/PlatformArtist.d.ts +5 -5
- package/dist/PlatformArtist.js +10 -10
- package/dist/PlatformGenre.d.ts +2 -2
- package/dist/PlatformGenre.js +6 -6
- package/dist/PlatformTrack.d.ts +3 -3
- package/dist/PlatformTrack.js +6 -6
- package/dist/PlatformUserAlbum.d.ts +2 -2
- package/dist/PlatformUserAlbum.js +6 -6
- package/dist/PlatformUserAlbumTrack.d.ts +4 -4
- package/dist/PlatformUserAlbumTrack.js +11 -11
- package/dist/PlatformUserPlaylist.d.ts +5 -5
- package/dist/PlatformUserPlaylist.js +11 -11
- package/dist/PlatformUserPlaylistArtistAffinity.d.ts +4 -4
- package/dist/PlatformUserPlaylistArtistAffinity.js +12 -12
- package/dist/PlatformUserPlaylistGenreAffinity.d.ts +2 -2
- package/dist/PlatformUserPlaylistGenreAffinity.js +6 -6
- package/dist/PlatformUserPlaylistTrack.d.ts +7 -7
- package/dist/PlatformUserPlaylistTrack.js +17 -17
- package/dist/PlaybackStatus.d.ts +2 -2
- package/dist/PlaybackStatus.js +4 -4
- package/dist/RadioShow.d.ts +3 -3
- package/dist/RadioShow.js +6 -6
- package/dist/RadioShowMedia.d.ts +3 -3
- package/dist/RadioShowMedia.js +6 -6
- package/dist/RadioShowPlacement.d.ts +3 -3
- package/dist/RadioShowPlacement.js +6 -6
- package/dist/RadioShowPublishRequests.d.ts +3 -3
- package/dist/RadioShowPublishRequests.js +6 -6
- package/dist/State.d.ts +2 -2
- package/dist/State.js +4 -4
- package/dist/UnmatchedAlbum.d.ts +2 -2
- package/dist/UnmatchedAlbum.js +6 -6
- package/dist/UnmatchedArtist.d.ts +2 -2
- package/dist/UnmatchedArtist.js +6 -6
- package/dist/UserAbuseReports.d.ts +7 -7
- package/dist/UserAbuseReports.js +18 -18
- package/dist/UserAffinity.d.ts +2 -2
- package/dist/UserAffinity.js +6 -6
- package/dist/UserArtistAffinity.d.ts +2 -2
- package/dist/UserArtistAffinity.js +6 -6
- package/dist/UserBookmarks.d.ts +3 -3
- package/dist/UserBookmarks.js +6 -6
- package/dist/UserComments.d.ts +5 -5
- package/dist/UserComments.js +12 -12
- package/dist/UserContacts.d.ts +3 -3
- package/dist/UserContacts.js +7 -7
- package/dist/UserEngagementFactor.d.ts +2 -2
- package/dist/UserEngagementFactor.js +6 -6
- package/dist/UserGenreAffinity.d.ts +2 -2
- package/dist/UserGenreAffinity.js +6 -6
- package/dist/UserLikes.d.ts +3 -3
- package/dist/UserLikes.js +6 -6
- package/dist/UserMessages.d.ts +5 -5
- package/dist/UserMessages.js +15 -15
- package/dist/Versus.d.ts +5 -5
- package/dist/Versus.js +11 -11
- package/dist/VersusCoCreator.d.ts +4 -4
- package/dist/VersusCoCreator.js +12 -12
- package/dist/VersusOption.d.ts +3 -3
- package/dist/VersusOption.js +6 -6
- package/dist/VersusPublishIssue.d.ts +3 -3
- package/dist/VersusPublishIssue.js +6 -6
- package/dist/VersusQuestion.d.ts +2 -2
- package/dist/VersusQuestion.js +6 -6
- package/dist/VersusVote.d.ts +2 -2
- package/dist/VersusVote.js +6 -6
- package/dist/init-models.d.ts +349 -3
- package/dist/init-models.js +905 -1
- package/models/AffinityRelationshipType.ts +8 -8
- package/models/AppUser.ts +12 -12
- package/models/AppUserDevice.ts +8 -8
- package/models/AppUserDeviceClassicBackup20260906.ts +66 -0
- package/models/AppUserFollowRelation.ts +9 -9
- package/models/AppUserPlatformRelation.ts +38 -38
- package/models/CanonAlbum.ts +15 -15
- package/models/CanonArtist.ts +16 -16
- package/models/CanonGenre.ts +9 -9
- package/models/CanonLabel.ts +8 -8
- package/models/CanonMember.ts +9 -9
- package/models/CanonMemberExternalReferenceRelation.ts +7 -7
- package/models/CanonTrack.ts +16 -16
- package/models/ConfigParam.ts +7 -7
- package/models/ExternalReference.ts +7 -7
- package/models/FeedContentType.ts +6 -6
- package/models/GuestUser.ts +18 -18
- package/models/JukeboxAccessType.ts +6 -6
- package/models/JukeboxCanonGenreRelation.ts +8 -8
- package/models/JukeboxInvite.ts +9 -9
- package/models/JukeboxQueueEntry.ts +34 -34
- package/models/JukeboxQueueMode.ts +6 -6
- package/models/JukeboxSession.ts +29 -29
- package/models/JukeboxSessionArtistAffinity.ts +8 -8
- package/models/JukeboxSessionGenreAffinity.ts +8 -8
- package/models/JukeboxTerminationCondition.ts +6 -6
- package/models/JukeboxType.ts +6 -6
- package/models/JukeboxUser.ts +27 -27
- package/models/KnexMigrations.ts +9 -9
- package/models/KnexMigrationsLock.ts +8 -8
- package/models/MerchItem.ts +9 -9
- package/models/MerchOrchestration.ts +9 -9
- package/models/MerchPlatform.ts +8 -8
- package/models/MerchType.ts +6 -6
- package/models/MetricsDaily.ts +7 -7
- package/models/NewsSite.ts +9 -9
- package/models/Notification.ts +46 -46
- package/models/Platform.ts +9 -9
- package/models/PlatformAlbum.ts +15 -15
- package/models/PlatformArtist.ts +15 -15
- package/models/PlatformGenre.ts +8 -8
- package/models/PlatformTrack.ts +9 -9
- package/models/PlatformUserAlbum.ts +8 -8
- package/models/PlatformUserAlbumTrack.ts +15 -15
- package/models/PlatformUserPlaylist.ts +16 -16
- package/models/PlatformUserPlaylistArtistAffinity.ts +16 -16
- package/models/PlatformUserPlaylistGenreAffinity.ts +8 -8
- package/models/PlatformUserPlaylistTrack.ts +24 -24
- package/models/PlaybackStatus.ts +6 -6
- package/models/RadioShow.ts +9 -9
- package/models/RadioShowMedia.ts +9 -9
- package/models/RadioShowPlacement.ts +9 -9
- package/models/RadioShowPublishRequests.ts +9 -9
- package/models/State.ts +6 -6
- package/models/UnmatchedAlbum.ts +8 -8
- package/models/UnmatchedArtist.ts +8 -8
- package/models/UserAbuseReports.ts +25 -25
- package/models/UserAffinity.ts +8 -8
- package/models/UserArtistAffinity.ts +8 -8
- package/models/UserBookmarks.ts +9 -9
- package/models/UserComments.ts +17 -17
- package/models/UserContacts.ts +10 -10
- package/models/UserEngagementFactor.ts +8 -8
- package/models/UserGenreAffinity.ts +8 -8
- package/models/UserLikes.ts +9 -9
- package/models/UserMessages.ts +20 -20
- package/models/Versus.ts +16 -16
- package/models/VersusCoCreator.ts +16 -16
- package/models/VersusOption.ts +9 -9
- package/models/VersusPublishIssue.ts +9 -9
- package/models/VersusQuestion.ts +8 -8
- package/models/VersusVote.ts +8 -8
- package/models/init-models.ts +1245 -0
- package/package.json +1 -1
- package/scripts/generate-and-upload.mjs +123 -0
- package/dist/CanonAlbumImageHarvested.d.ts +0 -30
- package/dist/CanonAlbumImageHarvested.js +0 -70
- package/dist/CanonArtistImageHarvested.d.ts +0 -30
- package/dist/CanonArtistImageHarvested.js +0 -70
- package/models/CanonAlbumImageHarvested.ts +0 -98
- package/models/CanonArtistImageHarvested.ts +0 -98
|
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
|
|
|
29
29
|
class JukeboxSessionGenreAffinity extends sequelize_1.Model {
|
|
30
30
|
static initModel(sequelize) {
|
|
31
31
|
return JukeboxSessionGenreAffinity.init({
|
|
32
|
+
id: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
36
|
+
primaryKey: true
|
|
37
|
+
},
|
|
32
38
|
jukeboxSessionId: {
|
|
33
39
|
type: sequelize_1.DataTypes.UUID,
|
|
34
40
|
allowNull: false,
|
|
@@ -62,12 +68,6 @@ class JukeboxSessionGenreAffinity extends sequelize_1.Model {
|
|
|
62
68
|
type: sequelize_1.DataTypes.INTEGER,
|
|
63
69
|
allowNull: false
|
|
64
70
|
},
|
|
65
|
-
id: {
|
|
66
|
-
type: sequelize_1.DataTypes.UUID,
|
|
67
|
-
allowNull: false,
|
|
68
|
-
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
69
|
-
primaryKey: true
|
|
70
|
-
},
|
|
71
71
|
createdAt: {
|
|
72
72
|
type: sequelize_1.DataTypes.DATE,
|
|
73
73
|
allowNull: false,
|
|
@@ -2,15 +2,15 @@ import * as Sequelize from 'sequelize';
|
|
|
2
2
|
import { Model } from 'sequelize';
|
|
3
3
|
import type { JukeboxSession, JukeboxSessionId } from './JukeboxSession';
|
|
4
4
|
export interface JukeboxTerminationConditionAttributes {
|
|
5
|
-
description: string;
|
|
6
5
|
id: number;
|
|
6
|
+
description: string;
|
|
7
7
|
}
|
|
8
8
|
export type JukeboxTerminationConditionPk = "id";
|
|
9
9
|
export type JukeboxTerminationConditionId = JukeboxTerminationCondition[JukeboxTerminationConditionPk];
|
|
10
10
|
export type JukeboxTerminationConditionCreationAttributes = JukeboxTerminationConditionAttributes;
|
|
11
11
|
export declare class JukeboxTerminationCondition extends Model<JukeboxTerminationConditionAttributes, JukeboxTerminationConditionCreationAttributes> implements JukeboxTerminationConditionAttributes {
|
|
12
|
-
description: string;
|
|
13
12
|
id: number;
|
|
13
|
+
description: string;
|
|
14
14
|
jukeboxSessions: JukeboxSession[];
|
|
15
15
|
getJukeboxSessions: Sequelize.HasManyGetAssociationsMixin<JukeboxSession>;
|
|
16
16
|
setJukeboxSessions: Sequelize.HasManySetAssociationsMixin<JukeboxSession, JukeboxSessionId>;
|
|
@@ -5,16 +5,16 @@ const sequelize_1 = require("sequelize");
|
|
|
5
5
|
class JukeboxTerminationCondition extends sequelize_1.Model {
|
|
6
6
|
static initModel(sequelize) {
|
|
7
7
|
return JukeboxTerminationCondition.init({
|
|
8
|
-
description: {
|
|
9
|
-
type: sequelize_1.DataTypes.TEXT,
|
|
10
|
-
allowNull: false
|
|
11
|
-
},
|
|
12
8
|
id: {
|
|
13
9
|
autoIncrement: true,
|
|
14
10
|
autoIncrementIdentity: true,
|
|
15
11
|
type: sequelize_1.DataTypes.SMALLINT,
|
|
16
12
|
allowNull: false,
|
|
17
13
|
primaryKey: true
|
|
14
|
+
},
|
|
15
|
+
description: {
|
|
16
|
+
type: sequelize_1.DataTypes.TEXT,
|
|
17
|
+
allowNull: false
|
|
18
18
|
}
|
|
19
19
|
}, {
|
|
20
20
|
sequelize,
|
package/dist/JukeboxType.d.ts
CHANGED
|
@@ -2,15 +2,15 @@ import * as Sequelize from 'sequelize';
|
|
|
2
2
|
import { Model } from 'sequelize';
|
|
3
3
|
import type { JukeboxSession, JukeboxSessionId } from './JukeboxSession';
|
|
4
4
|
export interface JukeboxTypeAttributes {
|
|
5
|
-
description: string;
|
|
6
5
|
id: number;
|
|
6
|
+
description: string;
|
|
7
7
|
}
|
|
8
8
|
export type JukeboxTypePk = "id";
|
|
9
9
|
export type JukeboxTypeId = JukeboxType[JukeboxTypePk];
|
|
10
10
|
export type JukeboxTypeCreationAttributes = JukeboxTypeAttributes;
|
|
11
11
|
export declare class JukeboxType extends Model<JukeboxTypeAttributes, JukeboxTypeCreationAttributes> implements JukeboxTypeAttributes {
|
|
12
|
-
description: string;
|
|
13
12
|
id: number;
|
|
13
|
+
description: string;
|
|
14
14
|
jukeboxSessions: JukeboxSession[];
|
|
15
15
|
getJukeboxSessions: Sequelize.HasManyGetAssociationsMixin<JukeboxSession>;
|
|
16
16
|
setJukeboxSessions: Sequelize.HasManySetAssociationsMixin<JukeboxSession, JukeboxSessionId>;
|
package/dist/JukeboxType.js
CHANGED
|
@@ -5,16 +5,16 @@ const sequelize_1 = require("sequelize");
|
|
|
5
5
|
class JukeboxType extends sequelize_1.Model {
|
|
6
6
|
static initModel(sequelize) {
|
|
7
7
|
return JukeboxType.init({
|
|
8
|
-
description: {
|
|
9
|
-
type: sequelize_1.DataTypes.TEXT,
|
|
10
|
-
allowNull: false
|
|
11
|
-
},
|
|
12
8
|
id: {
|
|
13
9
|
autoIncrement: true,
|
|
14
10
|
autoIncrementIdentity: true,
|
|
15
11
|
type: sequelize_1.DataTypes.SMALLINT,
|
|
16
12
|
allowNull: false,
|
|
17
13
|
primaryKey: true
|
|
14
|
+
},
|
|
15
|
+
description: {
|
|
16
|
+
type: sequelize_1.DataTypes.TEXT,
|
|
17
|
+
allowNull: false
|
|
18
18
|
}
|
|
19
19
|
}, {
|
|
20
20
|
sequelize,
|
package/dist/JukeboxUser.d.ts
CHANGED
|
@@ -6,32 +6,32 @@ import type { JukeboxSession, JukeboxSessionId } from './JukeboxSession';
|
|
|
6
6
|
import type { JukeboxUserType, JukeboxUserTypeId } from './JukeboxUserType';
|
|
7
7
|
import type { PauseStatusType, PauseStatusTypeId } from './PauseStatusType';
|
|
8
8
|
export interface JukeboxUserAttributes {
|
|
9
|
+
id: string;
|
|
9
10
|
jukeboxSessionId: string;
|
|
10
11
|
appUserId: string;
|
|
11
|
-
exitDate?: Date;
|
|
12
|
-
pausedQueueEntryId?: string;
|
|
13
|
-
id: string;
|
|
14
12
|
createdAt: Date;
|
|
15
13
|
updatedAt: Date;
|
|
16
14
|
enterDate: Date;
|
|
15
|
+
exitDate?: Date;
|
|
17
16
|
jukeboxUserTypeId: number;
|
|
18
17
|
pauseStatusTypeId: number;
|
|
18
|
+
pausedQueueEntryId?: string;
|
|
19
19
|
}
|
|
20
20
|
export type JukeboxUserPk = "id";
|
|
21
21
|
export type JukeboxUserId = JukeboxUser[JukeboxUserPk];
|
|
22
|
-
export type JukeboxUserOptionalAttributes = "
|
|
22
|
+
export type JukeboxUserOptionalAttributes = "id" | "createdAt" | "updatedAt" | "enterDate" | "exitDate" | "jukeboxUserTypeId" | "pauseStatusTypeId" | "pausedQueueEntryId";
|
|
23
23
|
export type JukeboxUserCreationAttributes = Optional<JukeboxUserAttributes, JukeboxUserOptionalAttributes>;
|
|
24
24
|
export declare class JukeboxUser extends Model<JukeboxUserAttributes, JukeboxUserCreationAttributes> implements JukeboxUserAttributes {
|
|
25
|
+
id: string;
|
|
25
26
|
jukeboxSessionId: string;
|
|
26
27
|
appUserId: string;
|
|
27
|
-
exitDate?: Date;
|
|
28
|
-
pausedQueueEntryId?: string;
|
|
29
|
-
id: string;
|
|
30
28
|
createdAt: Date;
|
|
31
29
|
updatedAt: Date;
|
|
32
30
|
enterDate: Date;
|
|
31
|
+
exitDate?: Date;
|
|
33
32
|
jukeboxUserTypeId: number;
|
|
34
33
|
pauseStatusTypeId: number;
|
|
34
|
+
pausedQueueEntryId?: string;
|
|
35
35
|
appUser: AppUser;
|
|
36
36
|
getAppUser: Sequelize.BelongsToGetAssociationMixin<AppUser>;
|
|
37
37
|
setAppUser: Sequelize.BelongsToSetAssociationMixin<AppUser, AppUserId>;
|
package/dist/JukeboxUser.js
CHANGED
|
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
|
|
|
29
29
|
class JukeboxUser extends sequelize_1.Model {
|
|
30
30
|
static initModel(sequelize) {
|
|
31
31
|
return JukeboxUser.init({
|
|
32
|
+
id: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
36
|
+
primaryKey: true
|
|
37
|
+
},
|
|
32
38
|
jukeboxSessionId: {
|
|
33
39
|
type: sequelize_1.DataTypes.UUID,
|
|
34
40
|
allowNull: false,
|
|
@@ -49,26 +55,6 @@ class JukeboxUser extends sequelize_1.Model {
|
|
|
49
55
|
unique: "unique_jukebox_user_id",
|
|
50
56
|
field: 'app_user_id'
|
|
51
57
|
},
|
|
52
|
-
exitDate: {
|
|
53
|
-
type: sequelize_1.DataTypes.DATE,
|
|
54
|
-
allowNull: true,
|
|
55
|
-
field: 'exit_date'
|
|
56
|
-
},
|
|
57
|
-
pausedQueueEntryId: {
|
|
58
|
-
type: sequelize_1.DataTypes.UUID,
|
|
59
|
-
allowNull: true,
|
|
60
|
-
references: {
|
|
61
|
-
model: 'jukebox_queue_entry',
|
|
62
|
-
key: 'id'
|
|
63
|
-
},
|
|
64
|
-
field: 'paused_queue_entry_id'
|
|
65
|
-
},
|
|
66
|
-
id: {
|
|
67
|
-
type: sequelize_1.DataTypes.UUID,
|
|
68
|
-
allowNull: false,
|
|
69
|
-
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
70
|
-
primaryKey: true
|
|
71
|
-
},
|
|
72
58
|
createdAt: {
|
|
73
59
|
type: sequelize_1.DataTypes.DATE,
|
|
74
60
|
allowNull: false,
|
|
@@ -87,6 +73,11 @@ class JukeboxUser extends sequelize_1.Model {
|
|
|
87
73
|
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
88
74
|
field: 'enter_date'
|
|
89
75
|
},
|
|
76
|
+
exitDate: {
|
|
77
|
+
type: sequelize_1.DataTypes.DATE,
|
|
78
|
+
allowNull: true,
|
|
79
|
+
field: 'exit_date'
|
|
80
|
+
},
|
|
90
81
|
jukeboxUserTypeId: {
|
|
91
82
|
type: sequelize_1.DataTypes.SMALLINT,
|
|
92
83
|
allowNull: false,
|
|
@@ -106,6 +97,15 @@ class JukeboxUser extends sequelize_1.Model {
|
|
|
106
97
|
key: 'id'
|
|
107
98
|
},
|
|
108
99
|
field: 'pause_status_type_id'
|
|
100
|
+
},
|
|
101
|
+
pausedQueueEntryId: {
|
|
102
|
+
type: sequelize_1.DataTypes.UUID,
|
|
103
|
+
allowNull: true,
|
|
104
|
+
references: {
|
|
105
|
+
model: 'jukebox_queue_entry',
|
|
106
|
+
key: 'id'
|
|
107
|
+
},
|
|
108
|
+
field: 'paused_queue_entry_id'
|
|
109
109
|
}
|
|
110
110
|
}, {
|
|
111
111
|
sequelize,
|
package/dist/KnexMigrations.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as Sequelize from 'sequelize';
|
|
2
2
|
import { Model, Optional } from 'sequelize';
|
|
3
3
|
export interface KnexMigrationsAttributes {
|
|
4
|
+
id: number;
|
|
4
5
|
name?: string;
|
|
5
6
|
batch?: number;
|
|
6
7
|
migrationTime?: Date;
|
|
7
|
-
id: number;
|
|
8
8
|
}
|
|
9
9
|
export type KnexMigrationsPk = "id";
|
|
10
10
|
export type KnexMigrationsId = KnexMigrations[KnexMigrationsPk];
|
|
11
|
-
export type KnexMigrationsOptionalAttributes = "
|
|
11
|
+
export type KnexMigrationsOptionalAttributes = "id" | "name" | "batch" | "migrationTime";
|
|
12
12
|
export type KnexMigrationsCreationAttributes = Optional<KnexMigrationsAttributes, KnexMigrationsOptionalAttributes>;
|
|
13
13
|
export declare class KnexMigrations extends Model<KnexMigrationsAttributes, KnexMigrationsCreationAttributes> implements KnexMigrationsAttributes {
|
|
14
|
+
id: number;
|
|
14
15
|
name?: string;
|
|
15
16
|
batch?: number;
|
|
16
17
|
migrationTime?: Date;
|
|
17
|
-
id: number;
|
|
18
18
|
static initModel(sequelize: Sequelize.Sequelize): typeof KnexMigrations;
|
|
19
19
|
}
|
package/dist/KnexMigrations.js
CHANGED
|
@@ -5,6 +5,12 @@ const sequelize_1 = require("sequelize");
|
|
|
5
5
|
class KnexMigrations extends sequelize_1.Model {
|
|
6
6
|
static initModel(sequelize) {
|
|
7
7
|
return KnexMigrations.init({
|
|
8
|
+
id: {
|
|
9
|
+
autoIncrement: true,
|
|
10
|
+
type: sequelize_1.DataTypes.INTEGER,
|
|
11
|
+
allowNull: false,
|
|
12
|
+
primaryKey: true
|
|
13
|
+
},
|
|
8
14
|
name: {
|
|
9
15
|
type: sequelize_1.DataTypes.STRING(255),
|
|
10
16
|
allowNull: true
|
|
@@ -17,12 +23,6 @@ class KnexMigrations extends sequelize_1.Model {
|
|
|
17
23
|
type: sequelize_1.DataTypes.DATE,
|
|
18
24
|
allowNull: true,
|
|
19
25
|
field: 'migration_time'
|
|
20
|
-
},
|
|
21
|
-
id: {
|
|
22
|
-
autoIncrement: true,
|
|
23
|
-
type: sequelize_1.DataTypes.INTEGER,
|
|
24
|
-
allowNull: false,
|
|
25
|
-
primaryKey: true
|
|
26
26
|
}
|
|
27
27
|
}, {
|
|
28
28
|
sequelize,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as Sequelize from 'sequelize';
|
|
2
2
|
import { Model, Optional } from 'sequelize';
|
|
3
3
|
export interface KnexMigrationsLockAttributes {
|
|
4
|
-
isLocked?: number;
|
|
5
4
|
index: number;
|
|
5
|
+
isLocked?: number;
|
|
6
6
|
}
|
|
7
7
|
export type KnexMigrationsLockPk = "index";
|
|
8
8
|
export type KnexMigrationsLockId = KnexMigrationsLock[KnexMigrationsLockPk];
|
|
9
|
-
export type KnexMigrationsLockOptionalAttributes = "
|
|
9
|
+
export type KnexMigrationsLockOptionalAttributes = "index" | "isLocked";
|
|
10
10
|
export type KnexMigrationsLockCreationAttributes = Optional<KnexMigrationsLockAttributes, KnexMigrationsLockOptionalAttributes>;
|
|
11
11
|
export declare class KnexMigrationsLock extends Model<KnexMigrationsLockAttributes, KnexMigrationsLockCreationAttributes> implements KnexMigrationsLockAttributes {
|
|
12
|
-
isLocked?: number;
|
|
13
12
|
index: number;
|
|
13
|
+
isLocked?: number;
|
|
14
14
|
static initModel(sequelize: Sequelize.Sequelize): typeof KnexMigrationsLock;
|
|
15
15
|
}
|
|
@@ -5,16 +5,16 @@ const sequelize_1 = require("sequelize");
|
|
|
5
5
|
class KnexMigrationsLock extends sequelize_1.Model {
|
|
6
6
|
static initModel(sequelize) {
|
|
7
7
|
return KnexMigrationsLock.init({
|
|
8
|
-
isLocked: {
|
|
9
|
-
type: sequelize_1.DataTypes.INTEGER,
|
|
10
|
-
allowNull: true,
|
|
11
|
-
field: 'is_locked'
|
|
12
|
-
},
|
|
13
8
|
index: {
|
|
14
9
|
autoIncrement: true,
|
|
15
10
|
type: sequelize_1.DataTypes.INTEGER,
|
|
16
11
|
allowNull: false,
|
|
17
12
|
primaryKey: true
|
|
13
|
+
},
|
|
14
|
+
isLocked: {
|
|
15
|
+
type: sequelize_1.DataTypes.INTEGER,
|
|
16
|
+
allowNull: true,
|
|
17
|
+
field: 'is_locked'
|
|
18
18
|
}
|
|
19
19
|
}, {
|
|
20
20
|
sequelize,
|
package/dist/MerchItem.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import type { UserBookmarks, UserBookmarksId } from './UserBookmarks';
|
|
|
7
7
|
import type { UserComments, UserCommentsId } from './UserComments';
|
|
8
8
|
import type { UserLikes, UserLikesId } from './UserLikes';
|
|
9
9
|
export interface MerchItemAttributes {
|
|
10
|
+
id: string;
|
|
10
11
|
canonArtistId: string;
|
|
11
12
|
merchTypeId: string;
|
|
12
13
|
merchPlatformId: string;
|
|
@@ -15,16 +16,16 @@ export interface MerchItemAttributes {
|
|
|
15
16
|
description: string;
|
|
16
17
|
photo?: string;
|
|
17
18
|
popularity?: number;
|
|
18
|
-
id: string;
|
|
19
19
|
inactive?: boolean;
|
|
20
20
|
createDate: Date;
|
|
21
21
|
updateDate: Date;
|
|
22
22
|
}
|
|
23
23
|
export type MerchItemPk = "id";
|
|
24
24
|
export type MerchItemId = MerchItem[MerchItemPk];
|
|
25
|
-
export type MerchItemOptionalAttributes = "
|
|
25
|
+
export type MerchItemOptionalAttributes = "id" | "photo" | "popularity" | "inactive" | "createDate" | "updateDate";
|
|
26
26
|
export type MerchItemCreationAttributes = Optional<MerchItemAttributes, MerchItemOptionalAttributes>;
|
|
27
27
|
export declare class MerchItem extends Model<MerchItemAttributes, MerchItemCreationAttributes> implements MerchItemAttributes {
|
|
28
|
+
id: string;
|
|
28
29
|
canonArtistId: string;
|
|
29
30
|
merchTypeId: string;
|
|
30
31
|
merchPlatformId: string;
|
|
@@ -33,7 +34,6 @@ export declare class MerchItem extends Model<MerchItemAttributes, MerchItemCreat
|
|
|
33
34
|
description: string;
|
|
34
35
|
photo?: string;
|
|
35
36
|
popularity?: number;
|
|
36
|
-
id: string;
|
|
37
37
|
inactive?: boolean;
|
|
38
38
|
createDate: Date;
|
|
39
39
|
updateDate: Date;
|
package/dist/MerchItem.js
CHANGED
|
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
|
|
|
29
29
|
class MerchItem extends sequelize_1.Model {
|
|
30
30
|
static initModel(sequelize) {
|
|
31
31
|
return MerchItem.init({
|
|
32
|
+
id: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
36
|
+
primaryKey: true
|
|
37
|
+
},
|
|
32
38
|
canonArtistId: {
|
|
33
39
|
type: sequelize_1.DataTypes.UUID,
|
|
34
40
|
allowNull: false,
|
|
@@ -77,12 +83,6 @@ class MerchItem extends sequelize_1.Model {
|
|
|
77
83
|
type: sequelize_1.DataTypes.SMALLINT,
|
|
78
84
|
allowNull: true
|
|
79
85
|
},
|
|
80
|
-
id: {
|
|
81
|
-
type: sequelize_1.DataTypes.UUID,
|
|
82
|
-
allowNull: false,
|
|
83
|
-
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
84
|
-
primaryKey: true
|
|
85
|
-
},
|
|
86
86
|
inactive: {
|
|
87
87
|
type: sequelize_1.DataTypes.BOOLEAN,
|
|
88
88
|
allowNull: true,
|
|
@@ -4,26 +4,26 @@ import type { CanonArtist, CanonArtistId } from './CanonArtist';
|
|
|
4
4
|
import type { MerchPlatform, MerchPlatformId } from './MerchPlatform';
|
|
5
5
|
import type { MerchType, MerchTypeId } from './MerchType';
|
|
6
6
|
export interface MerchOrchestrationAttributes {
|
|
7
|
+
id: string;
|
|
7
8
|
canonArtistId: string;
|
|
8
9
|
merchTypeId: string;
|
|
9
10
|
merchPlatformId: string;
|
|
10
11
|
errorMessage?: string;
|
|
11
12
|
lastHarvestDate?: Date;
|
|
12
|
-
id: string;
|
|
13
13
|
createDate: Date;
|
|
14
14
|
updateDate: Date;
|
|
15
15
|
}
|
|
16
16
|
export type MerchOrchestrationPk = "id";
|
|
17
17
|
export type MerchOrchestrationId = MerchOrchestration[MerchOrchestrationPk];
|
|
18
|
-
export type MerchOrchestrationOptionalAttributes = "
|
|
18
|
+
export type MerchOrchestrationOptionalAttributes = "id" | "errorMessage" | "lastHarvestDate" | "createDate" | "updateDate";
|
|
19
19
|
export type MerchOrchestrationCreationAttributes = Optional<MerchOrchestrationAttributes, MerchOrchestrationOptionalAttributes>;
|
|
20
20
|
export declare class MerchOrchestration extends Model<MerchOrchestrationAttributes, MerchOrchestrationCreationAttributes> implements MerchOrchestrationAttributes {
|
|
21
|
+
id: string;
|
|
21
22
|
canonArtistId: string;
|
|
22
23
|
merchTypeId: string;
|
|
23
24
|
merchPlatformId: string;
|
|
24
25
|
errorMessage?: string;
|
|
25
26
|
lastHarvestDate?: Date;
|
|
26
|
-
id: string;
|
|
27
27
|
createDate: Date;
|
|
28
28
|
updateDate: Date;
|
|
29
29
|
canonArtist: CanonArtist;
|
|
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
|
|
|
29
29
|
class MerchOrchestration extends sequelize_1.Model {
|
|
30
30
|
static initModel(sequelize) {
|
|
31
31
|
return MerchOrchestration.init({
|
|
32
|
+
id: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
36
|
+
primaryKey: true
|
|
37
|
+
},
|
|
32
38
|
canonArtistId: {
|
|
33
39
|
type: sequelize_1.DataTypes.UUID,
|
|
34
40
|
allowNull: false,
|
|
@@ -66,12 +72,6 @@ class MerchOrchestration extends sequelize_1.Model {
|
|
|
66
72
|
allowNull: true,
|
|
67
73
|
field: 'last_harvest_date'
|
|
68
74
|
},
|
|
69
|
-
id: {
|
|
70
|
-
type: sequelize_1.DataTypes.UUID,
|
|
71
|
-
allowNull: false,
|
|
72
|
-
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
73
|
-
primaryKey: true
|
|
74
|
-
},
|
|
75
75
|
createDate: {
|
|
76
76
|
type: sequelize_1.DataTypes.DATE,
|
|
77
77
|
allowNull: false,
|
package/dist/MerchPlatform.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { Model, Optional } from 'sequelize';
|
|
|
3
3
|
import type { MerchItem, MerchItemId } from './MerchItem';
|
|
4
4
|
import type { MerchOrchestration, MerchOrchestrationId } from './MerchOrchestration';
|
|
5
5
|
export interface MerchPlatformAttributes {
|
|
6
|
+
id: string;
|
|
6
7
|
name: string;
|
|
7
8
|
host: string;
|
|
8
|
-
id: string;
|
|
9
9
|
createDate: Date;
|
|
10
10
|
updateDate: Date;
|
|
11
11
|
}
|
|
@@ -14,9 +14,9 @@ export type MerchPlatformId = MerchPlatform[MerchPlatformPk];
|
|
|
14
14
|
export type MerchPlatformOptionalAttributes = "id" | "createDate" | "updateDate";
|
|
15
15
|
export type MerchPlatformCreationAttributes = Optional<MerchPlatformAttributes, MerchPlatformOptionalAttributes>;
|
|
16
16
|
export declare class MerchPlatform extends Model<MerchPlatformAttributes, MerchPlatformCreationAttributes> implements MerchPlatformAttributes {
|
|
17
|
+
id: string;
|
|
17
18
|
name: string;
|
|
18
19
|
host: string;
|
|
19
|
-
id: string;
|
|
20
20
|
createDate: Date;
|
|
21
21
|
updateDate: Date;
|
|
22
22
|
merchItems: MerchItem[];
|
package/dist/MerchPlatform.js
CHANGED
|
@@ -29,6 +29,12 @@ const sequelize_1 = require("sequelize");
|
|
|
29
29
|
class MerchPlatform extends sequelize_1.Model {
|
|
30
30
|
static initModel(sequelize) {
|
|
31
31
|
return MerchPlatform.init({
|
|
32
|
+
id: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
36
|
+
primaryKey: true
|
|
37
|
+
},
|
|
32
38
|
name: {
|
|
33
39
|
type: sequelize_1.DataTypes.TEXT,
|
|
34
40
|
allowNull: false
|
|
@@ -37,12 +43,6 @@ class MerchPlatform extends sequelize_1.Model {
|
|
|
37
43
|
type: sequelize_1.DataTypes.TEXT,
|
|
38
44
|
allowNull: false
|
|
39
45
|
},
|
|
40
|
-
id: {
|
|
41
|
-
type: sequelize_1.DataTypes.UUID,
|
|
42
|
-
allowNull: false,
|
|
43
|
-
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
44
|
-
primaryKey: true
|
|
45
|
-
},
|
|
46
46
|
createDate: {
|
|
47
47
|
type: sequelize_1.DataTypes.DATE,
|
|
48
48
|
allowNull: false,
|
package/dist/MerchType.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { Model, Optional } from 'sequelize';
|
|
|
3
3
|
import type { MerchItem, MerchItemId } from './MerchItem';
|
|
4
4
|
import type { MerchOrchestration, MerchOrchestrationId } from './MerchOrchestration';
|
|
5
5
|
export interface MerchTypeAttributes {
|
|
6
|
-
description: string;
|
|
7
6
|
id: string;
|
|
7
|
+
description: string;
|
|
8
8
|
createDate: Date;
|
|
9
9
|
updateDate: Date;
|
|
10
10
|
}
|
|
@@ -13,8 +13,8 @@ export type MerchTypeId = MerchType[MerchTypePk];
|
|
|
13
13
|
export type MerchTypeOptionalAttributes = "id" | "createDate" | "updateDate";
|
|
14
14
|
export type MerchTypeCreationAttributes = Optional<MerchTypeAttributes, MerchTypeOptionalAttributes>;
|
|
15
15
|
export declare class MerchType extends Model<MerchTypeAttributes, MerchTypeCreationAttributes> implements MerchTypeAttributes {
|
|
16
|
-
description: string;
|
|
17
16
|
id: string;
|
|
17
|
+
description: string;
|
|
18
18
|
createDate: Date;
|
|
19
19
|
updateDate: Date;
|
|
20
20
|
merchItems: MerchItem[];
|
package/dist/MerchType.js
CHANGED
|
@@ -29,16 +29,16 @@ const sequelize_1 = require("sequelize");
|
|
|
29
29
|
class MerchType extends sequelize_1.Model {
|
|
30
30
|
static initModel(sequelize) {
|
|
31
31
|
return MerchType.init({
|
|
32
|
-
description: {
|
|
33
|
-
type: sequelize_1.DataTypes.TEXT,
|
|
34
|
-
allowNull: false
|
|
35
|
-
},
|
|
36
32
|
id: {
|
|
37
33
|
type: sequelize_1.DataTypes.UUID,
|
|
38
34
|
allowNull: false,
|
|
39
35
|
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
40
36
|
primaryKey: true
|
|
41
37
|
},
|
|
38
|
+
description: {
|
|
39
|
+
type: sequelize_1.DataTypes.TEXT,
|
|
40
|
+
allowNull: false
|
|
41
|
+
},
|
|
42
42
|
createDate: {
|
|
43
43
|
type: sequelize_1.DataTypes.DATE,
|
|
44
44
|
allowNull: false,
|
package/dist/MetricsDaily.d.ts
CHANGED
|
@@ -3,17 +3,17 @@ import { Model, Optional } from 'sequelize';
|
|
|
3
3
|
export interface MetricsDailyAttributes {
|
|
4
4
|
day?: string;
|
|
5
5
|
eventType: string;
|
|
6
|
-
metrics?: object;
|
|
7
6
|
createdAt: Date;
|
|
8
7
|
updatedAt: Date;
|
|
8
|
+
metrics?: object;
|
|
9
9
|
}
|
|
10
|
-
export type MetricsDailyOptionalAttributes = "day" | "
|
|
10
|
+
export type MetricsDailyOptionalAttributes = "day" | "createdAt" | "updatedAt" | "metrics";
|
|
11
11
|
export type MetricsDailyCreationAttributes = Optional<MetricsDailyAttributes, MetricsDailyOptionalAttributes>;
|
|
12
12
|
export declare class MetricsDaily extends Model<MetricsDailyAttributes, MetricsDailyCreationAttributes> implements MetricsDailyAttributes {
|
|
13
13
|
day?: string;
|
|
14
14
|
eventType: string;
|
|
15
|
-
metrics?: object;
|
|
16
15
|
createdAt: Date;
|
|
17
16
|
updatedAt: Date;
|
|
17
|
+
metrics?: object;
|
|
18
18
|
static initModel(sequelize: Sequelize.Sequelize): typeof MetricsDaily;
|
|
19
19
|
}
|
package/dist/MetricsDaily.js
CHANGED
|
@@ -38,10 +38,6 @@ class MetricsDaily extends sequelize_1.Model {
|
|
|
38
38
|
allowNull: false,
|
|
39
39
|
field: 'event_type'
|
|
40
40
|
},
|
|
41
|
-
metrics: {
|
|
42
|
-
type: sequelize_1.DataTypes.JSONB,
|
|
43
|
-
allowNull: true
|
|
44
|
-
},
|
|
45
41
|
createdAt: {
|
|
46
42
|
type: sequelize_1.DataTypes.DATE,
|
|
47
43
|
allowNull: false,
|
|
@@ -53,6 +49,10 @@ class MetricsDaily extends sequelize_1.Model {
|
|
|
53
49
|
allowNull: false,
|
|
54
50
|
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
55
51
|
field: 'updated_at'
|
|
52
|
+
},
|
|
53
|
+
metrics: {
|
|
54
|
+
type: sequelize_1.DataTypes.JSONB,
|
|
55
|
+
allowNull: true
|
|
56
56
|
}
|
|
57
57
|
}, {
|
|
58
58
|
sequelize,
|
package/dist/NewsSite.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as Sequelize from 'sequelize';
|
|
2
2
|
import { Model, Optional } from 'sequelize';
|
|
3
3
|
export interface NewsSiteAttributes {
|
|
4
|
+
id: number;
|
|
4
5
|
name: string;
|
|
5
6
|
domain?: string;
|
|
6
7
|
scrapingBaseUrl: string;
|
|
7
|
-
id: number;
|
|
8
8
|
active?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export type NewsSitePk = "id";
|
|
11
11
|
export type NewsSiteId = NewsSite[NewsSitePk];
|
|
12
|
-
export type NewsSiteOptionalAttributes = "
|
|
12
|
+
export type NewsSiteOptionalAttributes = "id" | "domain" | "active";
|
|
13
13
|
export type NewsSiteCreationAttributes = Optional<NewsSiteAttributes, NewsSiteOptionalAttributes>;
|
|
14
14
|
export declare class NewsSite extends Model<NewsSiteAttributes, NewsSiteCreationAttributes> implements NewsSiteAttributes {
|
|
15
|
+
id: number;
|
|
15
16
|
name: string;
|
|
16
17
|
domain?: string;
|
|
17
18
|
scrapingBaseUrl: string;
|
|
18
|
-
id: number;
|
|
19
19
|
active?: boolean;
|
|
20
20
|
static initModel(sequelize: Sequelize.Sequelize): typeof NewsSite;
|
|
21
21
|
}
|
package/dist/NewsSite.js
CHANGED
|
@@ -5,6 +5,12 @@ const sequelize_1 = require("sequelize");
|
|
|
5
5
|
class NewsSite extends sequelize_1.Model {
|
|
6
6
|
static initModel(sequelize) {
|
|
7
7
|
return NewsSite.init({
|
|
8
|
+
id: {
|
|
9
|
+
autoIncrement: true,
|
|
10
|
+
type: sequelize_1.DataTypes.INTEGER,
|
|
11
|
+
allowNull: false,
|
|
12
|
+
primaryKey: true
|
|
13
|
+
},
|
|
8
14
|
name: {
|
|
9
15
|
type: sequelize_1.DataTypes.STRING(255),
|
|
10
16
|
allowNull: false,
|
|
@@ -19,12 +25,6 @@ class NewsSite extends sequelize_1.Model {
|
|
|
19
25
|
allowNull: false,
|
|
20
26
|
field: 'scraping_base_url'
|
|
21
27
|
},
|
|
22
|
-
id: {
|
|
23
|
-
autoIncrement: true,
|
|
24
|
-
type: sequelize_1.DataTypes.INTEGER,
|
|
25
|
-
allowNull: false,
|
|
26
|
-
primaryKey: true
|
|
27
|
-
},
|
|
28
28
|
active: {
|
|
29
29
|
type: sequelize_1.DataTypes.BOOLEAN,
|
|
30
30
|
allowNull: true,
|