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

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 (116) hide show
  1. package/dist/typeorm-entities/odds/odds.orm-entity.d.ts.map +1 -1
  2. package/dist/typeorm-entities/odds/odds.orm-entity.js +3 -0
  3. package/dist/typeorm-entities/odds/odds.orm-entity.js.map +1 -1
  4. package/dist/typeorm-entities/signal/signal.orm-entity.d.ts.map +1 -1
  5. package/dist/typeorm-entities/signal/signal.orm-entity.js +4 -0
  6. package/dist/typeorm-entities/signal/signal.orm-entity.js.map +1 -1
  7. package/dist/typeorm-entities/statistics/statistics-snapshot.orm-entity.d.ts.map +1 -1
  8. package/dist/typeorm-entities/statistics/statistics-snapshot.orm-entity.js +4 -3
  9. package/dist/typeorm-entities/statistics/statistics-snapshot.orm-entity.js.map +1 -1
  10. package/dist/typeorm-entities/statistics/statistics.orm-entity.js +3 -3
  11. package/dist/typeorm-entities/statistics/statistics.orm-entity.js.map +1 -1
  12. package/package.json +1 -1
  13. package/dist/index.d.ts +0 -4
  14. package/dist/index.d.ts.map +0 -1
  15. package/dist/index.js +0 -31
  16. package/dist/index.js.map +0 -1
  17. package/dist/typeorm-entities/algorithm/algorithm.orm-entity.d.ts +0 -18
  18. package/dist/typeorm-entities/algorithm/algorithm.orm-entity.d.ts.map +0 -1
  19. package/dist/typeorm-entities/algorithm/algorithm.orm-entity.js +0 -78
  20. package/dist/typeorm-entities/algorithm/algorithm.orm-entity.js.map +0 -1
  21. package/dist/typeorm-entities/algorithm/index.d.ts +0 -4
  22. package/dist/typeorm-entities/algorithm/index.d.ts.map +0 -1
  23. package/dist/typeorm-entities/algorithm/index.js +0 -14
  24. package/dist/typeorm-entities/algorithm/index.js.map +0 -1
  25. package/dist/typeorm-entities/algorithm/types/algorithm.types.d.ts +0 -87
  26. package/dist/typeorm-entities/algorithm/types/algorithm.types.d.ts.map +0 -1
  27. package/dist/typeorm-entities/algorithm/types/algorithm.types.js +0 -62
  28. package/dist/typeorm-entities/algorithm/types/algorithm.types.js.map +0 -1
  29. package/dist/typeorm-entities/game/game.orm-entity.d.ts +0 -19
  30. package/dist/typeorm-entities/game/game.orm-entity.d.ts.map +0 -1
  31. package/dist/typeorm-entities/game/game.orm-entity.js +0 -79
  32. package/dist/typeorm-entities/game/game.orm-entity.js.map +0 -1
  33. package/dist/typeorm-entities/game/index.d.ts +0 -3
  34. package/dist/typeorm-entities/game/index.d.ts.map +0 -1
  35. package/dist/typeorm-entities/game/index.js +0 -8
  36. package/dist/typeorm-entities/game/index.js.map +0 -1
  37. package/dist/typeorm-entities/game/types/game.types.d.ts +0 -8
  38. package/dist/typeorm-entities/game/types/game.types.d.ts.map +0 -1
  39. package/dist/typeorm-entities/game/types/game.types.js +0 -12
  40. package/dist/typeorm-entities/game/types/game.types.js.map +0 -1
  41. package/dist/typeorm-entities/index.d.ts +0 -10
  42. package/dist/typeorm-entities/index.d.ts.map +0 -1
  43. package/dist/typeorm-entities/index.js +0 -26
  44. package/dist/typeorm-entities/index.js.map +0 -1
  45. package/dist/typeorm-entities/message/index.d.ts +0 -3
  46. package/dist/typeorm-entities/message/index.d.ts.map +0 -1
  47. package/dist/typeorm-entities/message/index.js +0 -6
  48. package/dist/typeorm-entities/message/index.js.map +0 -1
  49. package/dist/typeorm-entities/message/message.orm-entity.d.ts +0 -12
  50. package/dist/typeorm-entities/message/message.orm-entity.d.ts.map +0 -1
  51. package/dist/typeorm-entities/message/message.orm-entity.js +0 -54
  52. package/dist/typeorm-entities/message/message.orm-entity.js.map +0 -1
  53. package/dist/typeorm-entities/message/types/message-vars.types.d.ts +0 -27
  54. package/dist/typeorm-entities/message/types/message-vars.types.d.ts.map +0 -1
  55. package/dist/typeorm-entities/message/types/message-vars.types.js +0 -3
  56. package/dist/typeorm-entities/message/types/message-vars.types.js.map +0 -1
  57. package/dist/typeorm-entities/odds/index.d.ts +0 -4
  58. package/dist/typeorm-entities/odds/index.d.ts.map +0 -1
  59. package/dist/typeorm-entities/odds/index.js +0 -9
  60. package/dist/typeorm-entities/odds/index.js.map +0 -1
  61. package/dist/typeorm-entities/odds/odds.orm-entity.d.ts +0 -13
  62. package/dist/typeorm-entities/odds/types/odds.types.d.ts +0 -21
  63. package/dist/typeorm-entities/odds/types/odds.types.d.ts.map +0 -1
  64. package/dist/typeorm-entities/odds/types/odds.types.js +0 -14
  65. package/dist/typeorm-entities/odds/types/odds.types.js.map +0 -1
  66. package/dist/typeorm-entities/signal/index.d.ts +0 -4
  67. package/dist/typeorm-entities/signal/index.d.ts.map +0 -1
  68. package/dist/typeorm-entities/signal/index.js +0 -8
  69. package/dist/typeorm-entities/signal/index.js.map +0 -1
  70. package/dist/typeorm-entities/signal/signal.orm-entity.d.ts +0 -24
  71. package/dist/typeorm-entities/signal/types/signal.types.d.ts +0 -11
  72. package/dist/typeorm-entities/signal/types/signal.types.d.ts.map +0 -1
  73. package/dist/typeorm-entities/signal/types/signal.types.js +0 -10
  74. package/dist/typeorm-entities/signal/types/signal.types.js.map +0 -1
  75. package/dist/typeorm-entities/statistics/index.d.ts +0 -9
  76. package/dist/typeorm-entities/statistics/index.d.ts.map +0 -1
  77. package/dist/typeorm-entities/statistics/index.js +0 -14
  78. package/dist/typeorm-entities/statistics/index.js.map +0 -1
  79. package/dist/typeorm-entities/statistics/statistics-algorithm.orm-entity.d.ts +0 -10
  80. package/dist/typeorm-entities/statistics/statistics-algorithm.orm-entity.d.ts.map +0 -1
  81. package/dist/typeorm-entities/statistics/statistics-algorithm.orm-entity.js +0 -44
  82. package/dist/typeorm-entities/statistics/statistics-algorithm.orm-entity.js.map +0 -1
  83. package/dist/typeorm-entities/statistics/statistics-snapshot.orm-entity.d.ts +0 -10
  84. package/dist/typeorm-entities/statistics/statistics.orm-entity.d.ts +0 -14
  85. package/dist/typeorm-entities/statistics/types/events.types.d.ts +0 -14
  86. package/dist/typeorm-entities/statistics/types/events.types.d.ts.map +0 -1
  87. package/dist/typeorm-entities/statistics/types/events.types.js +0 -13
  88. package/dist/typeorm-entities/statistics/types/events.types.js.map +0 -1
  89. package/dist/typeorm-entities/statistics/types/statistics-algorithm.types.d.ts +0 -3
  90. package/dist/typeorm-entities/statistics/types/statistics-algorithm.types.d.ts.map +0 -1
  91. package/dist/typeorm-entities/statistics/types/statistics-algorithm.types.js +0 -3
  92. package/dist/typeorm-entities/statistics/types/statistics-algorithm.types.js.map +0 -1
  93. package/dist/typeorm-entities/statistics/types/statistics.types.d.ts +0 -23
  94. package/dist/typeorm-entities/statistics/types/statistics.types.d.ts.map +0 -1
  95. package/dist/typeorm-entities/statistics/types/statistics.types.js +0 -17
  96. package/dist/typeorm-entities/statistics/types/statistics.types.js.map +0 -1
  97. package/dist/typeorm-entities/telegram-report/index.d.ts +0 -2
  98. package/dist/typeorm-entities/telegram-report/index.d.ts.map +0 -1
  99. package/dist/typeorm-entities/telegram-report/index.js +0 -6
  100. package/dist/typeorm-entities/telegram-report/index.js.map +0 -1
  101. package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.d.ts +0 -8
  102. package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.d.ts.map +0 -1
  103. package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.js +0 -39
  104. package/dist/typeorm-entities/telegram-report/telegram-report-signals.orm-entity.js.map +0 -1
  105. package/dist/typeorm-entities/user/index.d.ts +0 -3
  106. package/dist/typeorm-entities/user/index.d.ts.map +0 -1
  107. package/dist/typeorm-entities/user/index.js +0 -9
  108. package/dist/typeorm-entities/user/index.js.map +0 -1
  109. package/dist/typeorm-entities/user/types/user.types.d.ts +0 -13
  110. package/dist/typeorm-entities/user/types/user.types.d.ts.map +0 -1
  111. package/dist/typeorm-entities/user/types/user.types.js +0 -18
  112. package/dist/typeorm-entities/user/types/user.types.js.map +0 -1
  113. package/dist/typeorm-entities/user/user.orm-entity.d.ts +0 -13
  114. package/dist/typeorm-entities/user/user.orm-entity.d.ts.map +0 -1
  115. package/dist/typeorm-entities/user/user.orm-entity.js +0 -57
  116. package/dist/typeorm-entities/user/user.orm-entity.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"odds.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/odds/odds.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEtF,qBACa,aAAa;IAExB,EAAE,EAAE,MAAM,CAAA;IAGV,MAAM,EAAE,MAAM,CAAA;IAGd,UAAU,EAAE,aAAa,CAAA;IAGzB,QAAQ,EAAE,WAAW,CAAA;IAGrB,YAAY,EAAE,UAAU,GAAG,SAAS,EAAE,GAAG,IAAI,CAAA;IAG7C,YAAY,EAAE,UAAU,GAAG,SAAS,EAAE,GAAG,IAAI,CAAA;IAG7C,cAAc,EAAE,UAAU,GAAG,SAAS,EAAE,GAAG,IAAI,CAAA;IAO/C,IAAI,EAAE,aAAa,CAAA;CACpB"}
