@bets-pf/shared-typeorm-models 1.0.1 → 1.1.2
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/index.d.ts +1 -0
- package/dist/typeorm-entities/index.d.ts.map +1 -1
- package/dist/typeorm-entities/index.js +1 -0
- package/dist/typeorm-entities/index.js.map +1 -1
- package/dist/typeorm-entities/user/index.d.ts +3 -0
- package/dist/typeorm-entities/user/index.d.ts.map +1 -0
- package/dist/typeorm-entities/user/index.js +9 -0
- package/dist/typeorm-entities/user/index.js.map +1 -0
- package/dist/typeorm-entities/user/types/user.types.d.ts +13 -0
- package/dist/typeorm-entities/user/types/user.types.d.ts.map +1 -0
- package/dist/typeorm-entities/user/types/user.types.js +18 -0
- package/dist/typeorm-entities/user/types/user.types.js.map +1 -0
- package/dist/typeorm-entities/user/user.orm-entity.d.ts +13 -0
- package/dist/typeorm-entities/user/user.orm-entity.d.ts.map +1 -0
- package/dist/typeorm-entities/user/user.orm-entity.js +57 -0
- package/dist/typeorm-entities/user/user.orm-entity.js.map +1 -0
- package/package.json +6 -3
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":"index.d.ts","sourceRoot":"","sources":["../../src/typeorm-entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typeorm-entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typeorm-entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,oDAAiC;AACjC,yCAAsB;AACtB,+CAA4B;AAC5B,yCAAsB;AACtB,4CAAyB;AACzB,yCAAsB;AACtB,2CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typeorm-entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,oDAAiC;AACjC,yCAAsB;AACtB,+CAA4B;AAC5B,yCAAsB;AACtB,4CAAyB;AACzB,yCAAsB;AACtB,2CAAwB;AACxB,yCAAsB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/user/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserState = exports.UserRole = exports.UserOrmEntity = void 0;
|
|
4
|
+
var user_orm_entity_1 = require("./user.orm-entity");
|
|
5
|
+
Object.defineProperty(exports, "UserOrmEntity", { enumerable: true, get: function () { return user_orm_entity_1.UserOrmEntity; } });
|
|
6
|
+
var user_types_1 = require("./types/user.types");
|
|
7
|
+
Object.defineProperty(exports, "UserRole", { enumerable: true, get: function () { return user_types_1.UserRole; } });
|
|
8
|
+
Object.defineProperty(exports, "UserState", { enumerable: true, get: function () { return user_types_1.UserState; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/typeorm-entities/user/index.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAAxC,gHAAA,aAAa,OAAA;AACtB,iDAAwD;AAA/C,sGAAA,QAAQ,OAAA;AAAE,uGAAA,SAAS,OAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum UserState {
|
|
2
|
+
New = "New",
|
|
3
|
+
EmailUnverified = "EmailUnverified",
|
|
4
|
+
Activated = "Activated",
|
|
5
|
+
Banned = "Banned"
|
|
6
|
+
}
|
|
7
|
+
export declare enum UserRole {
|
|
8
|
+
Admin = "Admin",
|
|
9
|
+
SuperAdmin = "SuperAdmin",
|
|
10
|
+
User = "User",
|
|
11
|
+
Guest = "Guest"
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=user.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.types.d.ts","sourceRoot":"","sources":["../../../../src/typeorm-entities/user/types/user.types.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB;AAED,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,KAAK,UAAU;CAChB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserRole = exports.UserState = void 0;
|
|
4
|
+
var UserState;
|
|
5
|
+
(function (UserState) {
|
|
6
|
+
UserState["New"] = "New";
|
|
7
|
+
UserState["EmailUnverified"] = "EmailUnverified";
|
|
8
|
+
UserState["Activated"] = "Activated";
|
|
9
|
+
UserState["Banned"] = "Banned";
|
|
10
|
+
})(UserState || (exports.UserState = UserState = {}));
|
|
11
|
+
var UserRole;
|
|
12
|
+
(function (UserRole) {
|
|
13
|
+
UserRole["Admin"] = "Admin";
|
|
14
|
+
UserRole["SuperAdmin"] = "SuperAdmin";
|
|
15
|
+
UserRole["User"] = "User";
|
|
16
|
+
UserRole["Guest"] = "Guest";
|
|
17
|
+
})(UserRole || (exports.UserRole = UserRole = {}));
|
|
18
|
+
//# sourceMappingURL=user.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.types.js","sourceRoot":"","sources":["../../../../src/typeorm-entities/user/types/user.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,gDAAmC,CAAA;IACnC,oCAAuB,CAAA;IACvB,8BAAiB,CAAA;AACnB,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAED,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,qCAAyB,CAAA;IACzB,yBAAa,CAAA;IACb,2BAAe,CAAA;AACjB,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UserRole, UserState } from './types/user.types';
|
|
2
|
+
export declare class UserOrmEntity {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
email: string;
|
|
6
|
+
passwordHash: string;
|
|
7
|
+
state: UserState;
|
|
8
|
+
role: UserRole;
|
|
9
|
+
lastLoginAt: string;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=user.orm-entity.d.ts.map
|
|
@@ -0,0 +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,YAAY,EAAE,MAAM,CAAA;IAGpB,KAAK,EAAE,SAAS,CAAA;IAGhB,IAAI,EAAE,QAAQ,CAAA;IAGd,WAAW,EAAE,MAAM,CAAA;IAGnB,SAAS,EAAE,MAAM,CAAA;IAGjB,SAAS,EAAE,MAAM,CAAA;CAClB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UserOrmEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const user_types_1 = require("./types/user.types");
|
|
15
|
+
let UserOrmEntity = class UserOrmEntity {
|
|
16
|
+
};
|
|
17
|
+
exports.UserOrmEntity = UserOrmEntity;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], UserOrmEntity.prototype, "id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], UserOrmEntity.prototype, "name", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], UserOrmEntity.prototype, "email", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ name: 'password_hash' }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], UserOrmEntity.prototype, "passwordHash", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'string' }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], UserOrmEntity.prototype, "state", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'string' }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], UserOrmEntity.prototype, "role", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'timestamp with time zone' }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], UserOrmEntity.prototype, "lastLoginAt", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'timestamp with time zone' }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], UserOrmEntity.prototype, "createdAt", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ type: 'timestamp with time zone' }),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], UserOrmEntity.prototype, "updatedAt", void 0);
|
|
54
|
+
exports.UserOrmEntity = UserOrmEntity = __decorate([
|
|
55
|
+
(0, typeorm_1.Entity)('users')
|
|
56
|
+
], UserOrmEntity);
|
|
57
|
+
//# sourceMappingURL=user.orm-entity.js.map
|
|
@@ -0,0 +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;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,CAAC;;kDAC1B;AAGnB;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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bets-pf/shared-typeorm-models",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Shared TypeORM entities for BPF platform",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,7 +21,10 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
|
-
"build": "rimraf dist && tsc"
|
|
24
|
+
"build": "rimraf dist && tsc",
|
|
25
|
+
"up:major": "npm version major",
|
|
26
|
+
"up:minor": "npm version minor",
|
|
27
|
+
"up:patch": "npm version patch"
|
|
25
28
|
},
|
|
26
29
|
"devDependencies": {
|
|
27
30
|
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
|
@@ -36,4 +39,4 @@
|
|
|
36
39
|
"typeorm": "^0.3.0",
|
|
37
40
|
"reflect-metadata": "^0.1.0 || ^0.2.0"
|
|
38
41
|
}
|
|
39
|
-
}
|
|
42
|
+
}
|