@7365admin1/core 3.0.1 → 3.0.2
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/CHANGELOG.md +6 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -22299,7 +22299,7 @@ function useVehicleRepo() {
|
|
|
22299
22299
|
pipeline: [
|
|
22300
22300
|
{
|
|
22301
22301
|
$match: {
|
|
22302
|
-
$expr: { $eq: [
|
|
22302
|
+
$expr: { $eq: ["$_id", "$$blockId"] }
|
|
22303
22303
|
}
|
|
22304
22304
|
},
|
|
22305
22305
|
{ $project: { _id: 1, name: 1, block: 1 } }
|
|
@@ -22315,7 +22315,7 @@ function useVehicleRepo() {
|
|
|
22315
22315
|
pipeline: [
|
|
22316
22316
|
{
|
|
22317
22317
|
$match: {
|
|
22318
|
-
$expr: { $eq: [
|
|
22318
|
+
$expr: { $eq: ["$_id", "$$levelId"] }
|
|
22319
22319
|
}
|
|
22320
22320
|
},
|
|
22321
22321
|
{ $project: { _id: 1, name: 1 } }
|
|
@@ -22327,11 +22327,11 @@ function useVehicleRepo() {
|
|
|
22327
22327
|
{
|
|
22328
22328
|
$lookup: {
|
|
22329
22329
|
from: "building-units",
|
|
22330
|
-
let: { unitId:
|
|
22330
|
+
let: { unitId: "$unit" },
|
|
22331
22331
|
pipeline: [
|
|
22332
22332
|
{
|
|
22333
22333
|
$match: {
|
|
22334
|
-
$expr: { $eq: [
|
|
22334
|
+
$expr: { $eq: ["$_id", "$$unitId"] }
|
|
22335
22335
|
}
|
|
22336
22336
|
},
|
|
22337
22337
|
{ $project: { _id: 1, name: 1 } }
|