1
+ {"version":3,"file":"odds.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/odds/odds.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAEtF,qBAIa,aAAa;IAExB,EAAE,EAAE,MAAM,CAAA;IAGV,MAAM,EAAE,MAAM,CAAA;IAGd,UAAU,EAAE,aAAa,CAAA;IAGzB,QAAQ,EAAE,WAAW,CAAA;IAGrB,YAAY,EAAE,UAAU,GAAG,SAAS,EAAE,GAAG,IAAI,CAAA;IAG7C,YAAY,EAAE,UAAU,GAAG,SAAS,EAAE,GAAG,IAAI,CAAA;IAG7C,cAAc,EAAE,UAAU,GAAG,SAAS,EAAE,GAAG,IAAI,CAAA;IAO/C,IAAI,EAAE,aAAa,CAAA;CACpB"}
@@ -53,6 +53,9 @@ __decorate([
53
53
  __metadata("design:type", game_1.GameOrmEntity)
54
54
  ], OddsOrmEntity.prototype, "game", void 0);
55
55
  exports.OddsOrmEntity = OddsOrmEntity = __decorate([
56
+ (0, typeorm_1.Index)('odds_game_market_time_uq', ['gameId', 'marketType', 'timeType'], {
57
+ unique: true,
58
+ }),
56
59
  (0, typeorm_1.Entity)({ name: 'odds' })
57
60
  ], OddsOrmEntity);
58
61
  //# sourceMappingURL=odds.orm-entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"odds.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/odds/odds.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuF;AACvF,kCAAuC;AACvC,mDAAsF;AAG/E,IAAM,aAAa,GAAnB,MAAM,aAAa;CA4BzB,CAAA;AA5BY,sCAAa;AAExB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;yCACrB;AAGV;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CAC5B;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;iDACrB;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;+CACT;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACrB;AAG7C;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACrB;AAG7C;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAA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EAAE,UAAU,CAAA;IAGrB,UAAU,EAAE,OAAO,CAAA;IAGnB,SAAS,EAAE,MAAM,CAAA;IAGjB,SAAS,EAAE,MAAM,CAAA;IAOjB,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAO9B,IAAI,CAAC,EAAE,aAAa,CAAA;IAGpB,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAA;CAC9B"}
