@mtgame/core 0.1.73 → 0.1.75

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.
@@ -1547,7 +1547,7 @@
1547
1547
  }
1548
1548
  Object.defineProperty(TournamentSettings.prototype, "genderTitle", {
1549
1549
  get: function () {
1550
- var yearDiff = new Date().getFullYear() - this.birthYearTo;
1550
+ var yearDiff = new Date().getFullYear() - this.birthYearFrom;
1551
1551
  if (this.gender === exports.TournamentGender.male) {
1552
1552
  if (yearDiff < 15) {
1553
1553
  return 'Мальчики';
@@ -9791,12 +9791,14 @@
9791
9791
  sum: 'sum',
9792
9792
  payment_date: 'paymentDate',
9793
9793
  pay_till_date: 'payTillDate',
9794
+ created_at: 'createdAt',
9794
9795
  },
9795
9796
  relation: {
9796
9797
  organization: exports.Organization,
9797
9798
  status: enumField(exports.OrganizationBillStatuses),
9798
9799
  paymentDate: DateTimeField,
9799
9800
  payTillDate: DateTimeField,
9801
+ createdAt: DateTimeField,
9800
9802
  }
9801
9803
  })
9802
9804
  ], exports.OrganizationBill);
@@ -9837,12 +9839,14 @@
9837
9839
  organization_bill: 'organizationBill',
9838
9840
  paid_date: 'paidDate',
9839
9841
  price: 'price',
9842
+ created_at: 'createdAt',
9840
9843
  },
9841
9844
  relation: {
9842
9845
  game: exports.Game,
9843
9846
  organizationBill: exports.OrganizationBill,
9844
9847
  status: enumField(exports.GameBillStatuses),
9845
9848
  paidDate: DateTimeField,
9849
+ createdAt: DateTimeField,
9846
9850
  }
9847
9851
  })
9848
9852
  ], exports.GameBill);