openxiangda-contracts 2.95.1 → 2.95.3
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/native-compiler/compiler.js +3 -4
- package/dist/native-compiler/compiler.js.map +1 -1
- package/dist/native-compiler/index.cjs +4 -4
- package/dist/native-compiler/index.js +4 -4
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +22 -3
- package/dist/validation.js.map +1 -1
- package/package.json +1 -1
|
@@ -2961,12 +2961,11 @@ function compileAnonymousPublicAccess(config) {
|
|
|
2961
2961
|
maxLimit: Number(query.maxLimit),
|
|
2962
2962
|
...(query.sort
|
|
2963
2963
|
? {
|
|
2964
|
-
|
|
2965
|
-
|
|
2964
|
+
// ORDER BY is a priority sequence, not a field set.
|
|
2965
|
+
sort: query.sort.map((item) => ({
|
|
2966
2966
|
field: item.field,
|
|
2967
2967
|
direction: item.direction,
|
|
2968
|
-
}))
|
|
2969
|
-
.sort((left, right) => compareText(left.field, right.field)),
|
|
2968
|
+
})),
|
|
2970
2969
|
}
|
|
2971
2970
|
: {}),
|
|
2972
2971
|
...(query.parameters
|