black-diamond-shared 1.0.22 → 1.0.23
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 +14 -8
- package/dist/index.d.ts +14 -8
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import * as mongoose from 'mongoose';
|
|
2
|
-
import mongoose__default, {
|
|
2
|
+
import mongoose__default, { Schema } from 'mongoose';
|
|
3
3
|
|
|
4
|
-
interface
|
|
4
|
+
interface MongoDocument {
|
|
5
|
+
_id: string;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
updatedAt: Date;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface League$1 extends MongoDocument {
|
|
5
11
|
id: number;
|
|
6
12
|
name?: string;
|
|
7
13
|
logo?: string;
|
|
@@ -59,18 +65,18 @@ interface League$1 extends Document {
|
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
declare const leagueSchema: Schema<League$1, mongoose.Model<League$1, any, any, any, mongoose.Document<unknown, any, League$1> & League$1 & Required<{
|
|
62
|
-
_id:
|
|
68
|
+
_id: string;
|
|
63
69
|
}> & {
|
|
64
70
|
__v: number;
|
|
65
71
|
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, League$1, mongoose.Document<unknown, {}, mongoose.FlatRecord<League$1>> & mongoose.FlatRecord<League$1> & Required<{
|
|
66
|
-
_id:
|
|
72
|
+
_id: string;
|
|
67
73
|
}> & {
|
|
68
74
|
__v: number;
|
|
69
75
|
}>;
|
|
70
76
|
|
|
71
77
|
declare const LEAGUE_ID_LIST: number[];
|
|
72
78
|
|
|
73
|
-
interface Team$1 extends
|
|
79
|
+
interface Team$1 extends MongoDocument {
|
|
74
80
|
id: number;
|
|
75
81
|
name: string;
|
|
76
82
|
logo: string;
|
|
@@ -121,7 +127,7 @@ declare const teamSchema: Schema<any, mongoose.Model<any, any, any, any, any, an
|
|
|
121
127
|
__v: number;
|
|
122
128
|
}>;
|
|
123
129
|
|
|
124
|
-
interface TeamStat extends
|
|
130
|
+
interface TeamStat extends MongoDocument {
|
|
125
131
|
team: {
|
|
126
132
|
id: number;
|
|
127
133
|
name: string;
|
|
@@ -1441,7 +1447,7 @@ interface Odds {
|
|
|
1441
1447
|
};
|
|
1442
1448
|
};
|
|
1443
1449
|
}
|
|
1444
|
-
interface Fixture extends
|
|
1450
|
+
interface Fixture extends MongoDocument {
|
|
1445
1451
|
fixture: FixtureFixture;
|
|
1446
1452
|
league: League;
|
|
1447
1453
|
teams: Teams;
|
|
@@ -1498,7 +1504,7 @@ declare const fixtureSchema: Schema<any, mongoose.Model<any, any, any, any, any,
|
|
|
1498
1504
|
__v: number;
|
|
1499
1505
|
}>;
|
|
1500
1506
|
|
|
1501
|
-
interface Bet extends
|
|
1507
|
+
interface Bet extends MongoDocument {
|
|
1502
1508
|
selections: {
|
|
1503
1509
|
betName: string;
|
|
1504
1510
|
fixture: Schema.Types.ObjectId;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import * as mongoose from 'mongoose';
|
|
2
|
-
import mongoose__default, {
|
|
2
|
+
import mongoose__default, { Schema } from 'mongoose';
|
|
3
3
|
|
|
4
|
-
interface
|
|
4
|
+
interface MongoDocument {
|
|
5
|
+
_id: string;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
updatedAt: Date;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface League$1 extends MongoDocument {
|
|
5
11
|
id: number;
|
|
6
12
|
name?: string;
|
|
7
13
|
logo?: string;
|
|
@@ -59,18 +65,18 @@ interface League$1 extends Document {
|
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
declare const leagueSchema: Schema<League$1, mongoose.Model<League$1, any, any, any, mongoose.Document<unknown, any, League$1> & League$1 & Required<{
|
|
62
|
-
_id:
|
|
68
|
+
_id: string;
|
|
63
69
|
}> & {
|
|
64
70
|
__v: number;
|
|
65
71
|
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, League$1, mongoose.Document<unknown, {}, mongoose.FlatRecord<League$1>> & mongoose.FlatRecord<League$1> & Required<{
|
|
66
|
-
_id:
|
|
72
|
+
_id: string;
|
|
67
73
|
}> & {
|
|
68
74
|
__v: number;
|
|
69
75
|
}>;
|
|
70
76
|
|
|
71
77
|
declare const LEAGUE_ID_LIST: number[];
|
|
72
78
|
|
|
73
|
-
interface Team$1 extends
|
|
79
|
+
interface Team$1 extends MongoDocument {
|
|
74
80
|
id: number;
|
|
75
81
|
name: string;
|
|
76
82
|
logo: string;
|
|
@@ -121,7 +127,7 @@ declare const teamSchema: Schema<any, mongoose.Model<any, any, any, any, any, an
|
|
|
121
127
|
__v: number;
|
|
122
128
|
}>;
|
|
123
129
|
|
|
124
|
-
interface TeamStat extends
|
|
130
|
+
interface TeamStat extends MongoDocument {
|
|
125
131
|
team: {
|
|
126
132
|
id: number;
|
|
127
133
|
name: string;
|
|
@@ -1441,7 +1447,7 @@ interface Odds {
|
|
|
1441
1447
|
};
|
|
1442
1448
|
};
|
|
1443
1449
|
}
|
|
1444
|
-
interface Fixture extends
|
|
1450
|
+
interface Fixture extends MongoDocument {
|
|
1445
1451
|
fixture: FixtureFixture;
|
|
1446
1452
|
league: League;
|
|
1447
1453
|
teams: Teams;
|
|
@@ -1498,7 +1504,7 @@ declare const fixtureSchema: Schema<any, mongoose.Model<any, any, any, any, any,
|
|
|
1498
1504
|
__v: number;
|
|
1499
1505
|
}>;
|
|
1500
1506
|
|
|
1501
|
-
interface Bet extends
|
|
1507
|
+
interface Bet extends MongoDocument {
|
|
1502
1508
|
selections: {
|
|
1503
1509
|
betName: string;
|
|
1504
1510
|
fixture: Schema.Types.ObjectId;
|