@earbug/db-models 0.0.41 → 0.0.42
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/dist/AppUser.d.ts +24 -0
- package/dist/CanonAlbum.d.ts +24 -0
- package/dist/CanonArtist.d.ts +24 -0
- package/dist/CanonGenre.d.ts +12 -0
- package/dist/CanonTrack.d.ts +24 -0
- package/dist/GuestUser.d.ts +22 -3
- package/dist/GuestUser.js +24 -9
- package/dist/PlatformAlbum.d.ts +36 -0
- package/dist/PlatformArtist.d.ts +36 -0
- package/dist/PlatformTrack.d.ts +36 -0
- package/dist/Versus.d.ts +182 -0
- package/dist/Versus.js +251 -0
- package/dist/VersusAccessType.d.ts +26 -0
- package/dist/VersusAccessType.js +42 -0
- package/dist/VersusCoCreator.d.ts +40 -0
- package/dist/VersusCoCreator.js +117 -0
- package/dist/VersusCreatorScope.d.ts +26 -0
- package/dist/VersusCreatorScope.js +42 -0
- package/dist/VersusEndMode.d.ts +26 -0
- package/dist/VersusEndMode.js +42 -0
- package/dist/VersusEndTimerDuration.d.ts +28 -0
- package/dist/VersusEndTimerDuration.js +55 -0
- package/dist/VersusEndVoteThreshold.d.ts +26 -0
- package/dist/VersusEndVoteThreshold.js +43 -0
- package/dist/VersusEntityKind.d.ts +38 -0
- package/dist/VersusEntityKind.js +42 -0
- package/dist/VersusOption.d.ts +79 -0
- package/dist/VersusOption.js +167 -0
- package/dist/VersusPublishIssue.d.ts +52 -0
- package/dist/VersusPublishIssue.js +116 -0
- package/dist/VersusQuestion.d.ts +45 -0
- package/dist/VersusQuestion.js +102 -0
- package/dist/VersusQuestionVariableType.d.ts +26 -0
- package/dist/VersusQuestionVariableType.js +42 -0
- package/dist/VersusVotingListType.d.ts +26 -0
- package/dist/VersusVotingListType.js +42 -0
- package/dist/VersusVotingMode.d.ts +26 -0
- package/dist/VersusVotingMode.js +42 -0
- package/dist/init-models.d.ts +44 -2
- package/dist/init-models.js +125 -0
- package/models/AppUser.ts +26 -0
- package/models/CanonAlbum.ts +26 -0
- package/models/CanonArtist.ts +26 -0
- package/models/CanonGenre.ts +13 -0
- package/models/CanonTrack.ts +26 -0
- package/models/GuestUser.ts +48 -12
- package/models/PlatformAlbum.ts +39 -0
- package/models/PlatformArtist.ts +39 -0
- package/models/PlatformTrack.ts +39 -0
- package/models/Versus.ts +425 -0
- package/models/VersusAccessType.ts +66 -0
- package/models/VersusCoCreator.ts +133 -0
- package/models/VersusCreatorScope.ts +66 -0
- package/models/VersusEndMode.ts +66 -0
- package/models/VersusEndTimerDuration.ts +81 -0
- package/models/VersusEndVoteThreshold.ts +67 -0
- package/models/VersusEntityKind.ts +79 -0
- package/models/VersusOption.ts +227 -0
- package/models/VersusPublishIssue.ts +146 -0
- package/models/VersusQuestion.ts +123 -0
- package/models/VersusQuestionVariableType.ts +66 -0
- package/models/VersusVotingListType.ts +66 -0
- package/models/VersusVotingMode.ts +66 -0
- package/models/init-models.ts +166 -0
- package/package.json +1 -1
|
@@ -0,0 +1,102 @@
|
|
|
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.VersusQuestion = void 0;
|
|
27
|
+
const Sequelize = __importStar(require("sequelize"));
|
|
28
|
+
const sequelize_1 = require("sequelize");
|
|
29
|
+
class VersusQuestion extends sequelize_1.Model {
|
|
30
|
+
static initModel(sequelize) {
|
|
31
|
+
return VersusQuestion.init({
|
|
32
|
+
questionTemplate: {
|
|
33
|
+
type: sequelize_1.DataTypes.TEXT,
|
|
34
|
+
allowNull: false,
|
|
35
|
+
field: 'question_template'
|
|
36
|
+
},
|
|
37
|
+
questionVariableTypeId: {
|
|
38
|
+
type: sequelize_1.DataTypes.SMALLINT,
|
|
39
|
+
allowNull: false,
|
|
40
|
+
references: {
|
|
41
|
+
model: 'versus_question_variable_type',
|
|
42
|
+
key: 'id'
|
|
43
|
+
},
|
|
44
|
+
field: 'question_variable_type_id'
|
|
45
|
+
},
|
|
46
|
+
votingListTypeId: {
|
|
47
|
+
type: sequelize_1.DataTypes.SMALLINT,
|
|
48
|
+
allowNull: false,
|
|
49
|
+
references: {
|
|
50
|
+
model: 'versus_voting_list_type',
|
|
51
|
+
key: 'id'
|
|
52
|
+
},
|
|
53
|
+
field: 'voting_list_type_id'
|
|
54
|
+
},
|
|
55
|
+
id: {
|
|
56
|
+
type: sequelize_1.DataTypes.UUID,
|
|
57
|
+
allowNull: false,
|
|
58
|
+
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
59
|
+
primaryKey: true
|
|
60
|
+
},
|
|
61
|
+
createdAt: {
|
|
62
|
+
type: sequelize_1.DataTypes.DATE,
|
|
63
|
+
allowNull: false,
|
|
64
|
+
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
65
|
+
field: 'created_at'
|
|
66
|
+
},
|
|
67
|
+
updatedAt: {
|
|
68
|
+
type: sequelize_1.DataTypes.DATE,
|
|
69
|
+
allowNull: false,
|
|
70
|
+
defaultValue: Sequelize.Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
71
|
+
field: 'updated_at'
|
|
72
|
+
}
|
|
73
|
+
}, {
|
|
74
|
+
sequelize,
|
|
75
|
+
tableName: 'versus_question',
|
|
76
|
+
schema: 'eb',
|
|
77
|
+
timestamps: false,
|
|
78
|
+
indexes: [
|
|
79
|
+
{
|
|
80
|
+
name: "idx_versus_question_variable_type",
|
|
81
|
+
fields: [
|
|
82
|
+
{ name: "question_variable_type_id" },
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "idx_versus_question_voting_list",
|
|
87
|
+
fields: [
|
|
88
|
+
{ name: "voting_list_type_id" },
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: "versus_question_pkey",
|
|
93
|
+
unique: true,
|
|
94
|
+
fields: [
|
|
95
|
+
{ name: "id" },
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
]
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.VersusQuestion = VersusQuestion;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model } from 'sequelize';
|
|
3
|
+
import type { VersusQuestion, VersusQuestionId } from './VersusQuestion';
|
|
4
|
+
export interface VersusQuestionVariableTypeAttributes {
|
|
5
|
+
id: number;
|
|
6
|
+
description: string;
|
|
7
|
+
}
|
|
8
|
+
export type VersusQuestionVariableTypePk = "id";
|
|
9
|
+
export type VersusQuestionVariableTypeId = VersusQuestionVariableType[VersusQuestionVariableTypePk];
|
|
10
|
+
export type VersusQuestionVariableTypeCreationAttributes = VersusQuestionVariableTypeAttributes;
|
|
11
|
+
export declare class VersusQuestionVariableType extends Model<VersusQuestionVariableTypeAttributes, VersusQuestionVariableTypeCreationAttributes> implements VersusQuestionVariableTypeAttributes {
|
|
12
|
+
id: number;
|
|
13
|
+
description: string;
|
|
14
|
+
versusQuestions: VersusQuestion[];
|
|
15
|
+
getVersusQuestions: Sequelize.HasManyGetAssociationsMixin<VersusQuestion>;
|
|
16
|
+
setVersusQuestions: Sequelize.HasManySetAssociationsMixin<VersusQuestion, VersusQuestionId>;
|
|
17
|
+
addVersusQuestion: Sequelize.HasManyAddAssociationMixin<VersusQuestion, VersusQuestionId>;
|
|
18
|
+
addVersusQuestions: Sequelize.HasManyAddAssociationsMixin<VersusQuestion, VersusQuestionId>;
|
|
19
|
+
createVersusQuestion: Sequelize.HasManyCreateAssociationMixin<VersusQuestion>;
|
|
20
|
+
removeVersusQuestion: Sequelize.HasManyRemoveAssociationMixin<VersusQuestion, VersusQuestionId>;
|
|
21
|
+
removeVersusQuestions: Sequelize.HasManyRemoveAssociationsMixin<VersusQuestion, VersusQuestionId>;
|
|
22
|
+
hasVersusQuestion: Sequelize.HasManyHasAssociationMixin<VersusQuestion, VersusQuestionId>;
|
|
23
|
+
hasVersusQuestions: Sequelize.HasManyHasAssociationsMixin<VersusQuestion, VersusQuestionId>;
|
|
24
|
+
countVersusQuestions: Sequelize.HasManyCountAssociationsMixin;
|
|
25
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof VersusQuestionVariableType;
|
|
26
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VersusQuestionVariableType = void 0;
|
|
4
|
+
const sequelize_1 = require("sequelize");
|
|
5
|
+
class VersusQuestionVariableType extends sequelize_1.Model {
|
|
6
|
+
static initModel(sequelize) {
|
|
7
|
+
return VersusQuestionVariableType.init({
|
|
8
|
+
id: {
|
|
9
|
+
type: sequelize_1.DataTypes.SMALLINT,
|
|
10
|
+
allowNull: false,
|
|
11
|
+
primaryKey: true
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
type: sequelize_1.DataTypes.STRING(64),
|
|
15
|
+
allowNull: false,
|
|
16
|
+
unique: "versus_question_variable_type_description_unique"
|
|
17
|
+
}
|
|
18
|
+
}, {
|
|
19
|
+
sequelize,
|
|
20
|
+
tableName: 'versus_question_variable_type',
|
|
21
|
+
schema: 'eb',
|
|
22
|
+
timestamps: false,
|
|
23
|
+
indexes: [
|
|
24
|
+
{
|
|
25
|
+
name: "versus_question_variable_type_description_unique",
|
|
26
|
+
unique: true,
|
|
27
|
+
fields: [
|
|
28
|
+
{ name: "description" },
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "versus_question_variable_type_pkey",
|
|
33
|
+
unique: true,
|
|
34
|
+
fields: [
|
|
35
|
+
{ name: "id" },
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
]
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.VersusQuestionVariableType = VersusQuestionVariableType;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model } from 'sequelize';
|
|
3
|
+
import type { VersusQuestion, VersusQuestionId } from './VersusQuestion';
|
|
4
|
+
export interface VersusVotingListTypeAttributes {
|
|
5
|
+
id: number;
|
|
6
|
+
description: string;
|
|
7
|
+
}
|
|
8
|
+
export type VersusVotingListTypePk = "id";
|
|
9
|
+
export type VersusVotingListTypeId = VersusVotingListType[VersusVotingListTypePk];
|
|
10
|
+
export type VersusVotingListTypeCreationAttributes = VersusVotingListTypeAttributes;
|
|
11
|
+
export declare class VersusVotingListType extends Model<VersusVotingListTypeAttributes, VersusVotingListTypeCreationAttributes> implements VersusVotingListTypeAttributes {
|
|
12
|
+
id: number;
|
|
13
|
+
description: string;
|
|
14
|
+
versusQuestions: VersusQuestion[];
|
|
15
|
+
getVersusQuestions: Sequelize.HasManyGetAssociationsMixin<VersusQuestion>;
|
|
16
|
+
setVersusQuestions: Sequelize.HasManySetAssociationsMixin<VersusQuestion, VersusQuestionId>;
|
|
17
|
+
addVersusQuestion: Sequelize.HasManyAddAssociationMixin<VersusQuestion, VersusQuestionId>;
|
|
18
|
+
addVersusQuestions: Sequelize.HasManyAddAssociationsMixin<VersusQuestion, VersusQuestionId>;
|
|
19
|
+
createVersusQuestion: Sequelize.HasManyCreateAssociationMixin<VersusQuestion>;
|
|
20
|
+
removeVersusQuestion: Sequelize.HasManyRemoveAssociationMixin<VersusQuestion, VersusQuestionId>;
|
|
21
|
+
removeVersusQuestions: Sequelize.HasManyRemoveAssociationsMixin<VersusQuestion, VersusQuestionId>;
|
|
22
|
+
hasVersusQuestion: Sequelize.HasManyHasAssociationMixin<VersusQuestion, VersusQuestionId>;
|
|
23
|
+
hasVersusQuestions: Sequelize.HasManyHasAssociationsMixin<VersusQuestion, VersusQuestionId>;
|
|
24
|
+
countVersusQuestions: Sequelize.HasManyCountAssociationsMixin;
|
|
25
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof VersusVotingListType;
|
|
26
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VersusVotingListType = void 0;
|
|
4
|
+
const sequelize_1 = require("sequelize");
|
|
5
|
+
class VersusVotingListType extends sequelize_1.Model {
|
|
6
|
+
static initModel(sequelize) {
|
|
7
|
+
return VersusVotingListType.init({
|
|
8
|
+
id: {
|
|
9
|
+
type: sequelize_1.DataTypes.SMALLINT,
|
|
10
|
+
allowNull: false,
|
|
11
|
+
primaryKey: true
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
type: sequelize_1.DataTypes.STRING(64),
|
|
15
|
+
allowNull: false,
|
|
16
|
+
unique: "versus_voting_list_type_description_unique"
|
|
17
|
+
}
|
|
18
|
+
}, {
|
|
19
|
+
sequelize,
|
|
20
|
+
tableName: 'versus_voting_list_type',
|
|
21
|
+
schema: 'eb',
|
|
22
|
+
timestamps: false,
|
|
23
|
+
indexes: [
|
|
24
|
+
{
|
|
25
|
+
name: "versus_voting_list_type_description_unique",
|
|
26
|
+
unique: true,
|
|
27
|
+
fields: [
|
|
28
|
+
{ name: "description" },
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "versus_voting_list_type_pkey",
|
|
33
|
+
unique: true,
|
|
34
|
+
fields: [
|
|
35
|
+
{ name: "id" },
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
]
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.VersusVotingListType = VersusVotingListType;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as Sequelize from 'sequelize';
|
|
2
|
+
import { Model } from 'sequelize';
|
|
3
|
+
import type { Versus, VersusId } from './Versus';
|
|
4
|
+
export interface VersusVotingModeAttributes {
|
|
5
|
+
id: number;
|
|
6
|
+
description: string;
|
|
7
|
+
}
|
|
8
|
+
export type VersusVotingModePk = "id";
|
|
9
|
+
export type VersusVotingModeId = VersusVotingMode[VersusVotingModePk];
|
|
10
|
+
export type VersusVotingModeCreationAttributes = VersusVotingModeAttributes;
|
|
11
|
+
export declare class VersusVotingMode extends Model<VersusVotingModeAttributes, VersusVotingModeCreationAttributes> implements VersusVotingModeAttributes {
|
|
12
|
+
id: number;
|
|
13
|
+
description: string;
|
|
14
|
+
versus: Versus[];
|
|
15
|
+
getVersus: Sequelize.HasManyGetAssociationsMixin<Versus>;
|
|
16
|
+
setVersus: Sequelize.HasManySetAssociationsMixin<Versus, VersusId>;
|
|
17
|
+
addVersu: Sequelize.HasManyAddAssociationMixin<Versus, VersusId>;
|
|
18
|
+
addVersus: Sequelize.HasManyAddAssociationsMixin<Versus, VersusId>;
|
|
19
|
+
createVersu: Sequelize.HasManyCreateAssociationMixin<Versus>;
|
|
20
|
+
removeVersu: Sequelize.HasManyRemoveAssociationMixin<Versus, VersusId>;
|
|
21
|
+
removeVersus: Sequelize.HasManyRemoveAssociationsMixin<Versus, VersusId>;
|
|
22
|
+
hasVersu: Sequelize.HasManyHasAssociationMixin<Versus, VersusId>;
|
|
23
|
+
hasVersus: Sequelize.HasManyHasAssociationsMixin<Versus, VersusId>;
|
|
24
|
+
countVersus: Sequelize.HasManyCountAssociationsMixin;
|
|
25
|
+
static initModel(sequelize: Sequelize.Sequelize): typeof VersusVotingMode;
|
|
26
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VersusVotingMode = void 0;
|
|
4
|
+
const sequelize_1 = require("sequelize");
|
|
5
|
+
class VersusVotingMode extends sequelize_1.Model {
|
|
6
|
+
static initModel(sequelize) {
|
|
7
|
+
return VersusVotingMode.init({
|
|
8
|
+
id: {
|
|
9
|
+
type: sequelize_1.DataTypes.SMALLINT,
|
|
10
|
+
allowNull: false,
|
|
11
|
+
primaryKey: true
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
type: sequelize_1.DataTypes.STRING(64),
|
|
15
|
+
allowNull: false,
|
|
16
|
+
unique: "versus_voting_mode_description_unique"
|
|
17
|
+
}
|
|
18
|
+
}, {
|
|
19
|
+
sequelize,
|
|
20
|
+
tableName: 'versus_voting_mode',
|
|
21
|
+
schema: 'eb',
|
|
22
|
+
timestamps: false,
|
|
23
|
+
indexes: [
|
|
24
|
+
{
|
|
25
|
+
name: "versus_voting_mode_description_unique",
|
|
26
|
+
unique: true,
|
|
27
|
+
fields: [
|
|
28
|
+
{ name: "description" },
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "versus_voting_mode_pkey",
|
|
33
|
+
unique: true,
|
|
34
|
+
fields: [
|
|
35
|
+
{ name: "id" },
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
]
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.VersusVotingMode = VersusVotingMode;
|
package/dist/init-models.d.ts
CHANGED
|
@@ -199,8 +199,36 @@ import { UserLikes as _UserLikes } from "./UserLikes";
|
|
|
199
199
|
import type { UserLikesAttributes, UserLikesCreationAttributes } from "./UserLikes";
|
|
200
200
|
import { UserMessages as _UserMessages } from "./UserMessages";
|
|
201
201
|
import type { UserMessagesAttributes, UserMessagesCreationAttributes } from "./UserMessages";
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
import { Versus as _Versus } from "./Versus";
|
|
203
|
+
import type { VersusAttributes, VersusCreationAttributes } from "./Versus";
|
|
204
|
+
import { VersusAccessType as _VersusAccessType } from "./VersusAccessType";
|
|
205
|
+
import type { VersusAccessTypeAttributes, VersusAccessTypeCreationAttributes } from "./VersusAccessType";
|
|
206
|
+
import { VersusCoCreator as _VersusCoCreator } from "./VersusCoCreator";
|
|
207
|
+
import type { VersusCoCreatorAttributes, VersusCoCreatorCreationAttributes } from "./VersusCoCreator";
|
|
208
|
+
import { VersusCreatorScope as _VersusCreatorScope } from "./VersusCreatorScope";
|
|
209
|
+
import type { VersusCreatorScopeAttributes, VersusCreatorScopeCreationAttributes } from "./VersusCreatorScope";
|
|
210
|
+
import { VersusEndMode as _VersusEndMode } from "./VersusEndMode";
|
|
211
|
+
import type { VersusEndModeAttributes, VersusEndModeCreationAttributes } from "./VersusEndMode";
|
|
212
|
+
import { VersusEndTimerDuration as _VersusEndTimerDuration } from "./VersusEndTimerDuration";
|
|
213
|
+
import type { VersusEndTimerDurationAttributes, VersusEndTimerDurationCreationAttributes } from "./VersusEndTimerDuration";
|
|
214
|
+
import { VersusEndVoteThreshold as _VersusEndVoteThreshold } from "./VersusEndVoteThreshold";
|
|
215
|
+
import type { VersusEndVoteThresholdAttributes, VersusEndVoteThresholdCreationAttributes } from "./VersusEndVoteThreshold";
|
|
216
|
+
import { VersusEntityKind as _VersusEntityKind } from "./VersusEntityKind";
|
|
217
|
+
import type { VersusEntityKindAttributes, VersusEntityKindCreationAttributes } from "./VersusEntityKind";
|
|
218
|
+
import { VersusOption as _VersusOption } from "./VersusOption";
|
|
219
|
+
import type { VersusOptionAttributes, VersusOptionCreationAttributes } from "./VersusOption";
|
|
220
|
+
import { VersusPublishIssue as _VersusPublishIssue } from "./VersusPublishIssue";
|
|
221
|
+
import type { VersusPublishIssueAttributes, VersusPublishIssueCreationAttributes } from "./VersusPublishIssue";
|
|
222
|
+
import { VersusQuestion as _VersusQuestion } from "./VersusQuestion";
|
|
223
|
+
import type { VersusQuestionAttributes, VersusQuestionCreationAttributes } from "./VersusQuestion";
|
|
224
|
+
import { VersusQuestionVariableType as _VersusQuestionVariableType } from "./VersusQuestionVariableType";
|
|
225
|
+
import type { VersusQuestionVariableTypeAttributes, VersusQuestionVariableTypeCreationAttributes } from "./VersusQuestionVariableType";
|
|
226
|
+
import { VersusVotingListType as _VersusVotingListType } from "./VersusVotingListType";
|
|
227
|
+
import type { VersusVotingListTypeAttributes, VersusVotingListTypeCreationAttributes } from "./VersusVotingListType";
|
|
228
|
+
import { VersusVotingMode as _VersusVotingMode } from "./VersusVotingMode";
|
|
229
|
+
import type { VersusVotingModeAttributes, VersusVotingModeCreationAttributes } from "./VersusVotingMode";
|
|
230
|
+
export { _AccessControlPreference as AccessControlPreference, _AffinityRelationshipType as AffinityRelationshipType, _AffinityTier as AffinityTier, _AppUser as AppUser, _AppUserDevice as AppUserDevice, _AppUserFollowRelation as AppUserFollowRelation, _AppUserPlatformRelation as AppUserPlatformRelation, _CanonAlbum as CanonAlbum, _CanonAlbumExternalReferenceRelation as CanonAlbumExternalReferenceRelation, _CanonAlbumGenreRelation as CanonAlbumGenreRelation, _CanonAlbumImageHarvested as CanonAlbumImageHarvested, _CanonAlbumLabelRelation as CanonAlbumLabelRelation, _CanonAlbumTrackRelation as CanonAlbumTrackRelation, _CanonArtist as CanonArtist, _CanonArtistAlbumRelation as CanonArtistAlbumRelation, _CanonArtistExternalReferenceRelation as CanonArtistExternalReferenceRelation, _CanonArtistGenreRelation as CanonArtistGenreRelation, _CanonArtistImageHarvested as CanonArtistImageHarvested, _CanonArtistMemberRelation as CanonArtistMemberRelation, _CanonArtistTrackRelation as CanonArtistTrackRelation, _CanonGenre as CanonGenre, _CanonGenreExternalReferenceRelation as CanonGenreExternalReferenceRelation, _CanonLabel as CanonLabel, _CanonLabelExternalReferenceRelation as CanonLabelExternalReferenceRelation, _CanonMember as CanonMember, _CanonMemberExternalReferenceRelation as CanonMemberExternalReferenceRelation, _CanonToPlatformAlbumRelation as CanonToPlatformAlbumRelation, _CanonToPlatformArtistRelation as CanonToPlatformArtistRelation, _CanonToPlatformGenreRelation as CanonToPlatformGenreRelation, _CanonToPlatformTrackRelation as CanonToPlatformTrackRelation, _CanonTrack as CanonTrack, _ConfigParam as ConfigParam, _ExternalReference as ExternalReference, _FeedConfig as FeedConfig, _FeedContentType as FeedContentType, _GuestUser as GuestUser, _JukeboxAccessType as JukeboxAccessType, _JukeboxCanonGenreRelation as JukeboxCanonGenreRelation, _JukeboxInvite as JukeboxInvite, _JukeboxQueueEntry as JukeboxQueueEntry, _JukeboxQueueMode as JukeboxQueueMode, _JukeboxSession as JukeboxSession, _JukeboxSessionArtistAffinity as JukeboxSessionArtistAffinity, _JukeboxSessionGenreAffinity as JukeboxSessionGenreAffinity, _JukeboxStatus as JukeboxStatus, _JukeboxTerminationCondition as JukeboxTerminationCondition, _JukeboxType as JukeboxType, _JukeboxUser as JukeboxUser, _JukeboxUserType as JukeboxUserType, _KnexMigrations as KnexMigrations, _KnexMigrationsLock as KnexMigrationsLock, _MerchItem as MerchItem, _MerchOrchestration as MerchOrchestration, _MerchPlatform as MerchPlatform, _MerchType as MerchType, _MetricsDaily as MetricsDaily, _MetricsEvent as MetricsEvent, _NewsArticle as NewsArticle, _NewsPlatform as NewsPlatform, _NewsSite as NewsSite, _Notification as Notification, _NotificationType as NotificationType, _PauseStatusType as PauseStatusType, _Platform as Platform, _PlatformAlbum as PlatformAlbum, _PlatformAlbumGenreRelation as PlatformAlbumGenreRelation, _PlatformAlbumTrackRelation as PlatformAlbumTrackRelation, _PlatformArtist as PlatformArtist, _PlatformArtistAlbumRelation as PlatformArtistAlbumRelation, _PlatformArtistGenreRelation as PlatformArtistGenreRelation, _PlatformArtistTrackRelation as PlatformArtistTrackRelation, _PlatformGenre as PlatformGenre, _PlatformTrack as PlatformTrack, _PlatformTrackGenreRelation as PlatformTrackGenreRelation, _PlatformUserAlbum as PlatformUserAlbum, _PlatformUserAlbumTrack as PlatformUserAlbumTrack, _PlatformUserPlaylist as PlatformUserPlaylist, _PlatformUserPlaylistArtistAffinity as PlatformUserPlaylistArtistAffinity, _PlatformUserPlaylistGenreAffinity as PlatformUserPlaylistGenreAffinity, _PlatformUserPlaylistTrack as PlatformUserPlaylistTrack, _PlaybackStatus as PlaybackStatus, _PlaybackStatusType as PlaybackStatusType, _RadioShow as RadioShow, _RadioShowGenres as RadioShowGenres, _RadioShowMedia as RadioShowMedia, _RadioShowPlacement as RadioShowPlacement, _RadioShowPublishRequests as RadioShowPublishRequests, _State as State, _TrackDeletionReason as TrackDeletionReason, _UnmatchedAlbum as UnmatchedAlbum, _UnmatchedArtist as UnmatchedArtist, _UserAffinity as UserAffinity, _UserArtistAffinity as UserArtistAffinity, _UserBookmarks as UserBookmarks, _UserComments as UserComments, _UserContacts as UserContacts, _UserEngagementFactor as UserEngagementFactor, _UserGenreAffinity as UserGenreAffinity, _UserLikes as UserLikes, _UserMessages as UserMessages, _Versus as Versus, _VersusAccessType as VersusAccessType, _VersusCoCreator as VersusCoCreator, _VersusCreatorScope as VersusCreatorScope, _VersusEndMode as VersusEndMode, _VersusEndTimerDuration as VersusEndTimerDuration, _VersusEndVoteThreshold as VersusEndVoteThreshold, _VersusEntityKind as VersusEntityKind, _VersusOption as VersusOption, _VersusPublishIssue as VersusPublishIssue, _VersusQuestion as VersusQuestion, _VersusQuestionVariableType as VersusQuestionVariableType, _VersusVotingListType as VersusVotingListType, _VersusVotingMode as VersusVotingMode, };
|
|
231
|
+
export type { AccessControlPreferenceAttributes, AccessControlPreferenceCreationAttributes, AffinityRelationshipTypeAttributes, AffinityRelationshipTypeCreationAttributes, AffinityTierAttributes, AffinityTierCreationAttributes, AppUserAttributes, AppUserCreationAttributes, AppUserDeviceAttributes, AppUserDeviceCreationAttributes, AppUserFollowRelationAttributes, AppUserFollowRelationCreationAttributes, AppUserPlatformRelationAttributes, AppUserPlatformRelationCreationAttributes, CanonAlbumAttributes, CanonAlbumCreationAttributes, CanonAlbumExternalReferenceRelationAttributes, CanonAlbumExternalReferenceRelationCreationAttributes, CanonAlbumGenreRelationAttributes, CanonAlbumGenreRelationCreationAttributes, CanonAlbumImageHarvestedAttributes, CanonAlbumImageHarvestedCreationAttributes, CanonAlbumLabelRelationAttributes, CanonAlbumLabelRelationCreationAttributes, CanonAlbumTrackRelationAttributes, CanonAlbumTrackRelationCreationAttributes, CanonArtistAttributes, CanonArtistCreationAttributes, CanonArtistAlbumRelationAttributes, CanonArtistAlbumRelationCreationAttributes, CanonArtistExternalReferenceRelationAttributes, CanonArtistExternalReferenceRelationCreationAttributes, CanonArtistGenreRelationAttributes, CanonArtistGenreRelationCreationAttributes, CanonArtistImageHarvestedAttributes, CanonArtistImageHarvestedCreationAttributes, CanonArtistMemberRelationAttributes, CanonArtistMemberRelationCreationAttributes, CanonArtistTrackRelationAttributes, CanonArtistTrackRelationCreationAttributes, CanonGenreAttributes, CanonGenreCreationAttributes, CanonGenreExternalReferenceRelationAttributes, CanonGenreExternalReferenceRelationCreationAttributes, CanonLabelAttributes, CanonLabelCreationAttributes, CanonLabelExternalReferenceRelationAttributes, CanonLabelExternalReferenceRelationCreationAttributes, CanonMemberAttributes, CanonMemberCreationAttributes, CanonMemberExternalReferenceRelationAttributes, CanonMemberExternalReferenceRelationCreationAttributes, CanonToPlatformAlbumRelationAttributes, CanonToPlatformAlbumRelationCreationAttributes, CanonToPlatformArtistRelationAttributes, CanonToPlatformArtistRelationCreationAttributes, CanonToPlatformGenreRelationAttributes, CanonToPlatformGenreRelationCreationAttributes, CanonToPlatformTrackRelationAttributes, CanonToPlatformTrackRelationCreationAttributes, CanonTrackAttributes, CanonTrackCreationAttributes, ConfigParamAttributes, ConfigParamCreationAttributes, ExternalReferenceAttributes, ExternalReferenceCreationAttributes, FeedConfigAttributes, FeedConfigCreationAttributes, FeedContentTypeAttributes, FeedContentTypeCreationAttributes, GuestUserAttributes, GuestUserCreationAttributes, JukeboxAccessTypeAttributes, JukeboxAccessTypeCreationAttributes, JukeboxCanonGenreRelationAttributes, JukeboxCanonGenreRelationCreationAttributes, JukeboxInviteAttributes, JukeboxInviteCreationAttributes, JukeboxQueueEntryAttributes, JukeboxQueueEntryCreationAttributes, JukeboxQueueModeAttributes, JukeboxQueueModeCreationAttributes, JukeboxSessionAttributes, JukeboxSessionCreationAttributes, JukeboxSessionArtistAffinityAttributes, JukeboxSessionArtistAffinityCreationAttributes, JukeboxSessionGenreAffinityAttributes, JukeboxSessionGenreAffinityCreationAttributes, JukeboxStatusAttributes, JukeboxStatusCreationAttributes, JukeboxTerminationConditionAttributes, JukeboxTerminationConditionCreationAttributes, JukeboxTypeAttributes, JukeboxTypeCreationAttributes, JukeboxUserAttributes, JukeboxUserCreationAttributes, JukeboxUserTypeAttributes, JukeboxUserTypeCreationAttributes, KnexMigrationsAttributes, KnexMigrationsCreationAttributes, KnexMigrationsLockAttributes, KnexMigrationsLockCreationAttributes, MerchItemAttributes, MerchItemCreationAttributes, MerchOrchestrationAttributes, MerchOrchestrationCreationAttributes, MerchPlatformAttributes, MerchPlatformCreationAttributes, MerchTypeAttributes, MerchTypeCreationAttributes, MetricsDailyAttributes, MetricsDailyCreationAttributes, MetricsEventAttributes, MetricsEventCreationAttributes, NewsArticleAttributes, NewsArticleCreationAttributes, NewsPlatformAttributes, NewsPlatformCreationAttributes, NewsSiteAttributes, NewsSiteCreationAttributes, NotificationAttributes, NotificationCreationAttributes, NotificationTypeAttributes, NotificationTypeCreationAttributes, PauseStatusTypeAttributes, PauseStatusTypeCreationAttributes, PlatformAttributes, PlatformCreationAttributes, PlatformAlbumAttributes, PlatformAlbumCreationAttributes, PlatformAlbumGenreRelationAttributes, PlatformAlbumGenreRelationCreationAttributes, PlatformAlbumTrackRelationAttributes, PlatformAlbumTrackRelationCreationAttributes, PlatformArtistAttributes, PlatformArtistCreationAttributes, PlatformArtistAlbumRelationAttributes, PlatformArtistAlbumRelationCreationAttributes, PlatformArtistGenreRelationAttributes, PlatformArtistGenreRelationCreationAttributes, PlatformArtistTrackRelationAttributes, PlatformArtistTrackRelationCreationAttributes, PlatformGenreAttributes, PlatformGenreCreationAttributes, PlatformTrackAttributes, PlatformTrackCreationAttributes, PlatformTrackGenreRelationAttributes, PlatformTrackGenreRelationCreationAttributes, PlatformUserAlbumAttributes, PlatformUserAlbumCreationAttributes, PlatformUserAlbumTrackAttributes, PlatformUserAlbumTrackCreationAttributes, PlatformUserPlaylistAttributes, PlatformUserPlaylistCreationAttributes, PlatformUserPlaylistArtistAffinityAttributes, PlatformUserPlaylistArtistAffinityCreationAttributes, PlatformUserPlaylistGenreAffinityAttributes, PlatformUserPlaylistGenreAffinityCreationAttributes, PlatformUserPlaylistTrackAttributes, PlatformUserPlaylistTrackCreationAttributes, PlaybackStatusAttributes, PlaybackStatusCreationAttributes, PlaybackStatusTypeAttributes, PlaybackStatusTypeCreationAttributes, RadioShowAttributes, RadioShowCreationAttributes, RadioShowGenresAttributes, RadioShowGenresCreationAttributes, RadioShowMediaAttributes, RadioShowMediaCreationAttributes, RadioShowPlacementAttributes, RadioShowPlacementCreationAttributes, RadioShowPublishRequestsAttributes, RadioShowPublishRequestsCreationAttributes, StateAttributes, StateCreationAttributes, TrackDeletionReasonAttributes, TrackDeletionReasonCreationAttributes, UnmatchedAlbumAttributes, UnmatchedAlbumCreationAttributes, UnmatchedArtistAttributes, UnmatchedArtistCreationAttributes, UserAffinityAttributes, UserAffinityCreationAttributes, UserArtistAffinityAttributes, UserArtistAffinityCreationAttributes, UserBookmarksAttributes, UserBookmarksCreationAttributes, UserCommentsAttributes, UserCommentsCreationAttributes, UserContactsAttributes, UserContactsCreationAttributes, UserEngagementFactorAttributes, UserEngagementFactorCreationAttributes, UserGenreAffinityAttributes, UserGenreAffinityCreationAttributes, UserLikesAttributes, UserLikesCreationAttributes, UserMessagesAttributes, UserMessagesCreationAttributes, VersusAttributes, VersusCreationAttributes, VersusAccessTypeAttributes, VersusAccessTypeCreationAttributes, VersusCoCreatorAttributes, VersusCoCreatorCreationAttributes, VersusCreatorScopeAttributes, VersusCreatorScopeCreationAttributes, VersusEndModeAttributes, VersusEndModeCreationAttributes, VersusEndTimerDurationAttributes, VersusEndTimerDurationCreationAttributes, VersusEndVoteThresholdAttributes, VersusEndVoteThresholdCreationAttributes, VersusEntityKindAttributes, VersusEntityKindCreationAttributes, VersusOptionAttributes, VersusOptionCreationAttributes, VersusPublishIssueAttributes, VersusPublishIssueCreationAttributes, VersusQuestionAttributes, VersusQuestionCreationAttributes, VersusQuestionVariableTypeAttributes, VersusQuestionVariableTypeCreationAttributes, VersusVotingListTypeAttributes, VersusVotingListTypeCreationAttributes, VersusVotingModeAttributes, VersusVotingModeCreationAttributes, };
|
|
204
232
|
export declare function initModels(sequelize: Sequelize): {
|
|
205
233
|
AccessControlPreference: typeof _AccessControlPreference;
|
|
206
234
|
AffinityRelationshipType: typeof _AffinityRelationshipType;
|
|
@@ -302,4 +330,18 @@ export declare function initModels(sequelize: Sequelize): {
|
|
|
302
330
|
UserGenreAffinity: typeof _UserGenreAffinity;
|
|
303
331
|
UserLikes: typeof _UserLikes;
|
|
304
332
|
UserMessages: typeof _UserMessages;
|
|
333
|
+
Versus: typeof _Versus;
|
|
334
|
+
VersusAccessType: typeof _VersusAccessType;
|
|
335
|
+
VersusCoCreator: typeof _VersusCoCreator;
|
|
336
|
+
VersusCreatorScope: typeof _VersusCreatorScope;
|
|
337
|
+
VersusEndMode: typeof _VersusEndMode;
|
|
338
|
+
VersusEndTimerDuration: typeof _VersusEndTimerDuration;
|
|
339
|
+
VersusEndVoteThreshold: typeof _VersusEndVoteThreshold;
|
|
340
|
+
VersusEntityKind: typeof _VersusEntityKind;
|
|
341
|
+
VersusOption: typeof _VersusOption;
|
|
342
|
+
VersusPublishIssue: typeof _VersusPublishIssue;
|
|
343
|
+
VersusQuestion: typeof _VersusQuestion;
|
|
344
|
+
VersusQuestionVariableType: typeof _VersusQuestionVariableType;
|
|
345
|
+
VersusVotingListType: typeof _VersusVotingListType;
|
|
346
|
+
VersusVotingMode: typeof _VersusVotingMode;
|
|
305
347
|
};
|