@egdata/core.schemas.collections
Advanced tools
Comparing version 2.0.1 to 2.0.2
import mongoose from 'mongoose'; | ||
const GamePositionSchema = new mongoose.Schema({ | ||
_id: { | ||
collectionId: { | ||
type: String, | ||
required: true, | ||
index: true, | ||
}, | ||
collectionId: { | ||
offerId: { | ||
type: String, | ||
@@ -10,0 +11,0 @@ required: true, |
import mongoose from 'mongoose'; | ||
declare const GamePositionSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, { | ||
_id: string; | ||
collectionId: string; | ||
offerId: string; | ||
position: number; | ||
@@ -25,4 +25,4 @@ timesInTop1: number; | ||
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{ | ||
_id: string; | ||
collectionId: string; | ||
offerId: string; | ||
position: number; | ||
@@ -48,4 +48,4 @@ timesInTop1: number; | ||
}>> & mongoose.FlatRecord<{ | ||
_id: string; | ||
collectionId: string; | ||
offerId: string; | ||
position: number; | ||
@@ -70,5 +70,5 @@ timesInTop1: number; | ||
lastUpdated: NativeDate; | ||
}> & Required<{ | ||
_id: string; | ||
}> & { | ||
_id: mongoose.Types.ObjectId; | ||
} & { | ||
__v: number; | ||
@@ -100,4 +100,4 @@ }>; | ||
export declare const GamePosition: mongoose.Model<{ | ||
_id: string; | ||
collectionId: string; | ||
offerId: string; | ||
position: number; | ||
@@ -123,4 +123,4 @@ timesInTop1: number; | ||
}, {}, {}, {}, mongoose.Document<unknown, {}, { | ||
_id: string; | ||
collectionId: string; | ||
offerId: string; | ||
position: number; | ||
@@ -146,4 +146,4 @@ timesInTop1: number; | ||
}> & { | ||
_id: string; | ||
collectionId: string; | ||
offerId: string; | ||
position: number; | ||
@@ -168,9 +168,9 @@ timesInTop1: number; | ||
lastUpdated: NativeDate; | ||
} & Required<{ | ||
_id: string; | ||
}> & { | ||
} & { | ||
_id: mongoose.Types.ObjectId; | ||
} & { | ||
__v: number; | ||
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, { | ||
_id: string; | ||
collectionId: string; | ||
offerId: string; | ||
position: number; | ||
@@ -196,4 +196,4 @@ timesInTop1: number; | ||
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{ | ||
_id: string; | ||
collectionId: string; | ||
offerId: string; | ||
position: number; | ||
@@ -219,4 +219,4 @@ timesInTop1: number; | ||
}>> & mongoose.FlatRecord<{ | ||
_id: string; | ||
collectionId: string; | ||
offerId: string; | ||
position: number; | ||
@@ -241,5 +241,5 @@ timesInTop1: number; | ||
lastUpdated: NativeDate; | ||
}> & Required<{ | ||
_id: string; | ||
}> & { | ||
_id: mongoose.Types.ObjectId; | ||
} & { | ||
__v: number; | ||
@@ -246,0 +246,0 @@ }>>; |
import mongoose from 'mongoose'; | ||
const GamePositionSchema = new mongoose.Schema({ | ||
_id: { | ||
collectionId: { | ||
type: String, | ||
required: true, | ||
index: true, | ||
}, | ||
collectionId: { | ||
offerId: { | ||
type: String, | ||
@@ -9,0 +10,0 @@ required: true, |
{ | ||
"name": "@egdata/core.schemas.collections", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"homepage": "https://bit.cloud/egdata/core/schemas/collections", | ||
@@ -9,3 +9,3 @@ "main": "dist/index.js", | ||
"name": "schemas/collections", | ||
"version": "2.0.1" | ||
"version": "2.0.2" | ||
}, | ||
@@ -12,0 +12,0 @@ "dependencies": {}, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16336
564
0