black-diamond-shared 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1731,6 +1731,81 @@ declare const fixtureSchema: Schema<any, mongoose.Model<any, any, any, any, any,
1731
1731
  __v: number;
1732
1732
  }>;
1733
1733
 
1734
+ declare const betTypes: {
1735
+ homeWin: {
1736
+ name: string;
1737
+ label: string;
1738
+ };
1739
+ awayWin: {
1740
+ name: string;
1741
+ label: string;
1742
+ };
1743
+ draw: {
1744
+ name: string;
1745
+ label: string;
1746
+ };
1747
+ homeDrawDoubleChance: {
1748
+ name: string;
1749
+ label: string;
1750
+ };
1751
+ awayDrawDoubleChance: {
1752
+ name: string;
1753
+ label: string;
1754
+ };
1755
+ homeAwayDoubleChance: {
1756
+ name: string;
1757
+ label: string;
1758
+ };
1759
+ over1_5: {
1760
+ name: string;
1761
+ label: string;
1762
+ };
1763
+ under1_5: {
1764
+ name: string;
1765
+ label: string;
1766
+ };
1767
+ over2_5: {
1768
+ name: string;
1769
+ label: string;
1770
+ };
1771
+ under2_5: {
1772
+ name: string;
1773
+ label: string;
1774
+ };
1775
+ over3_5: {
1776
+ name: string;
1777
+ label: string;
1778
+ };
1779
+ under3_5: {
1780
+ name: string;
1781
+ label: string;
1782
+ };
1783
+ over4_5: {
1784
+ name: string;
1785
+ label: string;
1786
+ };
1787
+ under4_5: {
1788
+ name: string;
1789
+ label: string;
1790
+ };
1791
+ over5_5: {
1792
+ name: string;
1793
+ label: string;
1794
+ };
1795
+ under5_5: {
1796
+ name: string;
1797
+ label: string;
1798
+ };
1799
+ BTTS: {
1800
+ name: string;
1801
+ label: string;
1802
+ };
1803
+ BTNTS: {
1804
+ name: string;
1805
+ label: string;
1806
+ };
1807
+ };
1808
+
1734
1809
  interface Bet extends MongoDocument {
1735
1810
  selections: {
1736
1811
  betName: string;
@@ -1746,6 +1821,7 @@ interface Bet extends MongoDocument {
1746
1821
  settled?: boolean;
1747
1822
  isMatched?: boolean;
1748
1823
  }
1824
+ type BetTypes = keyof typeof betTypes;
1749
1825
 
1750
1826
  declare const betSchema: Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
1751
1827
  timestamps: true;
@@ -1879,4 +1955,4 @@ declare const getMeanModeMedian: (numbers: number[]) => {
1879
1955
  mode: number;
1880
1956
  };
1881
1957
 
1882
- export { API_FOOTBALL_URL_FIXTURES, API_FOOTBALL_URL_LEAGUES, API_FOOTBALL_URL_ODDS, API_FOOTBALL_URL_PREDICTIONS, API_FOOTBALL_URL_STANDINGS, API_FOOTBALL_URL_TEAMS, API_FOOTBALL_URL_TEAM_STATS, type Account, type Bet, type Fixture, LEAGUE_ID_LIST, type League$1 as League, type Team$1 as Team, type TeamStat, accountSchema, betSchema, fixtureSchema, getMeanModeMedian, leagueSchema, teamSchema, teamStatSchema, toPercent, toTwoDecimalPlaces };
1958
+ export { API_FOOTBALL_URL_FIXTURES, API_FOOTBALL_URL_LEAGUES, API_FOOTBALL_URL_ODDS, API_FOOTBALL_URL_PREDICTIONS, API_FOOTBALL_URL_STANDINGS, API_FOOTBALL_URL_TEAMS, API_FOOTBALL_URL_TEAM_STATS, type Account, type Bet, type BetTypes, type Fixture, LEAGUE_ID_LIST, type League$1 as League, type Team$1 as Team, type TeamStat, accountSchema, betSchema, fixtureSchema, getMeanModeMedian, leagueSchema, teamSchema, teamStatSchema, toPercent, toTwoDecimalPlaces };
package/dist/index.d.ts CHANGED
@@ -1731,6 +1731,81 @@ declare const fixtureSchema: Schema<any, mongoose.Model<any, any, any, any, any,
1731
1731
  __v: number;
1732
1732
  }>;
1733
1733
 
1734
+ declare const betTypes: {
1735
+ homeWin: {
1736
+ name: string;
1737
+ label: string;
1738
+ };
1739
+ awayWin: {
1740
+ name: string;
1741
+ label: string;
1742
+ };
1743
+ draw: {
1744
+ name: string;
1745
+ label: string;
1746
+ };
1747
+ homeDrawDoubleChance: {
1748
+ name: string;
1749
+ label: string;
1750
+ };
1751
+ awayDrawDoubleChance: {
1752
+ name: string;
1753
+ label: string;
1754
+ };
1755
+ homeAwayDoubleChance: {
1756
+ name: string;
1757
+ label: string;
1758
+ };
1759
+ over1_5: {
1760
+ name: string;
1761
+ label: string;
1762
+ };
1763
+ under1_5: {
1764
+ name: string;
1765
+ label: string;
1766
+ };
1767
+ over2_5: {
1768
+ name: string;
1769
+ label: string;
1770
+ };
1771
+ under2_5: {
1772
+ name: string;
1773
+ label: string;
1774
+ };
1775
+ over3_5: {
1776
+ name: string;
1777
+ label: string;
1778
+ };
1779
+ under3_5: {
1780
+ name: string;
1781
+ label: string;
1782
+ };
1783
+ over4_5: {
1784
+ name: string;
1785
+ label: string;
1786
+ };
1787
+ under4_5: {
1788
+ name: string;
1789
+ label: string;
1790
+ };
1791
+ over5_5: {
1792
+ name: string;
1793
+ label: string;
1794
+ };
1795
+ under5_5: {
1796
+ name: string;
1797
+ label: string;
1798
+ };
1799
+ BTTS: {
1800
+ name: string;
1801
+ label: string;
1802
+ };
1803
+ BTNTS: {
1804
+ name: string;
1805
+ label: string;
1806
+ };
1807
+ };
1808
+
1734
1809
  interface Bet extends MongoDocument {
1735
1810
  selections: {
1736
1811
  betName: string;
@@ -1746,6 +1821,7 @@ interface Bet extends MongoDocument {
1746
1821
  settled?: boolean;
1747
1822
  isMatched?: boolean;
1748
1823
  }
1824
+ type BetTypes = keyof typeof betTypes;
1749
1825
 
1750
1826
  declare const betSchema: Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
1751
1827
  timestamps: true;
@@ -1879,4 +1955,4 @@ declare const getMeanModeMedian: (numbers: number[]) => {
1879
1955
  mode: number;
1880
1956
  };
1881
1957
 
1882
- export { API_FOOTBALL_URL_FIXTURES, API_FOOTBALL_URL_LEAGUES, API_FOOTBALL_URL_ODDS, API_FOOTBALL_URL_PREDICTIONS, API_FOOTBALL_URL_STANDINGS, API_FOOTBALL_URL_TEAMS, API_FOOTBALL_URL_TEAM_STATS, type Account, type Bet, type Fixture, LEAGUE_ID_LIST, type League$1 as League, type Team$1 as Team, type TeamStat, accountSchema, betSchema, fixtureSchema, getMeanModeMedian, leagueSchema, teamSchema, teamStatSchema, toPercent, toTwoDecimalPlaces };
1958
+ export { API_FOOTBALL_URL_FIXTURES, API_FOOTBALL_URL_LEAGUES, API_FOOTBALL_URL_ODDS, API_FOOTBALL_URL_PREDICTIONS, API_FOOTBALL_URL_STANDINGS, API_FOOTBALL_URL_TEAMS, API_FOOTBALL_URL_TEAM_STATS, type Account, type Bet, type BetTypes, type Fixture, LEAGUE_ID_LIST, type League$1 as League, type Team$1 as Team, type TeamStat, accountSchema, betSchema, fixtureSchema, getMeanModeMedian, leagueSchema, teamSchema, teamStatSchema, toPercent, toTwoDecimalPlaces };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "black-diamond-shared",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Shared code between Black Diamond repositories",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",