@bets-pf/shared-typeorm-models 1.4.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/typeorm-entities/statistics/statistics-snapshot.orm-entity.d.ts +1 -1
- package/dist/typeorm-entities/statistics/statistics-snapshot.orm-entity.d.ts.map +1 -1
- package/dist/typeorm-entities/statistics/statistics-snapshot.orm-entity.js +3 -3
- package/dist/typeorm-entities/statistics/statistics-snapshot.orm-entity.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { StatItem } from './types/statistics.types';
|
|
|
2
2
|
import { StatisticsOrmEntity } from './statistics.orm-entity';
|
|
3
3
|
export declare class StatisticsSnapshotOrmEntity {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
5
|
+
gameId: string;
|
|
6
6
|
time: number;
|
|
7
7
|
stats: StatItem;
|
|
8
8
|
statistics: StatisticsOrmEntity;
|
|
@@ -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,
|
|
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,EAAE,mBAAmB,CAAA;CAChC"}
|
|
@@ -20,10 +20,10 @@ __decorate([
|
|
|
20
20
|
__metadata("design:type", String)
|
|
21
21
|
], StatisticsSnapshotOrmEntity.prototype, "id", void 0);
|
|
22
22
|
__decorate([
|
|
23
|
-
(0, typeorm_1.Column)({ name: '
|
|
23
|
+
(0, typeorm_1.Column)({ name: 'game_id', type: 'uuid' }),
|
|
24
24
|
(0, typeorm_1.Index)(),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
|
-
], StatisticsSnapshotOrmEntity.prototype, "
|
|
26
|
+
], StatisticsSnapshotOrmEntity.prototype, "gameId", void 0);
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, typeorm_1.Column)(),
|
|
29
29
|
__metadata("design:type", Number)
|
|
@@ -34,7 +34,7 @@ __decorate([
|
|
|
34
34
|
], StatisticsSnapshotOrmEntity.prototype, "stats", void 0);
|
|
35
35
|
__decorate([
|
|
36
36
|
(0, typeorm_1.ManyToOne)(() => statistics_orm_entity_1.StatisticsOrmEntity, stats => stats.snapshots, { onDelete: 'CASCADE' }),
|
|
37
|
-
(0, typeorm_1.JoinColumn)({ name: '
|
|
37
|
+
(0, typeorm_1.JoinColumn)({ name: 'game_id', referencedColumnName: 'gameId' }),
|
|
38
38
|
__metadata("design:type", statistics_orm_entity_1.StatisticsOrmEntity)
|
|
39
39
|
], StatisticsSnapshotOrmEntity.prototype, "statistics", void 0);
|
|
40
40
|
exports.StatisticsSnapshotOrmEntity = StatisticsSnapshotOrmEntity = __decorate([
|
|
@@ -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,
|
|
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;8BACpD,2CAAmB;+DAAA;sCAhBpB,2BAA2B;IAFvC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC;IACxC,IAAA,gBAAM,EAAC,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;GACpB,2BAA2B,CAiBvC"}
|