black-diamond-shared 1.0.59 → 1.0.60

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
@@ -130,10 +130,19 @@ declare const teamSchema: Schema<any, mongoose.Model<any, any, any, any, any, an
130
130
  interface TeamStat extends MongoDocument {
131
131
  prevFixtures: {
132
132
  recent: {
133
- home: string[];
134
- away: string[];
135
- };
136
- all: string[];
133
+ home: {
134
+ type: Schema.Types.ObjectId;
135
+ ref: "Fixture";
136
+ }[];
137
+ away: {
138
+ type: Schema.Types.ObjectId;
139
+ ref: "Fixture";
140
+ }[];
141
+ };
142
+ all: {
143
+ type: Schema.Types.ObjectId;
144
+ ref: "Fixture";
145
+ }[];
137
146
  };
138
147
  team: {
139
148
  id: number;
package/dist/index.d.ts CHANGED
@@ -130,10 +130,19 @@ declare const teamSchema: Schema<any, mongoose.Model<any, any, any, any, any, an
130
130
  interface TeamStat extends MongoDocument {
131
131
  prevFixtures: {
132
132
  recent: {
133
- home: string[];
134
- away: string[];
135
- };
136
- all: string[];
133
+ home: {
134
+ type: Schema.Types.ObjectId;
135
+ ref: "Fixture";
136
+ }[];
137
+ away: {
138
+ type: Schema.Types.ObjectId;
139
+ ref: "Fixture";
140
+ }[];
141
+ };
142
+ all: {
143
+ type: Schema.Types.ObjectId;
144
+ ref: "Fixture";
145
+ }[];
137
146
  };
138
147
  team: {
139
148
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "black-diamond-shared",
3
- "version": "1.0.59",
3
+ "version": "1.0.60",
4
4
  "description": "Shared code between Black Diamond repositories",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",