1
+ {"version":3,"file":"signal.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/signal/signal.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAE7C,qBAKa,eAAe;IAE1B,EAAE,EAAE,MAAM,CAAA;IAGV,MAAM,EAAE,MAAM,CAAA;IAGd,WAAW,EAAE,MAAM,CAAA;IAGnB,IAAI,CAAC,EAAE,MAAM,CAAA;IAGb,OAAO,CAAC,EAAE,MAAM,CAAA;IAGhB,QAAQ,EAAE,MAAM,CAAA;IAGhB,YAAY,EAAE,MAAM,CAAA;IAGpB,MAAM,CAAC,EAAE,aAAa,GAAG,IAAI,CAAA;IAG7B,QAAQ,EAAE,MAAM,CAAA;IAGhB,SAAS,EAAE,UAAU,CAAA;IAGrB,UAAU,EAAE,OAAO,CAAA;IAGnB,SAAS,EAAE,MAAM,CAAA;IAGjB,SAAS,EAAE,MAAM,CAAA;IAOjB,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAO9B,IAAI,CAAC,EAAE,aAAa,CAAA;IAGpB,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAA;CAC9B"}
@@ -90,6 +90,10 @@ __decorate([
90
90
  __metadata("design:type", Array)
91
91
  ], SignalOrmEntity.prototype, "messages", void 0);
92
92
  exports.SignalOrmEntity = SignalOrmEntity = __decorate([
93
+ (0, typeorm_1.Index)('signals_game_algorithm_uq', ['gameId', 'algorithmId'], {
94
+ unique: true,
95
+ }),
96
+ (0, typeorm_1.Index)('signals_algorithm_id_idx', ['algorithmId']),
93
97
  (0, typeorm_1.Entity)('signals')
94
98
  ], SignalOrmEntity);
95
99
  //# sourceMappingURL=signal.orm-entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"signal.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/signal/signal.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAkG;AAElG,4CAAiD;AACjD,kCAAuC;AAEvC,wCAA6C;AAGtC,IAAM,eAAe,GAArB,MAAM,eAAe;CAwD3B,CAAA;AAxDY,0CAAe;AAE1B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;2CACrB;AAGV;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;+CAC5B;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;oDAC5B;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;6CAC7B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;gDAC5C;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;iDACd;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;;qDACd;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;+CACb;AAG7B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;iDACd;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;kDACzB;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;;mDACb;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;kDACd;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;kDACd;AAOjB;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,8BAAkB,EAAE,EAAE,2BAA2B,EAAE,KAAK,EAAE,CAAC;IAC3E,IAAA,oBAAU,EAAC;QACV,IAAI,EAAE,cAAc;QACpB,oBAAoB,EAAE,IAAI;KAC3B,CAAC;8BACU,8BAAkB;kDAAA;AAO9B;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAa,EAAE,EAAE,2BAA2B,EAAE,KAAK,EAAE,CAAC;IACtE,IAAA,oBAAU,EAAC;QACV,IAAI,EAAE,SAAS;QACf,oBAAoB,EAAE,IAAI;KAC3B,CAAC;8BACK,oBAAa;6CAAA;AAGpB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0BAAgB,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;;iDAChC;0BAvDlB,eAAe;IAD3B,IAAA,gBAAM,EAAC,SAAS,CAAC;GACL,eAAe,CAwD3B"}
