@bets-pf/shared-typeorm-models 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/index.d.ts +4 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +31 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/typeorm-entities/algorithm/algorithm.orm-entity.d.ts +18 -0
  6. package/dist/typeorm-entities/algorithm/algorithm.orm-entity.d.ts.map +1 -0
  7. package/dist/typeorm-entities/algorithm/algorithm.orm-entity.js +78 -0
  8. package/dist/typeorm-entities/algorithm/algorithm.orm-entity.js.map +1 -0
  9. package/dist/typeorm-entities/algorithm/index.d.ts +4 -0
  10. package/dist/typeorm-entities/algorithm/index.d.ts.map +1 -0
  11. package/dist/typeorm-entities/algorithm/index.js +14 -0
  12. package/dist/typeorm-entities/algorithm/index.js.map +1 -0
  13. package/dist/typeorm-entities/algorithm/types/algorithm.types.d.ts +87 -0
  14. package/dist/typeorm-entities/algorithm/types/algorithm.types.d.ts.map +1 -0
  15. package/dist/typeorm-entities/algorithm/types/algorithm.types.js +62 -0
  16. package/dist/typeorm-entities/algorithm/types/algorithm.types.js.map +1 -0
  17. package/dist/typeorm-entities/game/game.orm-entity.d.ts +19 -0
  18. package/dist/typeorm-entities/game/game.orm-entity.d.ts.map +1 -0
  19. package/dist/typeorm-entities/game/game.orm-entity.js +79 -0
  20. package/dist/typeorm-entities/game/game.orm-entity.js.map +1 -0
  21. package/dist/typeorm-entities/game/index.d.ts +3 -0
  22. package/dist/typeorm-entities/game/index.d.ts.map +1 -0
  23. package/dist/typeorm-entities/game/index.js +8 -0
  24. package/dist/typeorm-entities/game/index.js.map +1 -0
  25. package/dist/typeorm-entities/game/types/game.types.d.ts +8 -0
  26. package/dist/typeorm-entities/game/types/game.types.d.ts.map +1 -0
  27. package/dist/typeorm-entities/game/types/game.types.js +12 -0
  28. package/dist/typeorm-entities/game/types/game.types.js.map +1 -0
  29. package/dist/typeorm-entities/index.d.ts +10 -0
  30. package/dist/typeorm-entities/index.d.ts.map +1 -0
  31. package/dist/typeorm-entities/index.js +26 -0
  32. package/dist/typeorm-entities/index.js.map +1 -0
  33. package/dist/typeorm-entities/message/index.d.ts +3 -0
  34. package/dist/typeorm-entities/message/index.d.ts.map +1 -0
  35. package/dist/typeorm-entities/message/index.js +6 -0
  36. package/dist/typeorm-entities/message/index.js.map +1 -0
  37. package/dist/typeorm-entities/message/message.orm-entity.d.ts +12 -0
  38. package/dist/typeorm-entities/message/message.orm-entity.d.ts.map +1 -0
  39. package/dist/typeorm-entities/message/message.orm-entity.js +54 -0
  40. package/dist/typeorm-entities/message/message.orm-entity.js.map +1 -0
  41. package/dist/typeorm-entities/message/types/message-vars.types.d.ts +27 -0
  42. package/dist/typeorm-entities/message/types/message-vars.types.d.ts.map +1 -0
  43. package/dist/typeorm-entities/message/types/message-vars.types.js +3 -0
  44. package/dist/typeorm-entities/message/types/message-vars.types.js.map +1 -0
  45. package/dist/typeorm-entities/odds/index.d.ts +4 -0
  46. package/dist/typeorm-entities/odds/index.d.ts.map +1 -0
  47. package/dist/typeorm-entities/odds/index.js +9 -0
  48. package/dist/typeorm-entities/odds/index.js.map +1 -0
  49. package/dist/typeorm-entities/odds/odds.orm-entity.d.ts +13 -0
  50. package/dist/typeorm-entities/odds/types/odds.types.d.ts +21 -0
  51. package/dist/typeorm-entities/odds/types/odds.types.d.ts.map +1 -0
  52. package/dist/typeorm-entities/odds/types/odds.types.js +14 -0
  53. package/dist/typeorm-entities/odds/types/odds.types.js.map +1 -0
  54. package/dist/typeorm-entities/signal/index.d.ts +4 -0
  55. package/dist/typeorm-entities/signal/index.d.ts.map +1 -0
  56. package/dist/typeorm-entities/signal/index.js +8 -0
  57. package/dist/typeorm-entities/signal/index.js.map +1 -0
  58. package/dist/typeorm-entities/signal/signal.orm-entity.d.ts +24 -0
  59. package/dist/typeorm-entities/signal/types/signal.types.d.ts +11 -0
  60. package/dist/typeorm-entities/signal/types/signal.types.d.ts.map +1 -0
  61. package/dist/typeorm-entities/signal/types/signal.types.js +10 -0
  62. package/dist/typeorm-entities/signal/types/signal.types.js.map +1 -0
  63. package/dist/typeorm-entities/statistics/index.d.ts +9 -0
  64. package/dist/typeorm-entities/statistics/index.d.ts.map +1 -0
  65. package/dist/typeorm-entities/statistics/index.js +14 -0
  66. package/dist/typeorm-entities/statistics/index.js.map +1 -0
  67. package/dist/typeorm-entities/statistics/statistics-algorithm.orm-entity.d.ts +10 -0
  68. package/dist/typeorm-entities/statistics/statistics-algorithm.orm-entity.d.ts.map +1 -0
  69. package/dist/typeorm-entities/statistics/statistics-algorithm.orm-entity.js +44 -0
  70. package/dist/typeorm-entities/statistics/statistics-algorithm.orm-entity.js.map +1 -0
  71. package/dist/typeorm-entities/statistics/statistics-snapshot.orm-entity.d.ts +10 -0
  72. package/dist/typeorm-entities/statistics/statistics.orm-entity.d.ts +14 -0
  73. package/dist/typeorm-entities/statistics/types/events.types.d.ts +14 -0
  74. package/dist/typeorm-entities/statistics/types/events.types.d.ts.map +1 -0
  75. package/dist/typeorm-entities/statistics/types/events.types.js +13 -0
  76. package/dist/typeorm-entities/statistics/types/events.types.js.map +1 -0
  77. package/dist/typeorm-entities/statistics/types/statistics-algorithm.types.d.ts +3 -0
  78. package/dist/typeorm-entities/statistics/types/statistics-algorithm.types.d.ts.map +1 -0
  79. package/dist/typeorm-entities/statistics/types/statistics-algorithm.types.js +3 -0
  80. package/dist/typeorm-entities/statistics/types/statistics-algorithm.types.js.map +1 -0
  81. package/dist/typeorm-entities/statistics/types/statistics.types.d.ts +23 -0
  82. package/dist/typeorm-entities/statistics/types/statistics.types.d.ts.map +1 -0
  83. package/dist/typeorm-entities/statistics/types/statistics.types.js +17 -0
  84. package/dist/typeorm-entities/statistics/types/statistics.types.js.map +1 -0
  85. package/dist/typeorm-entities/telegram-report/index.d.ts +2 -0
  86. package/dist/typeorm-entities/telegram-report/index.d.ts.map +1 -0
  87. package/dist/typeorm-entities/telegram-report/index.js +6 -0
  88. package/dist/typeorm-entities/telegram-report/index.js.map +1 -0
  89. package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.d.ts +8 -0
  90. package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.d.ts.map +1 -0
  91. package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.js +39 -0
  92. package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.js.map +1 -0
  93. package/dist/typeorm-entities/user/index.d.ts +3 -0
  94. package/dist/typeorm-entities/user/index.d.ts.map +1 -0
  95. package/dist/typeorm-entities/user/index.js +9 -0
  96. package/dist/typeorm-entities/user/index.js.map +1 -0
  97. package/dist/typeorm-entities/user/types/user.types.d.ts +13 -0
  98. package/dist/typeorm-entities/user/types/user.types.d.ts.map +1 -0
  99. package/dist/typeorm-entities/user/types/user.types.js +18 -0
  100. package/dist/typeorm-entities/user/types/user.types.js.map +1 -0
  101. package/dist/typeorm-entities/user/user.orm-entity.d.ts +13 -0
  102. package/dist/typeorm-entities/user/user.orm-entity.d.ts.map +1 -0
  103. package/dist/typeorm-entities/user/user.orm-entity.js +57 -0
  104. package/dist/typeorm-entities/user/user.orm-entity.js.map +1 -0
  105. package/package.json +3 -2
