@byted-apaas/server-sdk-node 1.1.14 → 1.1.15-beta.10

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.
@@ -63,6 +63,7 @@ function buildCriterion(logic, objectApiName, maxId = -1) {
63
63
  let index = 0;
64
64
  let logics = [];
65
65
  let expressions = [];
66
+ console.log('buildCriterion_log', 0, logic, logic.expressions);
66
67
  // check type of logic
67
68
  function f(logic, value = 'and') {
68
69
  // 1.如果是逻辑表达式
@@ -84,8 +85,10 @@ function buildCriterion(logic, objectApiName, maxId = -1) {
84
85
  // 2.否则是算法表达式
85
86
  let exps = logic;
86
87
  let logs = [];
88
+ console.log('buildCriterion_log', 111, exps);
87
89
  for (let left of Object.keys(exps)) {
88
90
  let right = logic[left];
91
+ console.log('buildCriterion_log', 222, JSON.stringify(right), right instanceof Condition);
89
92
  let copy = right;
90
93
  if (server_common_node_1.utils.isObject(right) && !(right instanceof Condition) && !isKunlunTypeOrSerializedObject(right)) {
91
94
  for (let leftInner of Object.keys(right)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byted-apaas/server-sdk-node",
3
- "version": "1.1.14",
3
+ "version": "1.1.15-beta.10",
4
4
  "description": "aPaaS Server SDK",
5
5
  "author": "zhouwexin <zhouwexin@bytedance.com>",
6
6
  "homepage": "",
@@ -13,7 +13,7 @@
13
13
  "clean": "tsc --build --clean && rm -rf **/*.js.map"
14
14
  },
15
15
  "dependencies": {
16
- "@byted-apaas/server-common-node": "^2.0.2",
16
+ "@byted-apaas/server-common-node": "^2.0.4",
17
17
  "@jorgeferrero/stream-to-buffer": "^2.0.6",
18
18
  "dayjs": "^1.9.6",
19
19
  "form-data": "^3.0.0",
@@ -609,7 +609,7 @@ async function getGlobalConfigByKey(key) {
609
609
  'biz_type': 'GlobalVariables',
610
610
  'used_by': 'UsedBySystem',
611
611
  'filter': {
612
- 'offset': offset * i,
612
+ 'offset': pageSize * i,
613
613
  'limit': pageSize,
614
614
  },
615
615
  };