1
+ {"version":3,"file":"signal.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/signal/signal.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAyG;AAEzG,4CAAiD;AACjD,kCAAuC;AAEvC,wCAA6C;AAOtC,IAAM,eAAe,G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AAE,EAAE,2BAA2B,EAAE,KAAK,EAAE,CAAC;IAC3E,IAAA,oBAAU,EAAC;QACV,IAAI,EAAE,cAAc;QACpB,oBAAoB,EAAE,IAAI;KAC3B,CAAC;8BACU,8BAAkB;kDAAA;AAO9B;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAa,EAAE,EAAE,2BAA2B,EAAE,KAAK,EAAE,CAAC;IACtE,IAAA,oBAAU,EAAC;QACV,IAAI,EAAE,SAAS;QACf,oBAAoB,EAAE,IAAI;KAC3B,CAAC;8BACK,oBAAa;6CAAA;AAGpB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0BAAgB,EAAE,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;;iDAChC;0BAvDlB,eAAe;IAL3B,IAAA,eAAK,EAAC,2BAA2B,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC,EAAE;QAC7D,MAAM,EAAE,IAAI;KACb,CAAC;IACD,IAAA,eAAK,EAAC,0BAA0B,EAAE,CAAC,aAAa,CAAC,CAAC;IAClD,IAAA,gBAAM,EAAC,SAAS,CAAC;GACL,eAAe,CAwD3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"statistics-snapshot.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/statistics/statistics-snapshot.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAE7D,qBAEa,2BAA2B;IAEtC,EAAE,EAAE,MAAM,CAAA;IAIV,MAAM,EAAE,MAAM,CAAA;IAGd,IAAI,EAAE,MAAM,CAAA;IAGZ,KAAK,EAAE,QAAQ,CAAA;IAIf,UAAU,CAAC,EAAE,mBAAmB,CAAA;CACjC"}
1
+ {"version":3,"file":"statistics-snapshot.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/statistics/statistics-snapshot.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAE7D,qBAIa,2BAA2B;IAEtC,EAAE,EAAE,MAAM,CAAA;IAGV,MAAM,EAAE,MAAM,CAAA;IAGd,IAAI,EAAE,MAAM,CAAA;IAGZ,KAAK,EAAE,QAAQ,CAAA;IAIf,UAAU,CAAC,EAAE,mBAAmB,CAAA;CACjC"}
@@ -21,7 +21,6 @@ __decorate([
21
21
  ], StatisticsSnapshotOrmEntity.prototype, "id", void 0);
22
22
  __decorate([
23
23
  (0, typeorm_1.Column)({ name: 'game_id', type: 'uuid' }),
24
- (0, typeorm_1.Index)(),
25
24
  __metadata("design:type", String)
26
25
  ], StatisticsSnapshotOrmEntity.prototype, "gameId", void 0);
27
26
  __decorate([
@@ -38,7 +37,9 @@ __decorate([
38
37
  __metadata("design:type", statistics_orm_entity_1.StatisticsOrmEntity)
39
38
  ], StatisticsSnapshotOrmEntity.prototype, "statistics", void 0);
40
39
  exports.StatisticsSnapshotOrmEntity = StatisticsSnapshotOrmEntity = __decorate([
41
- (0, typeorm_1.Entity)({ name: 'statistics-snapshots' }),
42
- (0, typeorm_1.Unique)(['gameId', 'time'])
40
+ (0, typeorm_1.Index)('statistics_snapshots_game_time_uq', ['gameId', 'time'], {
41
+ unique: true,
42
+ }),
43
+ (0, typeorm_1.Entity)({ name: 'statistics-snapshots' })
43
44
  ], StatisticsSnapshotOrmEntity);
44
45
  //# sourceMappingURL=statistics-snapshot.orm-entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"statistics-snapshot.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/statistics/statistics-snapshot.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsG;AAEtG,mEAA6D;AAItD,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;CAiBvC,CAAA;AAjBY,kEAA2B;AAEtC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;uDACrB;AAIV;IAFC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAC,CAAC;IACxC,IAAA,eAAK,GAAE;;2DACM;AAGd;IADC,IAAA,gBAAM,GAAE;;yDACG;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;0DACX;AAIf;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACvF,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB,EAAE,QAAQ,EAAE,CAAC;8BACnD,2CAAmB;+DAAA;sCAhBrB,2BAA2B;IAFvC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;IACxC,IAAA,gBAAM,EAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;GACd,2BAA2B,CAiBvC"}
1
+ {"version":3,"file":"statistics-snapshot.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/statistics/statistics-snapshot.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsG;AAEtG,mEAA6D;AAMtD,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;CAgBvC,CAAA;AAhBY,kEAA2B;AAEtC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;uDACrB;AAGV;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2DAC5B;AAGd;IADC,IAAA,gBAAM,GAAE;;yDACG;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;0DACX;AAIf;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,2CAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACvF,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB,EAAE,QAAQ,EAAE,CAAC;8BACnD,2CAAmB;+DAAA;sCAfrB,2BAA2B;IAJvC,IAAA,eAAK,EAAC,mCAAmC,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE;QAC9D,MAAM,EAAE,IAAI;KACb,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;GAC5B,2BAA2B,CAgBvC"}
@@ -41,11 +41,11 @@ __decorate([
41
41
  __metadata("design:type", Array)
42
42
  ], StatisticsOrmEntity.prototype, "events", void 0);
43
43
  __decorate([
44
- (0, typeorm_1.OneToMany)(() => statistics_snapshot_orm_entity_1.StatisticsSnapshotOrmEntity, (snapshot) => snapshot.statistics),
44
+ (0, typeorm_1.OneToMany)(() => statistics_snapshot_orm_entity_1.StatisticsSnapshotOrmEntity, snapshot => snapshot.statistics),
45
45
  __metadata("design:type", Array)
46
46
  ], StatisticsOrmEntity.prototype, "snapshots", void 0);
47
47
  exports.StatisticsOrmEntity = StatisticsOrmEntity = __decorate([
48
- (0, typeorm_1.Entity)({ name: 'statistics' }),
49
- (0, typeorm_1.Unique)(['gameId'])
48
+ (0, typeorm_1.Index)('statistics_game_id_uq', ['gameId'], { unique: true }),
49
+ (0, typeorm_1.Entity)({ name: 'statistics' })
50
50
  ], StatisticsOrmEntity);
51
51
  //# sourceMappingURL=statistics.orm-entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"statistics.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/statistics/statistics.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAmF;AAGnF,kCAAmC;AACnC,qFAA8E;AAIvE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAqB/B,CAAA;AArBY,kDAAmB;AAE9B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;+CACrB;AAGV;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;mDAC5B;AAGd;IADC,IAAA,gBAAM,GAAE;;iDACG;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;sDACX;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;kDACT;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;mDAC5B;AAGnB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4DAA2B,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC;;sDACvC;8BApB9B,mBAAmB;IAF/B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;IAC9B,IAAA,gBAAM,EAAC,CAAC,QAAQ,CAAC,CAAC;GACN,mBAAmB,CAqB/B"}
1
+ {"version":3,"file":"statistics.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/statistics/statistics.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAkF;AAGlF,kCAAmC;AACnC,qFAA8E;AAIvE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAqB/B,CAAA;AArBY,kDAAmB;AAE9B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;+CACrB;AAGV;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;mDAC5B;AAGd;IADC,IAAA,gBAAM,GAAE;;iDACG;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;sDACX;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;kDACT;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;mDAC5B;AAGnB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4DAA2B,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC;;sDACrC;8BApB9B,mBAAmB;IAF/B,IAAA,eAAK,EAAC,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC5D,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;GAClB,mBAAmB,CAqB/B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bets-pf/shared-typeorm-models",
3
- "version": "1.4.7",
3
+ "version": "1.6.0",
4
4
  "description": "Shared TypeORM entities for BPF platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
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, UserOrmEntity, StatisticsSnapshotOrmEntity, } from './typeorm-entities';
3
- export { EventType, AlgorithmTeamType, StatisticsItemType, AlgorithmStatType, OddTimeType, GameState, AlgorithmTimerPeriod, AlgorithmOddsMarketType, AlgorithmAdditionalFiltersMode, AlgorithmOddsTimeType, AlgorithmComparator, OddMarketType, TResultSignal, UserState, UserRole, } from './typeorm-entities';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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,EACb,2BAA2B,GAC5B,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,GACT,MAAM,oBAAoB,CAAA"}
package/dist/index.js DELETED
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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.StatisticsSnapshotOrmEntity = exports.UserOrmEntity = exports.SignalOrmEntity = exports.TelegramReportSignalsOrmEntity = exports.StatisticsAlgorithmOrmEntity = exports.StatisticsOrmEntity = exports.OddsOrmEntity = exports.MessageOrmEntity = exports.GameOrmEntity = exports.AlgorithmOrmEntity = void 0;
4
- var typeorm_entities_1 = require("./typeorm-entities");
5
- Object.defineProperty(exports, "AlgorithmOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.AlgorithmOrmEntity; } });
6
- Object.defineProperty(exports, "GameOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.GameOrmEntity; } });
7
- Object.defineProperty(exports, "MessageOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.MessageOrmEntity; } });
8
- Object.defineProperty(exports, "OddsOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.OddsOrmEntity; } });
9
- Object.defineProperty(exports, "StatisticsOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.StatisticsOrmEntity; } });
10
- Object.defineProperty(exports, "StatisticsAlgorithmOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.StatisticsAlgorithmOrmEntity; } });
11
- Object.defineProperty(exports, "TelegramReportSignalsOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.TelegramReportSignalsOrmEntity; } });
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; } });
14
- Object.defineProperty(exports, "StatisticsSnapshotOrmEntity", { enumerable: true, get: function () { return typeorm_entities_1.StatisticsSnapshotOrmEntity; } });
15
- var typeorm_entities_2 = require("./typeorm-entities");
16
- Object.defineProperty(exports, "EventType", { enumerable: true, get: function () { return typeorm_entities_2.EventType; } });
17
- Object.defineProperty(exports, "AlgorithmTeamType", { enumerable: true, get: function () { return typeorm_entities_2.AlgorithmTeamType; } });
18
- Object.defineProperty(exports, "StatisticsItemType", { enumerable: true, get: function () { return typeorm_entities_2.StatisticsItemType; } });
19
- Object.defineProperty(exports, "AlgorithmStatType", { enumerable: true, get: function () { return typeorm_entities_2.AlgorithmStatType; } });
20
- Object.defineProperty(exports, "OddTimeType", { enumerable: true, get: function () { return typeorm_entities_2.OddTimeType; } });
21
- Object.defineProperty(exports, "GameState", { enumerable: true, get: function () { return typeorm_entities_2.GameState; } });
22
- Object.defineProperty(exports, "AlgorithmTimerPeriod", { enumerable: true, get: function () { return typeorm_entities_2.AlgorithmTimerPeriod; } });
23
- Object.defineProperty(exports, "AlgorithmOddsMarketType", { enumerable: true, get: function () { return typeorm_entities_2.AlgorithmOddsMarketType; } });
24
- Object.defineProperty(exports, "AlgorithmAdditionalFiltersMode", { enumerable: true, get: function () { return typeorm_entities_2.AlgorithmAdditionalFiltersMode; } });
25
- Object.defineProperty(exports, "AlgorithmOddsTimeType", { enumerable: true, get: function () { return typeorm_entities_2.AlgorithmOddsTimeType; } });
26
- Object.defineProperty(exports, "AlgorithmComparator", { enumerable: true, get: function () { return typeorm_entities_2.AlgorithmComparator; } });
27
- Object.defineProperty(exports, "OddMarketType", { enumerable: true, get: function () { return typeorm_entities_2.OddMarketType; } });
28
- Object.defineProperty(exports, "TResultSignal", { enumerable: true, get: function () { return typeorm_entities_2.TResultSignal; } });
29
- Object.defineProperty(exports, "UserState", { enumerable: true, get: function () { return typeorm_entities_2.UserState; } });
30
- Object.defineProperty(exports, "UserRole", { enumerable: true, get: function () { return typeorm_entities_2.UserRole; } });
31
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAkBA,uDAW2B;AAVzB,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;AACb,+HAAA,2BAA2B,OAAA;AAG7B,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,18 +0,0 @@
1
- import { AlgorithmAdditionalFilters, AlgorithmCondition, AlgorithmResultOptions } from './types/algorithm.types';
2
- import { TelegramReportSignalsOrmEntity } from '../telegram-report';
3
- export declare class AlgorithmOrmEntity {
4
- id: string;
5
- name: string;
6
- code: string;
7
- ownerId: string;
8
- conditions: AlgorithmCondition[];
9
- resultOptions: AlgorithmResultOptions;
10
- chatIds: string[];
11
- isActive: boolean;
12
- syncGoogle: boolean;
13
- additionalFilters: AlgorithmAdditionalFilters | null;
14
- createdAt: string;
15
- updatedAt: string;
16
- report?: TelegramReportSignalsOrmEntity;
17
- }
18
- //# sourceMappingURL=algorithm.orm-entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"algorithm.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/algorithm/algorithm.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAChH,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAA;AAEnE,qBACa,kBAAkB;IAE7B,EAAE,EAAE,MAAM,CAAA;IAGV,IAAI,EAAE,MAAM,CAAA;IAGZ,IAAI,EAAE,MAAM,CAAA;IAGZ,OAAO,EAAE,MAAM,CAAA;IAGf,UAAU,EAAE,kBAAkB,EAAE,CAAA;IAGhC,aAAa,EAAE,sBAAsB,CAAA;IAOrC,OAAO,EAAE,MAAM,EAAE,CAAA;IAGjB,QAAQ,EAAE,OAAO,CAAA;IAGjB,UAAU,EAAE,OAAO,CAAA;IAGnB,iBAAiB,EAAE,0BAA0B,GAAG,IAAI,CAAA;IAGpD,SAAS,EAAE,MAAM,CAAA;IAGjB,SAAS,EAAE,MAAM,CAAA;IAIjB,MAAM,CAAC,EAAE,8BAA8B,CAAA;CACxC"}
@@ -1,78 +0,0 @@
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.AlgorithmOrmEntity = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const telegram_report_1 = require("../telegram-report");
15
- let AlgorithmOrmEntity = class AlgorithmOrmEntity {
16
- };
17
- exports.AlgorithmOrmEntity = AlgorithmOrmEntity;
18
- __decorate([
19
- (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
20
- __metadata("design:type", String)
21
- ], AlgorithmOrmEntity.prototype, "id", void 0);
22
- __decorate([
23
- (0, typeorm_1.Column)(),
24
- __metadata("design:type", String)
25
- ], AlgorithmOrmEntity.prototype, "name", void 0);
26
- __decorate([
27
- (0, typeorm_1.Column)(),
28
- __metadata("design:type", String)
29
- ], AlgorithmOrmEntity.prototype, "code", void 0);
30
- __decorate([
31
- (0, typeorm_1.Column)({ type: 'uuid', name: 'owner_id' }),
32
- __metadata("design:type", String)
33
- ], AlgorithmOrmEntity.prototype, "ownerId", void 0);
34
- __decorate([
35
- (0, typeorm_1.Column)({ type: 'jsonb', default: '[]' }),
36
- __metadata("design:type", Array)
37
- ], AlgorithmOrmEntity.prototype, "conditions", void 0);
38
- __decorate([
39
- (0, typeorm_1.Column)({ name: 'result_options', type: 'jsonb', default: '{}' }),
40
- __metadata("design:type", Object)
41
- ], AlgorithmOrmEntity.prototype, "resultOptions", void 0);
42
- __decorate([
43
- (0, typeorm_1.Column)({
44
- name: 'chat_ids',
45
- type: 'jsonb',
46
- default: '[]',
47
- }),
48
- __metadata("design:type", Array)
49
- ], AlgorithmOrmEntity.prototype, "chatIds", void 0);
50
- __decorate([
51
- (0, typeorm_1.Column)({ name: 'is_active' }),
52
- __metadata("design:type", Boolean)
53
- ], AlgorithmOrmEntity.prototype, "isActive", void 0);
54
- __decorate([
55
- (0, typeorm_1.Column)({ name: 'sync_google', default: false }),
56
- __metadata("design:type", Boolean)
57
- ], AlgorithmOrmEntity.prototype, "syncGoogle", void 0);
58
- __decorate([
59
- (0, typeorm_1.Column)({ name: 'additional_filters', type: 'jsonb', nullable: true }),
60
- __metadata("design:type", Object)
61
- ], AlgorithmOrmEntity.prototype, "additionalFilters", void 0);
62
- __decorate([
63
- (0, typeorm_1.Column)({ name: 'created_at', type: 'timestamp with time zone' }),
64
- __metadata("design:type", String)
65
- ], AlgorithmOrmEntity.prototype, "createdAt", void 0);
66
- __decorate([
67
- (0, typeorm_1.Column)({ name: 'updated_at', type: 'timestamp with time zone' }),
68
- __metadata("design:type", String)
69
- ], AlgorithmOrmEntity.prototype, "updatedAt", void 0);
70
- __decorate([
71
- (0, typeorm_1.OneToOne)(() => telegram_report_1.TelegramReportSignalsOrmEntity, { createForeignKeyConstraints: false }),
72
- (0, typeorm_1.JoinColumn)({ name: 'id', referencedColumnName: 'algorithmId' }),
73
- __metadata("design:type", telegram_report_1.TelegramReportSignalsOrmEntity)
74
- ], AlgorithmOrmEntity.prototype, "report", void 0);
75
- exports.AlgorithmOrmEntity = AlgorithmOrmEntity = __decorate([
76
- (0, typeorm_1.Entity)('algorithms')
77
- ], AlgorithmOrmEntity);
78
- //# sourceMappingURL=algorithm.orm-entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"algorithm.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/algorithm/algorithm.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsF;AAEtF,wDAAmE;AAG5D,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CA4C9B,CAAA;AA5CY,gDAAkB;AAE7B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;8CACrB;AAGV;IADC,IAAA,gBAAM,GAAE;;gDACG;AAGZ;IADC,IAAA,gBAAM,GAAE;;gDACG;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;;mDAC5B;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;sDACT;AAGhC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;yDAC5B;AAOrC;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,IAAI;KACd,CAAC;;mDACe;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;oDACb;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;sDAC7B;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DAClB;AAGpD;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;;qDAChD;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;;qDAChD;AAIjB;IAFC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,gDAA8B,EAAE,EAAE,2BAA2B,EAAE,KAAK,EAAE,CAAC;IACtF,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,oBAAoB,EAAE,aAAa,EAAE,CAAC;8BACvD,gDAA8B;kDAAA;6BA3C5B,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,YAAY,CAAC;GACR,kBAAkB,CA4C9B"}
@@ -1,4 +0,0 @@
1
- export { AlgorithmOrmEntity } from './algorithm.orm-entity';
2
- export { AlgorithmAdditionalFilters, AlgorithmResultOptions, AlgorithmCondition, AlgorithmRightI, AlgorithmLeftI, AlgorithmOddsConditionItem, } from './types/algorithm.types';
3
- export { AlgorithmOddsMarketType, AlgorithmOddsTimeType, AlgorithmTimerPeriod, AlgorithmTeamType, AlgorithmStatType, AlgorithmAdditionalFiltersMode, AlgorithmComparator, } from './types/algorithm.types';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/algorithm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EACL,0BAA0B,EAC1B,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,0BAA0B,GAC3B,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,yBAAyB,CAAA"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AlgorithmComparator = exports.AlgorithmAdditionalFiltersMode = exports.AlgorithmStatType = exports.AlgorithmTeamType = exports.AlgorithmTimerPeriod = exports.AlgorithmOddsTimeType = exports.AlgorithmOddsMarketType = exports.AlgorithmOrmEntity = void 0;
4
- var algorithm_orm_entity_1 = require("./algorithm.orm-entity");
5
- Object.defineProperty(exports, "AlgorithmOrmEntity", { enumerable: true, get: function () { return algorithm_orm_entity_1.AlgorithmOrmEntity; } });
6
- var algorithm_types_1 = require("./types/algorithm.types");
7
- Object.defineProperty(exports, "AlgorithmOddsMarketType", { enumerable: true, get: function () { return algorithm_types_1.AlgorithmOddsMarketType; } });
8
- Object.defineProperty(exports, "AlgorithmOddsTimeType", { enumerable: true, get: function () { return algorithm_types_1.AlgorithmOddsTimeType; } });
9
- Object.defineProperty(exports, "AlgorithmTimerPeriod", { enumerable: true, get: function () { return algorithm_types_1.AlgorithmTimerPeriod; } });
10
- Object.defineProperty(exports, "AlgorithmTeamType", { enumerable: true, get: function () { return algorithm_types_1.AlgorithmTeamType; } });
11
- Object.defineProperty(exports, "AlgorithmStatType", { enumerable: true, get: function () { return algorithm_types_1.AlgorithmStatType; } });
12
- Object.defineProperty(exports, "AlgorithmAdditionalFiltersMode", { enumerable: true, get: function () { return algorithm_types_1.AlgorithmAdditionalFiltersMode; } });
13
- Object.defineProperty(exports, "AlgorithmComparator", { enumerable: true, get: function () { return algorithm_types_1.AlgorithmComparator; } });
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/typeorm-entities/algorithm/index.ts"],"names":[],"mappings":";;;AAAA,+DAA2D;AAAlD,0HAAA,kBAAkB,OAAA;AAU3B,2DAQgC;AAP9B,0HAAA,uBAAuB,OAAA;AACvB,wHAAA,qBAAqB,OAAA;AACrB,uHAAA,oBAAoB,OAAA;AACpB,oHAAA,iBAAiB,OAAA;AACjB,oHAAA,iBAAiB,OAAA;AACjB,iIAAA,8BAA8B,OAAA;AAC9B,sHAAA,mBAAmB,OAAA"}
@@ -1,87 +0,0 @@
1
- export declare enum AlgorithmOddsMarketType {
2
- TotalOver = "totalOver",
3
- TotalUnder = "totalUnder",
4
- Win1 = "p1",
5
- Win2 = "p2",
6
- Draw = "x"
7
- }
8
- export declare enum AlgorithmOddsTimeType {
9
- Live = "live",
10
- Pre = "pre"
11
- }
12
- export interface AlgorithmOddsConditionItem {
13
- marketType: AlgorithmOddsMarketType;
14
- timeType: AlgorithmOddsTimeType;
15
- marketValue?: string;
16
- offsetValue?: number;
17
- }
18
- export declare enum AlgorithmStatType {
19
- Part = "part",
20
- Timer = "timer",
21
- TimeLastGoal = "timeLastGoal",
22
- Total = "total",
23
- ShotsOn = "shotsOn",
24
- ShotsMiss = "shotsMiss",
25
- Shots = "shots",
26
- Corners = "corners",
27
- RedCards = "redCards",
28
- YellowCards = "yellowCards",
29
- Attacks = "attacks",
30
- DangerousAttacks = "dangerousAttacks",
31
- Possession = "possession",
32
- GoalAttempts = "goalAttempts"
33
- }
34
- export declare enum AlgorithmTimerPeriod {
35
- HT = "HT",
36
- ST = "ST",
37
- FT = "FT"
38
- }
39
- export declare enum AlgorithmTeamType {
40
- Home = "home",
41
- Away = "away",
42
- Sum = "sum",
43
- Ea = "ea",
44
- Df = "df"
45
- }
46
- export declare enum AlgorithmComparator {
47
- NotEqual = "!=",
48
- Equal = "=",
49
- GreaterThan = ">",
50
- LessThan = "<",
51
- GreaterThanOrEqual = ">=",
52
- LessThanOrEqual = "<="
53
- }
54
- export interface AlgorithmCondition {
55
- comparator: AlgorithmComparator;
56
- left: AlgorithmLeftI;
57
- right: AlgorithmRightI;
58
- }
59
- export interface AlgorithmLeftI {
60
- team?: AlgorithmTeamType;
61
- timerRangeFrom?: number;
62
- timerRangeTo?: number;
63
- timerPeriod?: AlgorithmTimerPeriod;
64
- statsReference?: AlgorithmStatType;
65
- oddsReference?: AlgorithmOddsConditionItem;
66
- }
67
- export interface AlgorithmRightI {
68
- constant: number;
69
- }
70
- export interface AlgorithmResultOptions {
71
- betType: AlgorithmOddsMarketType;
72
- timerPeriod: AlgorithmTimerPeriod;
73
- offsetTotalValue: number;
74
- }
75
- export type AlgorithmAdditionalFilters = {
76
- mode: AlgorithmAdditionalFiltersMode;
77
- countries: string[];
78
- leagues: string[];
79
- withoutWoman?: boolean;
80
- withoutCup?: boolean;
81
- withoutFriendly?: boolean;
82
- };
83
- export declare enum AlgorithmAdditionalFiltersMode {
84
- Exclude = "exclude",
85
- Include = "include"
86
- }
87
- //# sourceMappingURL=algorithm.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"algorithm.types.d.ts","sourceRoot":"","sources":["../../../../src/typeorm-entities/algorithm/types/algorithm.types.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IACjC,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,IAAI,OAAO;IACX,IAAI,OAAO;IACX,IAAI,MAAM;CACX;AAED,oBAAY,qBAAqB;IAC/B,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,MAAM,WAAW,0BAA0B;IACzC,UAAU,EAAE,uBAAuB,CAAA;IACnC,QAAQ,EAAE,qBAAqB,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,oBAAY,iBAAiB;IAC3B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,YAAY,iBAAiB;IAC7B,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,QAAQ,aAAa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,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,oBAAY,8BAA8B;IACxC,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB"}
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AlgorithmAdditionalFiltersMode = exports.AlgorithmComparator = exports.AlgorithmTeamType = exports.AlgorithmTimerPeriod = exports.AlgorithmStatType = exports.AlgorithmOddsTimeType = exports.AlgorithmOddsMarketType = void 0;
4
- var AlgorithmOddsMarketType;
5
- (function (AlgorithmOddsMarketType) {
6
- AlgorithmOddsMarketType["TotalOver"] = "totalOver";
7
- AlgorithmOddsMarketType["TotalUnder"] = "totalUnder";
8
- AlgorithmOddsMarketType["Win1"] = "p1";
9
- AlgorithmOddsMarketType["Win2"] = "p2";
10
- AlgorithmOddsMarketType["Draw"] = "x";
11
- })(AlgorithmOddsMarketType || (exports.AlgorithmOddsMarketType = AlgorithmOddsMarketType = {}));
12
- var AlgorithmOddsTimeType;
13
- (function (AlgorithmOddsTimeType) {
14
- AlgorithmOddsTimeType["Live"] = "live";
15
- AlgorithmOddsTimeType["Pre"] = "pre";
16
- })(AlgorithmOddsTimeType || (exports.AlgorithmOddsTimeType = AlgorithmOddsTimeType = {}));
17
- var AlgorithmStatType;
18
- (function (AlgorithmStatType) {
19
- AlgorithmStatType["Part"] = "part";
20
- AlgorithmStatType["Timer"] = "timer";
21
- AlgorithmStatType["TimeLastGoal"] = "timeLastGoal";
22
- AlgorithmStatType["Total"] = "total";
23
- AlgorithmStatType["ShotsOn"] = "shotsOn";
24
- AlgorithmStatType["ShotsMiss"] = "shotsMiss";
25
- AlgorithmStatType["Shots"] = "shots";
26
- AlgorithmStatType["Corners"] = "corners";
27
- AlgorithmStatType["RedCards"] = "redCards";
28
- AlgorithmStatType["YellowCards"] = "yellowCards";
29
- AlgorithmStatType["Attacks"] = "attacks";
30
- AlgorithmStatType["DangerousAttacks"] = "dangerousAttacks";
31
- AlgorithmStatType["Possession"] = "possession";
32
- AlgorithmStatType["GoalAttempts"] = "goalAttempts";
33
- })(AlgorithmStatType || (exports.AlgorithmStatType = AlgorithmStatType = {}));
34
- var AlgorithmTimerPeriod;
35
- (function (AlgorithmTimerPeriod) {
36
- AlgorithmTimerPeriod["HT"] = "HT";
37
- AlgorithmTimerPeriod["ST"] = "ST";
38
- AlgorithmTimerPeriod["FT"] = "FT";
39
- })(AlgorithmTimerPeriod || (exports.AlgorithmTimerPeriod = AlgorithmTimerPeriod = {}));
40
- var AlgorithmTeamType;
41
- (function (AlgorithmTeamType) {
42
- AlgorithmTeamType["Home"] = "home";
43
- AlgorithmTeamType["Away"] = "away";
44
- AlgorithmTeamType["Sum"] = "sum";
45
- AlgorithmTeamType["Ea"] = "ea";
46
- AlgorithmTeamType["Df"] = "df";
47
- })(AlgorithmTeamType || (exports.AlgorithmTeamType = AlgorithmTeamType = {}));
48
- var AlgorithmComparator;
49
- (function (AlgorithmComparator) {
50
- AlgorithmComparator["NotEqual"] = "!=";
51
- AlgorithmComparator["Equal"] = "=";
52
- AlgorithmComparator["GreaterThan"] = ">";
53
- AlgorithmComparator["LessThan"] = "<";
54
- AlgorithmComparator["GreaterThanOrEqual"] = ">=";
55
- AlgorithmComparator["LessThanOrEqual"] = "<=";
56
- })(AlgorithmComparator || (exports.AlgorithmComparator = AlgorithmComparator = {}));
57
- var AlgorithmAdditionalFiltersMode;
58
- (function (AlgorithmAdditionalFiltersMode) {
59
- AlgorithmAdditionalFiltersMode["Exclude"] = "exclude";
60
- AlgorithmAdditionalFiltersMode["Include"] = "include";
61
- })(AlgorithmAdditionalFiltersMode || (exports.AlgorithmAdditionalFiltersMode = AlgorithmAdditionalFiltersMode = {}));
62
- //# sourceMappingURL=algorithm.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"algorithm.types.js","sourceRoot":"","sources":["../../../../src/typeorm-entities/algorithm/types/algorithm.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAMX;AAND,WA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qDAAmB,CAAA;IACnB,qDAAmB,CAAA;AACrB,CAAC,EAHW,8BAA8B,8CAA9B,8BAA8B,QAGzC"}
@@ -1,19 +0,0 @@
1
- import { StatisticsOrmEntity } from '../statistics';
2
- import { OddsOrmEntity } from '../odds';
3
- export declare class GameOrmEntity {
4
- id: string;
5
- externalId: number;
6
- startDate: string;
7
- player1: string;
8
- playerExternalId1: number;
9
- player2: string;
10
- playerExternalId2: number;
11
- leagueName: string;
12
- leagueExternalId: number;
13
- countryExternalId: number;
14
- countryName: string;
15
- isFinish: boolean;
16
- statistics?: StatisticsOrmEntity | null;
17
- odds?: OddsOrmEntity[] | null;
18
- }
19
- //# sourceMappingURL=game.orm-entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"game.orm-entity.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/game/game.orm-entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,qBACa,aAAa;IAExB,EAAE,EAAE,MAAM,CAAA;IAGV,UAAU,EAAE,MAAM,CAAA;IAGlB,SAAS,EAAE,MAAM,CAAA;IAGjB,OAAO,EAAE,MAAM,CAAA;IAGf,iBAAiB,EAAE,MAAM,CAAA;IAGzB,OAAO,EAAE,MAAM,CAAA;IAGf,iBAAiB,EAAE,MAAM,CAAA;IAGzB,UAAU,EAAE,MAAM,CAAA;IAGlB,gBAAgB,EAAE,MAAM,CAAA;IAGxB,iBAAiB,EAAE,MAAM,CAAA;IAGzB,WAAW,EAAE,MAAM,CAAA;IAGnB,QAAQ,EAAE,OAAO,CAAA;IAIjB,UAAU,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAA;IAGvC,IAAI,CAAC,EAAE,aAAa,EAAE,GAAG,IAAI,CAAA;CAC9B"}
@@ -1,79 +0,0 @@
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.GameOrmEntity = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const statistics_1 = require("../statistics");
15
- const odds_1 = require("../odds");
16
- let GameOrmEntity = class GameOrmEntity {
17
- };
18
- exports.GameOrmEntity = GameOrmEntity;
19
- __decorate([
20
- (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
21
- __metadata("design:type", String)
22
- ], GameOrmEntity.prototype, "id", void 0);
23
- __decorate([
24
- (0, typeorm_1.Column)({ name: 'external_id' }),
25
- __metadata("design:type", Number)
26
- ], GameOrmEntity.prototype, "externalId", void 0);
27
- __decorate([
28
- (0, typeorm_1.Column)({ name: 'start_date' }),
29
- __metadata("design:type", String)
30
- ], GameOrmEntity.prototype, "startDate", void 0);
31
- __decorate([
32
- (0, typeorm_1.Column)({ name: 'player_name_1' }),
33
- __metadata("design:type", String)
34
- ], GameOrmEntity.prototype, "player1", void 0);
35
- __decorate([
36
- (0, typeorm_1.Column)({ name: 'player_external_id_1' }),
37
- __metadata("design:type", Number)
38
- ], GameOrmEntity.prototype, "playerExternalId1", void 0);
39
- __decorate([
40
- (0, typeorm_1.Column)({ name: 'player_name_2' }),
41
- __metadata("design:type", String)
42
- ], GameOrmEntity.prototype, "player2", void 0);
43
- __decorate([
44
- (0, typeorm_1.Column)({ name: 'player_external_id_2' }),
45
- __metadata("design:type", Number)
46
- ], GameOrmEntity.prototype, "playerExternalId2", void 0);
47
- __decorate([
48
- (0, typeorm_1.Column)({ name: 'league_name' }),
49
- __metadata("design:type", String)
50
- ], GameOrmEntity.prototype, "leagueName", void 0);
51
- __decorate([
52
- (0, typeorm_1.Column)({ name: 'external_league_id' }),
53
- __metadata("design:type", Number)
54
- ], GameOrmEntity.prototype, "leagueExternalId", void 0);
55
- __decorate([
56
- (0, typeorm_1.Column)({ name: 'country_external_id' }),
57
- __metadata("design:type", Number)
58
- ], GameOrmEntity.prototype, "countryExternalId", void 0);
59
- __decorate([
60
- (0, typeorm_1.Column)({ name: 'country_name' }),
61
- __metadata("design:type", String)
62
- ], GameOrmEntity.prototype, "countryName", void 0);
63
- __decorate([
64
- (0, typeorm_1.Column)({ name: 'is_finish' }),
65
- __metadata("design:type", Boolean)
66
- ], GameOrmEntity.prototype, "isFinish", void 0);
67
- __decorate([
68
- (0, typeorm_1.OneToOne)(() => statistics_1.StatisticsOrmEntity, { createForeignKeyConstraints: false }),
69
- (0, typeorm_1.JoinColumn)({ name: 'id', referencedColumnName: 'gameId' }),
70
- __metadata("design:type", Object)
71
- ], GameOrmEntity.prototype, "statistics", void 0);
72
- __decorate([
73
- (0, typeorm_1.OneToMany)(() => odds_1.OddsOrmEntity, odd => odd.game),
74
- __metadata("design:type", Object)
75
- ], GameOrmEntity.prototype, "odds", void 0);
76
- exports.GameOrmEntity = GameOrmEntity = __decorate([
77
- (0, typeorm_1.Entity)({ name: 'games' })
78
- ], GameOrmEntity);
79
- //# sourceMappingURL=game.orm-entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"game.orm-entity.js","sourceRoot":"","sources":["../../../src/typeorm-entities/game/game.orm-entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAiG;AACjG,8CAAmD;AACnD,kCAAuC;AAGhC,IAAM,aAAa,GAAnB,MAAM,aAAa;CA2CzB,CAAA;AA3CY,sCAAa;AAExB;IADC,IAAA,gCAAs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AI,EAAE,OAAO,EAAE,CAAC;GACb,aAAa,CA2CzB"}
@@ -1,3 +0,0 @@
1
- export { GameOrmEntity } from './game.orm-entity';
2
- export { GameState } from './types/game.types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typeorm-entities/game/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GameState = exports.GameOrmEntity = void 0;
4
- var game_orm_entity_1 = require("./game.orm-entity");
5
- Object.defineProperty(exports, "GameOrmEntity", { enumerable: true, get: function () { return game_orm_entity_1.GameOrmEntity; } });
6
- var game_types_1 = require("./types/game.types");
7
- Object.defineProperty(exports, "GameState", { enumerable: true, get: function () { return game_types_1.GameState; } });
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/typeorm-entities/game/index.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAAxC,gHAAA,aAAa,OAAA;AACtB,iDAA8C;AAArC,uGAAA,SAAS,OAAA"}