@egdata/core.schemas.collections
Advanced tools
Comparing version 1.1.6 to 1.2.0
@@ -0,0 +0,0 @@ import mongoose from 'mongoose'; |
@@ -34,8 +34,10 @@ import mongoose from 'mongoose'; | ||
_id: string; | ||
}>>; | ||
}> & { | ||
__v: number; | ||
}>; | ||
export declare const CollectionOffer: mongoose.Model<{ | ||
_id: string; | ||
name: string; | ||
addedAt: Date; | ||
updatedAt: Date; | ||
addedAt: NativeDate; | ||
updatedAt: NativeDate; | ||
offers: mongoose.Types.DocumentArray<{ | ||
@@ -51,2 +53,22 @@ _id: string; | ||
previous?: number | null | undefined; | ||
}, mongoose.Types.Subdocument<string, any, { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}> & { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}>; | ||
@@ -56,4 +78,4 @@ }, {}, {}, {}, mongoose.Document<unknown, {}, { | ||
name: string; | ||
addedAt: Date; | ||
updatedAt: Date; | ||
addedAt: NativeDate; | ||
updatedAt: NativeDate; | ||
offers: mongoose.Types.DocumentArray<{ | ||
@@ -69,2 +91,22 @@ _id: string; | ||
previous?: number | null | undefined; | ||
}, mongoose.Types.Subdocument<string, any, { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}> & { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}>; | ||
@@ -74,4 +116,4 @@ }> & { | ||
name: string; | ||
addedAt: Date; | ||
updatedAt: Date; | ||
addedAt: NativeDate; | ||
updatedAt: NativeDate; | ||
offers: mongoose.Types.DocumentArray<{ | ||
@@ -87,10 +129,32 @@ _id: string; | ||
previous?: number | null | undefined; | ||
}, mongoose.Types.Subdocument<string, any, { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}> & { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}>; | ||
} & Required<{ | ||
_id: string; | ||
}>, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, { | ||
}> & { | ||
__v: number; | ||
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, { | ||
_id: string; | ||
name: string; | ||
addedAt: Date; | ||
updatedAt: Date; | ||
addedAt: NativeDate; | ||
updatedAt: NativeDate; | ||
offers: mongoose.Types.DocumentArray<{ | ||
@@ -106,2 +170,22 @@ _id: string; | ||
previous?: number | null | undefined; | ||
}, mongoose.Types.Subdocument<string, any, { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}> & { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}>; | ||
@@ -111,4 +195,4 @@ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{ | ||
name: string; | ||
addedAt: Date; | ||
updatedAt: Date; | ||
addedAt: NativeDate; | ||
updatedAt: NativeDate; | ||
offers: mongoose.Types.DocumentArray<{ | ||
@@ -124,2 +208,22 @@ _id: string; | ||
previous?: number | null | undefined; | ||
}, mongoose.Types.Subdocument<string, any, { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}> & { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}>; | ||
@@ -129,4 +233,4 @@ }>> & mongoose.FlatRecord<{ | ||
name: string; | ||
addedAt: Date; | ||
updatedAt: Date; | ||
addedAt: NativeDate; | ||
updatedAt: NativeDate; | ||
offers: mongoose.Types.DocumentArray<{ | ||
@@ -142,7 +246,29 @@ _id: string; | ||
previous?: number | null | undefined; | ||
}, mongoose.Types.Subdocument<string, any, { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}> & { | ||
_id: string; | ||
position: number; | ||
timesInTop1?: number | null | undefined; | ||
timesInTop5?: number | null | undefined; | ||
timesInTop10?: number | null | undefined; | ||
timesInTop20?: number | null | undefined; | ||
timesInTop50?: number | null | undefined; | ||
timesInTop100?: number | null | undefined; | ||
previous?: number | null | undefined; | ||
}>; | ||
}> & Required<{ | ||
_id: string; | ||
}>>>; | ||
}> & { | ||
__v: number; | ||
}>>; | ||
export type CollectionOfferType = mongoose.InferSchemaType<typeof CollectionOfferSchema>; | ||
export {}; |
export { CollectionOffer } from './collections.js'; | ||
export type { CollectionOfferType } from './collections.js'; |
{ | ||
"name": "@egdata/core.schemas.collections", | ||
"version": "1.1.6", | ||
"version": "1.2.0", | ||
"homepage": "https://bit.cloud/egdata/core/schemas/collections", | ||
@@ -9,10 +9,10 @@ "main": "dist/index.js", | ||
"name": "schemas/collections", | ||
"version": "1.1.6" | ||
"version": "1.2.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@egdata/core.envs.basic-env": "1.1.5" | ||
"@egdata/core.envs.basic-env": "1.2.0" | ||
}, | ||
"peerDependencies": { | ||
"mongoose": "^8.5.2" | ||
"mongoose": "^8.9.2" | ||
}, | ||
@@ -19,0 +19,0 @@ "license": "SEE LICENSE IN UNLICENSED", |
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
17118
493