@@ -0,0 +1,54 @@
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.MessageOrmEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const signal_1 = require("../signal");
15
+ let MessageOrmEntity = class MessageOrmEntity {
16
+ };
17
+ exports.MessageOrmEntity = MessageOrmEntity;
18
+ __decorate([
19
+ (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
20
+ __metadata("design:type", String)
21
+ ], MessageOrmEntity.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.Column)({ name: 'signal_id', type: 'uuid' }),
24
+ __metadata("design:type", String)
25
+ ], MessageOrmEntity.prototype, "signalId", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Column)({ name: 'external_message_id' }),
28
+ __metadata("design:type", Number)
29
+ ], MessageOrmEntity.prototype, "externalMessageId", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ name: 'external_channel_id' }),
32
+ __metadata("design:type", String)
33
+ ], MessageOrmEntity.prototype, "externalChannelId", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ name: 'fixed_text' }),
36
+ __metadata("design:type", String)
37
+ ], MessageOrmEntity.prototype, "fixedText", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ name: 'created_at' }),
40
+ __metadata("design:type", String)
41
+ ], MessageOrmEntity.prototype, "createdAt", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ name: 'updated_at' }),
44
+ __metadata("design:type", String)
45
+ ], MessageOrmEntity.prototype, "updatedAt", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.ManyToOne)(() => signal_1.SignalOrmEntity, signal => signal.messages),
48
+ (0, typeorm_1.JoinColumn)({ name: 'signal_id', referencedColumnName: 'id' }),
49
+ __metadata("design:type", signal_1.SignalOrmEntity)
50
+ ], MessageOrmEntity.prototype, "signal", void 0);
51
+ exports.MessageOrmEntity = MessageOrmEntity = __decorate([
52
+ (0, typeorm_1.Entity)('messages')
53
+ ], MessageOrmEntity);
54
+ //# sourceMappingURL=message.orm-entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/message/message.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuF;AACvF,sCAA2C;AAGpC,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAyB5B,CAAA;AAzBY,4CAAgB;AAE3B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;4CACrB;AAGV;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;kDAC5B;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;;2DACf;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;;2DACf;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;mDACd;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;mDACd;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;mDACd;AAIjB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAe,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;IAC3D,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;8BACrD,wBAAe;gDAAA;2BAxBb,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,UAAU,CAAC;GACN,gBAAgB,CAyB5B"}
@@ -0,0 +1,27 @@
1
+ import { TResultSignal } from '../../signal';
2
+ export interface VarsMessage {
3
+ numberSignal: number;
4
+ player1: string;
5
+ player2: string;
6
+ league: string;
7
+ winCountLeague?: number;
8
+ losingCountLeague?: number;
9
+ betTitle: string;
10
+ coefficient?: number;
11
+ maxCoefficient?: number;
12
+ result: TResultSignal | null;
13
+ finishScore?: string;
14
+ totalHome?: number;
15
+ totalAway?: number;
16
+ matchTime?: number;
17
+ liveTime?: string;
18
+ partName?: string;
19
+ finalTotalHome?: number;
20
+ finalTotalAway?: number;
21
+ partsTotal?: string;
22
+ reportDate?: string;
23
+ bets?: string;
24
+ algorithms?: string;
25
+ algorithmNumber?: number;
26
+ }
27
+ //# sourceMappingURL=message-vars.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message-vars.types.d.ts","sourceRoot":"","sources":["../../../../src/typeorm-entities/message/types/message-vars.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,MAAM,EAAE,aAAa,GAAG,IAAI,CAAA;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=message-vars.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message-vars.types.js","sourceRoot":"","sources":["../../../../src/typeorm-entities/message/types/message-vars.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export { OddsOrmEntity } from './odds.orm-entity';
2
+ export type { OddTotals, OddOneXTwo } from './types/odds.types';
3
+ export { OddMarketType, OddTimeType } from './types/odds.types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/odds/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OddTimeType = exports.OddMarketType = exports.OddsOrmEntity = void 0;
4
+ var odds_orm_entity_1 = require("./odds.orm-entity");
5
+ Object.defineProperty(exports, "OddsOrmEntity", { enumerable: true, get: function () { return odds_orm_entity_1.OddsOrmEntity; } });
6
+ var odds_types_1 = require("./types/odds.types");
7
+ Object.defineProperty(exports, "OddMarketType", { enumerable: true, get: function () { return odds_types_1.OddMarketType; } });
8
+ Object.defineProperty(exports, "OddTimeType", { enumerable: true, get: function () { return odds_types_1.OddTimeType; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/typeorm-entities/odds/index.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAAxC,gHAAA,aAAa,OAAA;AAEtB,iDAA+D;AAAtD,2GAAA,aAAa,OAAA;AAAE,yGAAA,WAAW,OAAA"}
@@ -0,0 +1,13 @@
1
+ import { GameOrmEntity } from '../game';
2
+ import { OddMarketType, OddOneXTwo, OddTimeType, OddTotals } from './types/odds.types';
3
+ export declare class OddsOrmEntity {
4
+ id: string;
5
+ gameId: string;
6
+ marketType: OddMarketType;
7
+ timeType: OddTimeType;
8
+ fullTimeOdds: OddOneXTwo | OddTotals[] | null;
9
+ halfTimeOdds: OddOneXTwo | OddTotals[] | null;
10
+ secondTimeOdds: OddOneXTwo | OddTotals[] | null;
11
+ game: GameOrmEntity;
12
+ }
13
+ //# sourceMappingURL=odds.orm-entity.d.ts.map
@@ -0,0 +1,21 @@
1
+ export declare enum OddMarketType {
2
+ oneXtwo = "oneXtwo",
3
+ totals = "totals"
4
+ }
5
+ export declare enum OddTimeType {
6
+ live = "live",
7
+ pre = "pre"
8
+ }
9
+ export interface OddOneXTwo {
10
+ p1: number;
11
+ p2: number;
12
+ x: number;
13
+ }
14
+ export interface OddTotals {
15
+ type: string;
16
+ under: number | null;
17
+ over: number | null;
18
+ act: boolean | null;
19
+ isCurrent: boolean | null;
20
+ }
21
+ //# sourceMappingURL=odds.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odds.types.d.ts","sourceRoot":"","sources":["../../../../src/typeorm-entities/odds/types/odds.types.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,oBAAY,WAAW;IACrB,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,CAAC,EAAE,MAAM,CAAA;CACV;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE,OAAO,GAAG,IAAI,CAAA;CAC1B"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OddTimeType = exports.OddMarketType = void 0;
4
+ var OddMarketType;
5
+ (function (OddMarketType) {
6
+ OddMarketType["oneXtwo"] = "oneXtwo";
7
+ OddMarketType["totals"] = "totals";
8
+ })(OddMarketType || (exports.OddMarketType = OddMarketType = {}));
9
+ var OddTimeType;
10
+ (function (OddTimeType) {
11
+ OddTimeType["live"] = "live";
12
+ OddTimeType["pre"] = "pre";
13
+ })(OddTimeType || (exports.OddTimeType = OddTimeType = {}));
14
+ //# sourceMappingURL=odds.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"odds.types.js","sourceRoot":"","sources":["../../../../src/typeorm-entities/odds/types/odds.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AACnB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,0BAAW,CAAA;AACb,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
@@ -0,0 +1,4 @@
1
+ export { SignalOrmEntity } from './signal.orm-entity';
2
+ export type { SignalResults } from './types/signal.types';
3
+ export { TResultSignal } from './types/signal.types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/signal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,YAAY,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TResultSignal = exports.SignalOrmEntity = void 0;
4
+ var signal_orm_entity_1 = require("./signal.orm-entity");
5
+ Object.defineProperty(exports, "SignalOrmEntity", { enumerable: true, get: function () { return signal_orm_entity_1.SignalOrmEntity; } });
6
+ var signal_types_1 = require("./types/signal.types");
7
+ Object.defineProperty(exports, "TResultSignal", { enumerable: true, get: function () { return signal_types_1.TResultSignal; } });
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/typeorm-entities/signal/index.ts"],"names":[],"mappings":";;;AAAA,yDAAqD;AAA5C,oHAAA,eAAe,OAAA;AAExB,qDAAoD;AAA3C,6GAAA,aAAa,OAAA"}
@@ -0,0 +1,24 @@
1
+ import { MatchStats } from '../statistics';
2
+ import { AlgorithmOrmEntity } from '../algorithm';
3
+ import { GameOrmEntity } from '../game';
4
+ import { SignalResults } from './types/signal.types';
5
+ import { MessageOrmEntity } from '../message';
6
+ export declare class SignalOrmEntity {
7
+ id: string;
8
+ gameId: string;
9
+ algorithmId: string;
10
+ koef?: number;
11
+ maxKoef?: number;
12
+ gameTime: number;
13
+ numberSignal: number;
14
+ result?: SignalResults | null;
15
+ betTitle: string;
16
+ gameStats: MatchStats;
17
+ isFinished: boolean;
18
+ createdAt: string;
19
+ updatedAt: string;
20
+ algorithm?: AlgorithmOrmEntity;
21
+ game?: GameOrmEntity;
22
+ messages?: MessageOrmEntity[];
23
+ }
24
+ //# sourceMappingURL=signal.orm-entity.d.ts.map
@@ -0,0 +1,11 @@
1
+ export declare enum TResultSignal {
2
+ Win = "win",
3
+ Losing = "losing",
4
+ Return = "return"
5
+ }
6
+ export interface SignalResults {
7
+ HT?: TResultSignal;
8
+ ST?: TResultSignal;
9
+ FT?: TResultSignal;
10
+ }
11
+ //# sourceMappingURL=signal.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signal.types.d.ts","sourceRoot":"","sources":["../../../../src/typeorm-entities/signal/types/signal.types.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,EAAE,CAAC,EAAE,aAAa,CAAA;CACnB"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TResultSignal = void 0;
4
+ var TResultSignal;
5
+ (function (TResultSignal) {
6
+ TResultSignal["Win"] = "win";
7
+ TResultSignal["Losing"] = "losing";
8
+ TResultSignal["Return"] = "return";
9
+ })(TResultSignal || (exports.TResultSignal = TResultSignal = {}));
10
+ //# sourceMappingURL=signal.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signal.types.js","sourceRoot":"","sources":["../../../../src/typeorm-entities/signal/types/signal.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,4BAAW,CAAA;IACX,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;AACnB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB"}
@@ -0,0 +1,9 @@
1
+ export { StatisticsOrmEntity } from './statistics.orm-entity';
2
+ export { StatisticsSnapshotOrmEntity } from './statistics-snapshot.orm-entity';
3
+ export type { GameEvent } from './types/events.types';
4
+ export { EventType } from './types/events.types';
5
+ export type { StatItem, MatchStats, StatPlayers } from './types/statistics.types';
6
+ export { StatisticsItemType } from './types/statistics.types';
7
+ export { StatisticsAlgorithmOrmEntity } from './statistics-algorithm.orm-entity';
8
+ export type { StatisticsAlgorithmResultsType } from './types/statistics-algorithm.types';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/statistics/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAC9E,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAE7D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAA;AAChF,YAAY,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAA"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StatisticsAlgorithmOrmEntity = exports.StatisticsItemType = exports.EventType = exports.StatisticsSnapshotOrmEntity = exports.StatisticsOrmEntity = void 0;
4
+ var statistics_orm_entity_1 = require("./statistics.orm-entity");
5
+ Object.defineProperty(exports, "StatisticsOrmEntity", { enumerable: true, get: function () { return statistics_orm_entity_1.StatisticsOrmEntity; } });
6
+ var statistics_snapshot_orm_entity_1 = require("./statistics-snapshot.orm-entity");
7
+ Object.defineProperty(exports, "StatisticsSnapshotOrmEntity", { enumerable: true, get: function () { return statistics_snapshot_orm_entity_1.StatisticsSnapshotOrmEntity; } });
8
+ var events_types_1 = require("./types/events.types");
9
+ Object.defineProperty(exports, "EventType", { enumerable: true, get: function () { return events_types_1.EventType; } });
10
+ var statistics_types_1 = require("./types/statistics.types");
11
+ Object.defineProperty(exports, "StatisticsItemType", { enumerable: true, get: function () { return statistics_types_1.StatisticsItemType; } });
12
+ var statistics_algorithm_orm_entity_1 = require("./statistics-algorithm.orm-entity");
13
+ Object.defineProperty(exports, "StatisticsAlgorithmOrmEntity", { enumerable: true, get: function () { return statistics_algorithm_orm_entity_1.StatisticsAlgorithmOrmEntity; } });
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/typeorm-entities/statistics/index.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAApD,4HAAA,mBAAmB,OAAA;AAC5B,mFAA8E;AAArE,6IAAA,2BAA2B,OAAA;AAEpC,qDAAgD;AAAvC,yGAAA,SAAS,OAAA;AAElB,6DAA6D;AAApD,sHAAA,kBAAkB,OAAA;AAE3B,qFAAgF;AAAvE,+IAAA,4BAA4B,OAAA"}
@@ -0,0 +1,10 @@
1
+ import { StatisticsAlgorithmResultsType } from './types/statistics-algorithm.types';
2
+ export declare class StatisticsAlgorithmOrmEntity {
3
+ algorithmId: string;
4
+ leagueExternalId: number;
5
+ countryExternalId: number;
6
+ leagueName: string;
7
+ countryName: string;
8
+ results: StatisticsAlgorithmResultsType;
9
+ }
10
+ //# sourceMappingURL=statistics-algorithm.orm-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statistics-algorithm.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/statistics/statistics-algorithm.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAA;AAEnF,qBACa,4BAA4B;IAEvC,WAAW,EAAE,MAAM,CAAA;IAGnB,gBAAgB,EAAE,MAAM,CAAA;IAGxB,iBAAiB,EAAE,MAAM,CAAA;IAGzB,UAAU,EAAE,MAAM,CAAA;IAGlB,WAAW,EAAE,MAAM,CAAA;IAGnB,OAAO,EAAE,8BAA8B,CAAA;CACxC"}
@@ -0,0 +1,44 @@
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.StatisticsAlgorithmOrmEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ let StatisticsAlgorithmOrmEntity = class StatisticsAlgorithmOrmEntity {
15
+ };
16
+ exports.StatisticsAlgorithmOrmEntity = StatisticsAlgorithmOrmEntity;
17
+ __decorate([
18
+ (0, typeorm_1.PrimaryColumn)({ name: 'algorithm_id', type: 'uuid' }),
19
+ __metadata("design:type", String)
20
+ ], StatisticsAlgorithmOrmEntity.prototype, "algorithmId", void 0);
21
+ __decorate([
22
+ (0, typeorm_1.PrimaryColumn)({ name: 'league_external_id' }),
23
+ __metadata("design:type", Number)
24
+ ], StatisticsAlgorithmOrmEntity.prototype, "leagueExternalId", void 0);
25
+ __decorate([
26
+ (0, typeorm_1.Column)({ name: 'country_external_id' }),
27
+ __metadata("design:type", Number)
28
+ ], StatisticsAlgorithmOrmEntity.prototype, "countryExternalId", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.Column)({ name: 'league_name' }),
31
+ __metadata("design:type", String)
32
+ ], StatisticsAlgorithmOrmEntity.prototype, "leagueName", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Column)({ name: 'country_name' }),
35
+ __metadata("design:type", String)
36
+ ], StatisticsAlgorithmOrmEntity.prototype, "countryName", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({ name: 'results', type: 'jsonb' }),
39
+ __metadata("design:type", Object)
40
+ ], StatisticsAlgorithmOrmEntity.prototype, "results", void 0);
41
+ exports.StatisticsAlgorithmOrmEntity = StatisticsAlgorithmOrmEntity = __decorate([
42
+ (0, typeorm_1.Entity)('statistics-algorithm')
43
+ ], StatisticsAlgorithmOrmEntity);
44
+ //# sourceMappingURL=statistics-algorithm.orm-entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statistics-algorithm.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/statistics/statistics-algorithm.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuD;AAIhD,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;CAkBxC,CAAA;AAlBY,oEAA4B;AAEvC;IADC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;iEACnC;AAGnB;IADC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;;sEACtB;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;;uEACf;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;;gEACd;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;iEACd;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;6DACJ;uCAjB5B,4BAA4B;IADxC,IAAA,gBAAM,EAAC,sBAAsB,CAAC;GAClB,4BAA4B,CAkBxC"}
@@ -0,0 +1,10 @@
1
+ import { StatItem } from './types/statistics.types';
2
+ import { StatisticsOrmEntity } from './statistics.orm-entity';
3
+ export declare class StatisticsSnapshotOrmEntity {
4
+ id: string;
5
+ gameId: string;
6
+ time: number;
7
+ stats: StatItem;
8
+ statistics?: StatisticsOrmEntity;
9
+ }
10
+ //# sourceMappingURL=statistics-snapshot.orm-entity.d.ts.map
@@ -0,0 +1,14 @@
1
+ import { MatchStats } from './types/statistics.types';
2
+ import { GameEvent } from './types/events.types';
3
+ import { GameState } from '../game';
4
+ import { StatisticsSnapshotOrmEntity } from './statistics-snapshot.orm-entity';
5
+ export declare class StatisticsOrmEntity {
6
+ id: string;
7
+ gameId: string;
8
+ time: number;
9
+ gameState: GameState;
10
+ stats: MatchStats;
11
+ events: GameEvent[];
12
+ snapshots?: StatisticsSnapshotOrmEntity[];
13
+ }
14
+ //# sourceMappingURL=statistics.orm-entity.d.ts.map
@@ -0,0 +1,14 @@
1
+ export declare enum EventType {
2
+ Goal = "goal",
3
+ YellowCard = "yellowCard",
4
+ RedCard = "redCard",
5
+ Penalty = "penalty",
6
+ MissPenalty = "missPenalty",
7
+ Corner = "corner"
8
+ }
9
+ export interface GameEvent {
10
+ type: EventType;
11
+ time: string;
12
+ player: 1 | 2;
13
+ }
14
+ //# sourceMappingURL=events.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.types.d.ts","sourceRoot":"","sources":["../../../../src/typeorm-entities/statistics/types/events.types.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAA;IAIf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,CAAC,GAAG,CAAC,CAAA;CACd"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventType = void 0;
4
+ var EventType;
5
+ (function (EventType) {
6
+ EventType["Goal"] = "goal";
7
+ EventType["YellowCard"] = "yellowCard";
8
+ EventType["RedCard"] = "redCard";
9
+ EventType["Penalty"] = "penalty";
10
+ EventType["MissPenalty"] = "missPenalty";
11
+ EventType["Corner"] = "corner";
12
+ })(EventType || (exports.EventType = EventType = {}));
13
+ //# sourceMappingURL=events.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.types.js","sourceRoot":"","sources":["../../../../src/typeorm-entities/statistics/types/events.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,0BAAa,CAAA;IACb,sCAAyB,CAAA;IACzB,gCAAmB,CAAA;IACnB,gCAAmB,CAAA;IACnB,wCAA2B,CAAA;IAC3B,8BAAiB,CAAA;AACnB,CAAC,EAPW,SAAS,yBAAT,SAAS,QAOpB"}
@@ -0,0 +1,3 @@
1
+ import { TResultSignal } from '../../signal';
2
+ export type StatisticsAlgorithmResultsType = Record<TResultSignal, number>;
3
+ //# sourceMappingURL=statistics-algorithm.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statistics-algorithm.types.d.ts","sourceRoot":"","sources":["../../../../src/typeorm-entities/statistics/types/statistics-algorithm.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=statistics-algorithm.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statistics-algorithm.types.js","sourceRoot":"","sources":["../../../../src/typeorm-entities/statistics/types/statistics-algorithm.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ export interface MatchStats {
2
+ HT: StatItem | null;
3
+ ST: StatItem | null;
4
+ FT: StatItem | null;
5
+ }
6
+ export type StatItem = Record<StatisticsItemType, StatPlayers | null>;
7
+ export declare enum StatisticsItemType {
8
+ Corners = "corners",
9
+ Attacks = "attacks",
10
+ DangerousAttacks = "dangerousAttacks",
11
+ ShotsOn = "shotsOn",
12
+ ShotsOff = "shotsOff",
13
+ Penalty = "penalty",
14
+ YellowCards = "yellowCards",
15
+ RedCards = "redCards",
16
+ Totals = "total",
17
+ Possessions = "possessions"
18
+ }
19
+ export interface StatPlayers {
20
+ player1: number;
21
+ player2: number;
22
+ }
23
+ //# sourceMappingURL=statistics.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statistics.types.d.ts","sourceRoot":"","sources":["../../../../src/typeorm-entities/statistics/types/statistics.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,QAAQ,GAAG,IAAI,CAAA;IACnB,EAAE,EAAE,QAAQ,GAAG,IAAI,CAAA;IACnB,EAAE,EAAE,QAAQ,GAAG,IAAI,CAAA;CACpB;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,kBAAkB,EAAE,WAAW,GAAG,IAAI,CAAC,CAAA;AAErE,oBAAY,kBAAkB;IAC5B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,gBAAgB,qBAAqB;IACrC,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,MAAM,UAAU;IAChB,WAAW,gBAAgB;CAC5B;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;CAChB"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StatisticsItemType = void 0;
4
+ var StatisticsItemType;
5
+ (function (StatisticsItemType) {
6
+ StatisticsItemType["Corners"] = "corners";
7
+ StatisticsItemType["Attacks"] = "attacks";
8
+ StatisticsItemType["DangerousAttacks"] = "dangerousAttacks";
9
+ StatisticsItemType["ShotsOn"] = "shotsOn";
10
+ StatisticsItemType["ShotsOff"] = "shotsOff";
11
+ StatisticsItemType["Penalty"] = "penalty";
12
+ StatisticsItemType["YellowCards"] = "yellowCards";
13
+ StatisticsItemType["RedCards"] = "redCards";
14
+ StatisticsItemType["Totals"] = "total";
15
+ StatisticsItemType["Possessions"] = "possessions";
16
+ })(StatisticsItemType || (exports.StatisticsItemType = StatisticsItemType = {}));
17
+ //# sourceMappingURL=statistics.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statistics.types.js","sourceRoot":"","sources":["../../../../src/typeorm-entities/statistics/types/statistics.types.ts"],"names":[],"mappings":";;;AAQA,IAAY,kBAWX;AAXD,WAAY,kBAAkB;IAC5B,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,2DAAqC,CAAA;IACrC,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;IACnB,iDAA2B,CAAA;IAC3B,2CAAqB,CAAA;IACrB,sCAAgB,CAAA;IAChB,iDAA2B,CAAA;AAC7B,CAAC,EAXW,kBAAkB,kCAAlB,kBAAkB,QAW7B"}
@@ -0,0 +1,2 @@
1
+ export { TelegramReportSignalsOrmEntity } from './telegram-report-signals.orm-entity';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/telegram-report/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TelegramReportSignalsOrmEntity = void 0;
4
+ var telegram_report_signals_orm_entity_1 = require("./telegram-report-signals.orm-entity");
5
+ Object.defineProperty(exports, "TelegramReportSignalsOrmEntity", { enumerable: true, get: function () { return telegram_report_signals_orm_entity_1.TelegramReportSignalsOrmEntity; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/typeorm-entities/telegram-report/index.ts"],"names":[],"mappings":";;;AAAA,2FAAqF;AAA5E,oJAAA,8BAA8B,OAAA"}
@@ -0,0 +1,8 @@
1
+ import { AlgorithmOrmEntity } from '../algorithm';
2
+ export declare class TelegramReportSignalsOrmEntity {
3
+ id: string;
4
+ algorithmId: string;
5
+ lastPublish: string;
6
+ algorithm?: AlgorithmOrmEntity;
7
+ }
8
+ //# sourceMappingURL=telegram-report-signals.orm-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telegram-report-signals.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAGjD,qBACa,8BAA8B;IAEzC,EAAE,EAAE,MAAM,CAAA;IAIV,WAAW,EAAE,MAAM,CAAA;IAGnB,WAAW,EAAE,MAAM,CAAA;IAInB,SAAS,CAAC,EAAE,kBAAkB,CAAA;CAC/B"}
@@ -0,0 +1,39 @@
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.TelegramReportSignalsOrmEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const algorithm_1 = require("../algorithm");
15
+ let TelegramReportSignalsOrmEntity = class TelegramReportSignalsOrmEntity {
16
+ };
17
+ exports.TelegramReportSignalsOrmEntity = TelegramReportSignalsOrmEntity;
18
+ __decorate([
19
+ (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
20
+ __metadata("design:type", String)
21
+ ], TelegramReportSignalsOrmEntity.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.Index)(),
24
+ (0, typeorm_1.Column)({ name: 'algorithm_id' }),
25
+ __metadata("design:type", String)
26
+ ], TelegramReportSignalsOrmEntity.prototype, "algorithmId", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ name: 'last_publish' }),
29
+ __metadata("design:type", String)
30
+ ], TelegramReportSignalsOrmEntity.prototype, "lastPublish", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.OneToOne)(() => algorithm_1.AlgorithmOrmEntity, { createForeignKeyConstraints: false }),
33
+ (0, typeorm_1.JoinColumn)({ name: 'algorithm_id', referencedColumnName: 'id' }),
34
+ __metadata("design:type", algorithm_1.AlgorithmOrmEntity)
35
+ ], TelegramReportSignalsOrmEntity.prototype, "algorithm", void 0);
36
+ exports.TelegramReportSignalsOrmEntity = TelegramReportSignalsOrmEntity = __decorate([
37
+ (0, typeorm_1.Entity)({ name: 'telegram-report' })
38
+ ], TelegramReportSignalsOrmEntity);
39
+ //# sourceMappingURL=telegram-report-signals.orm-entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telegram-report-signals.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA6F;AAC7F,4CAAiD;AAI1C,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;CAc1C,CAAA;AAdY,wEAA8B;AAEzC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;0DACrB;AAIV;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;mEACd;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;mEACd;AAInB;IAFC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,8BAAkB,EAAE,EAAE,2BAA2B,EAAE,KAAK,EAAE,CAAC;IAC1E,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,oBAAoB,EAAE,IAAI,EAAE,CAAC;8BACrD,8BAAkB;iEAAA;yCAbnB,8BAA8B;IAD1C,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;GACvB,8BAA8B,CAc1C"}
@@ -0,0 +1,3 @@
1
+ export { UserOrmEntity } from './user.orm-entity';
2
+ export { UserRole, UserState } from './types/user.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -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"}