@bets-pf/shared-typeorm-models 1.1.0 → 1.1.3
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/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/typeorm-entities/user/user.orm-entity.d.ts +2 -1
- package/dist/typeorm-entities/user/user.orm-entity.d.ts.map +1 -1
- package/dist/typeorm-entities/user/user.orm-entity.js +6 -2
- package/dist/typeorm-entities/user/user.orm-entity.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type { GameEvent, MatchStats, StatPlayers, StatItem, VarsMessage, StatisticsAlgorithmResultsType, OddOneXTwo, OddTotals, AlgorithmOddsConditionItem, AlgorithmLeftI, AlgorithmAdditionalFilters, AlgorithmResultOptions, AlgorithmCondition, AlgorithmRightI, SignalResults, } from './typeorm-entities';
|
|
2
|
-
export { AlgorithmOrmEntity, GameOrmEntity, MessageOrmEntity, OddsOrmEntity, StatisticsOrmEntity, StatisticsAlgorithmOrmEntity, TelegramReportSignalsOrmEntity, SignalOrmEntity, } from './typeorm-entities';
|
|
3
|
-
export { EventType, AlgorithmTeamType, StatisticsItemType, AlgorithmStatType, OddTimeType, GameState, AlgorithmTimerPeriod, AlgorithmOddsMarketType, AlgorithmAdditionalFiltersMode, AlgorithmOddsTimeType, AlgorithmComparator, OddMarketType, TResultSignal, } from './typeorm-entities';
|
|
2
|
+
export { AlgorithmOrmEntity, GameOrmEntity, MessageOrmEntity, OddsOrmEntity, StatisticsOrmEntity, StatisticsAlgorithmOrmEntity, TelegramReportSignalsOrmEntity, SignalOrmEntity, UserOrmEntity, } from './typeorm-entities';
|
|
3
|
+
export { EventType, AlgorithmTeamType, StatisticsItemType, AlgorithmStatType, OddTimeType, GameState, AlgorithmTimerPeriod, AlgorithmOddsMarketType, AlgorithmAdditionalFiltersMode, AlgorithmOddsTimeType, AlgorithmComparator, OddMarketType, TResultSignal, UserState, UserRole } from './typeorm-entities';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,QAAQ,EACR,WAAW,EACX,8BAA8B,EAC9B,UAAU,EACV,SAAS,EACT,0BAA0B,EAC1B,cAAc,EACd,0BAA0B,EAC1B,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,aAAa,GACd,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,mBAAmB,EACnB,4BAA4B,EAC5B,8BAA8B,EAC9B,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACX,QAAQ,EACR,WAAW,EACX,8BAA8B,EAC9B,UAAU,EACV,SAAS,EACT,0BAA0B,EAC1B,cAAc,EACd,0BAA0B,EAC1B,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,aAAa,GACd,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,mBAAmB,EACnB,4BAA4B,EAC5B,8BAA8B,EAC9B,eAAe,EACf,aAAa,GACd,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EACL,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,oBAAoB,EACpB,uBAAuB,EACvB,8BAA8B,EAC9B,qBAAqB,EACrB,mBAAmB,EACnB,aAAa,EACb,aAAa,EACb,SAAS,EACT,QAAQ,EACT,MAAM,oBAAoB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TResultSignal = exports.OddMarketType = exports.AlgorithmComparator = exports.AlgorithmOddsTimeType = exports.AlgorithmAdditionalFiltersMode = exports.AlgorithmOddsMarketType = exports.AlgorithmTimerPeriod = exports.GameState = exports.OddTimeType = exports.AlgorithmStatType = exports.StatisticsItemType = exports.AlgorithmTeamType = exports.EventType = exports.SignalOrmEntity = exports.TelegramReportSignalsOrmEntity = exports.StatisticsAlgorithmOrmEntity = exports.StatisticsOrmEntity = exports.OddsOrmEntity = exports.MessageOrmEntity = exports.GameOrmEntity = exports.AlgorithmOrmEntity = void 0;
|
|
3
|
+
exports.UserRole = exports.UserState = exports.TResultSignal = exports.OddMarketType = exports.AlgorithmComparator = exports.AlgorithmOddsTimeType = exports.AlgorithmAdditionalFiltersMode = exports.AlgorithmOddsMarketType = exports.AlgorithmTimerPeriod = exports.GameState = exports.OddTimeType = exports.AlgorithmStatType = exports.StatisticsItemType = exports.AlgorithmTeamType = exports.EventType = exports.UserOrmEntity = exports.SignalOrmEntity = exports.TelegramReportSignalsOrmEntity = exports.StatisticsAlgorithmOrmEntity = exports.StatisticsOrmEntity = exports.OddsOrmEntity = exports.MessageOrmEntity = exports.GameOrmEntity = exports.AlgorithmOrmEntity = void 0;
|
|
4
4
|
var typeorm_entities_1 = require("./typeorm-entities");
|
|
5
5
|
Object.defineProperty(exports, "AlgorithmOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.AlgorithmOrmEntity; } });
|
|
6
6
|
Object.defineProperty(exports, "GameOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.GameOrmEntity; } });
|
|
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "StatisticsOrmEntity", { enumerable: true, get: f
|
|
|
10
10
|
Object.defineProperty(exports, "StatisticsAlgorithmOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.StatisticsAlgorithmOrmEntity; } });
|
|
11
11
|
Object.defineProperty(exports, "TelegramReportSignalsOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.TelegramReportSignalsOrmEntity; } });
|
|
12
12
|
Object.defineProperty(exports, "SignalOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.SignalOrmEntity; } });
|
|
13
|
+
Object.defineProperty(exports, "UserOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.UserOrmEntity; } });
|
|
13
14
|
var typeorm_entities_2 = require("./typeorm-entities");
|
|
14
15
|
Object.defineProperty(exports, "EventType", { enumerable: true, get: function () { return typeorm_entities_2.EventType; } });
|
|
15
16
|
Object.defineProperty(exports, "AlgorithmTeamType", { enumerable: true, get: function () { return typeorm_entities_2.AlgorithmTeamType; } });
|
|
@@ -24,4 +25,6 @@ Object.defineProperty(exports, "AlgorithmOddsTimeType", { enumerable: true, get:
|
|
|
24
25
|
Object.defineProperty(exports, "AlgorithmComparator", { enumerable: true, get: function () { return typeorm_entities_2.AlgorithmComparator; } });
|
|
25
26
|
Object.defineProperty(exports, "OddMarketType", { enumerable: true, get: function () { return typeorm_entities_2.OddMarketType; } });
|
|
26
27
|
Object.defineProperty(exports, "TResultSignal", { enumerable: true, get: function () { return typeorm_entities_2.TResultSignal; } });
|
|
28
|
+
Object.defineProperty(exports, "UserState", { enumerable: true, get: function () { return typeorm_entities_2.UserState; } });
|
|
29
|
+
Object.defineProperty(exports, "UserRole", { enumerable: true, get: function () { return typeorm_entities_2.UserRole; } });
|
|
27
30
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAkBA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAkBA,uDAU2B;AATzB,sHAAA,kBAAkB,OAAA;AAClB,iHAAA,aAAa,OAAA;AACb,oHAAA,gBAAgB,OAAA;AAChB,iHAAA,aAAa,OAAA;AACb,uHAAA,mBAAmB,OAAA;AACnB,gIAAA,4BAA4B,OAAA;AAC5B,kIAAA,8BAA8B,OAAA;AAC9B,mHAAA,eAAe,OAAA;AACf,iHAAA,aAAa,OAAA;AAGf,uDAgB2B;AAfzB,6GAAA,SAAS,OAAA;AACT,qHAAA,iBAAiB,OAAA;AACjB,sHAAA,kBAAkB,OAAA;AAClB,qHAAA,iBAAiB,OAAA;AACjB,+GAAA,WAAW,OAAA;AACX,6GAAA,SAAS,OAAA;AACT,wHAAA,oBAAoB,OAAA;AACpB,2HAAA,uBAAuB,OAAA;AACvB,kIAAA,8BAA8B,OAAA;AAC9B,yHAAA,qBAAqB,OAAA;AACrB,uHAAA,mBAAmB,OAAA;AACnB,iHAAA,aAAa,OAAA;AACb,iHAAA,aAAa,OAAA;AACb,6GAAA,SAAS,OAAA;AACT,4GAAA,QAAQ,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/user/user.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAExD,qBACa,aAAa;IAExB,EAAE,EAAE,MAAM,CAAA;IAGV,IAAI,EAAE,MAAM,CAAA;IAGZ,KAAK,EAAE,MAAM,CAAA;IAGb,
|
|
1
|
+
{"version":3,"file":"user.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/user/user.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAExD,qBACa,aAAa;IAExB,EAAE,EAAE,MAAM,CAAA;IAGV,IAAI,EAAE,MAAM,CAAA;IAGZ,KAAK,EAAE,MAAM,CAAA;IAGb,YAAY,EAAE,MAAM,CAAA;IAGpB,KAAK,EAAE,SAAS,CAAA;IAGhB,IAAI,EAAE,QAAQ,CAAA;IAGd,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAG1B,SAAS,EAAE,MAAM,CAAA;IAGjB,SAAS,EAAE,MAAM,CAAA;CAClB"}
|
|
@@ -28,9 +28,9 @@ __decorate([
|
|
|
28
28
|
__metadata("design:type", String)
|
|
29
29
|
], UserOrmEntity.prototype, "email", void 0);
|
|
30
30
|
__decorate([
|
|
31
|
-
(0, typeorm_1.Column)(),
|
|
31
|
+
(0, typeorm_1.Column)({ name: 'password_hash' }),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
|
-
], UserOrmEntity.prototype, "
|
|
33
|
+
], UserOrmEntity.prototype, "passwordHash", void 0);
|
|
34
34
|
__decorate([
|
|
35
35
|
(0, typeorm_1.Column)({ type: 'string' }),
|
|
36
36
|
__metadata("design:type", String)
|
|
@@ -39,6 +39,10 @@ __decorate([
|
|
|
39
39
|
(0, typeorm_1.Column)({ type: 'string' }),
|
|
40
40
|
__metadata("design:type", String)
|
|
41
41
|
], UserOrmEntity.prototype, "role", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'timestamp with time zone', nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], UserOrmEntity.prototype, "lastLoginAt", void 0);
|
|
42
46
|
__decorate([
|
|
43
47
|
(0, typeorm_1.Column)({ type: 'timestamp with time zone' }),
|
|
44
48
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/user/user.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,mDAAwD;AAGjD,IAAM,aAAa,GAAnB,MAAM,aAAa;
|
|
1
|
+
{"version":3,"file":"user.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/user/user.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,mDAAwD;AAGjD,IAAM,aAAa,GAAnB,MAAM,aAAa;CA2BzB,CAAA;AA3BY,sCAAa;AAExB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;yCACrB;AAGV;IADC,IAAA,gBAAM,GAAE;;2CACG;AAGZ;IADC,IAAA,gBAAM,GAAE;;4CACI;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;;mDACd;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;4CACX;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;2CACb;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACnC;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;;gDAC5B;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;;gDAC5B;wBA1BN,aAAa;IADzB,IAAA,gBAAM,EAAC,OAAO,CAAC;GACH,aAAa,CA2BzB"}
|