Switch huly core (#10041)

* Switch to huly.core

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>

* Fix build

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>

---------

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-10-07 20:23:46 +05:00
committed by GitHub
parent dd74587eb0
commit 0a682d03e3
840 changed files with 9459 additions and 41815 deletions
+3 -3
View File
@@ -179,7 +179,7 @@ abstract class MongoAdapterBase implements DbAdapter {
const sort: Sort = {}
for (const key in options.sort) {
const order = options.sort[key] === SortingOrder.Ascending ? 1 : -1
sort[key] = order
;(sort as any)[key] = order
}
cursor = cursor.sort(sort)
}
@@ -236,7 +236,7 @@ abstract class MongoAdapterBase implements DbAdapter {
const sort: Sort = {}
for (const key in options.sort) {
const order = options.sort[key] === SortingOrder.Ascending ? 1 : -1
sort[key] = order
;(sort as any)[key] = order
}
cursor = cursor.sort(sort)
}
@@ -1006,7 +1006,7 @@ abstract class MongoAdapterBase implements DbAdapter {
for (const key in options.sort) {
const ckey = this.checkMixinKey<T>(key, _class)
const order = options.sort[key] === SortingOrder.Ascending ? 1 : -1
sort[ckey] = order
;(sort as any)[ckey] = order
count++
}
if (count === 0) {