@conboai/app.db.query 0.8.70 → 0.8.71

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.
@@ -131012,9 +131012,12 @@ const Ii = Wl((e) => ({
131012
131012
  getTopOne: async ({ requestBody: t }) => {
131013
131013
  e({ detailsLoading: "pending", error: null });
131014
131014
  try {
131015
- const n = await Bk.top1ControllerGetTop1Batch(t), r = ut.getState().editTabData;
131016
- r("topOne", n.items), e(() => ({
131017
- topOne: n.items,
131015
+ const n = await Bk.top1ControllerGetTop1Batch(t), r = ut.getState().editTabData, o = n.items.map((i) => ({
131016
+ ...i,
131017
+ element_serial_number: i.elementSerialNumber
131018
+ }));
131019
+ r("topOne", o), e(() => ({
131020
+ topOne: o,
131018
131021
  detailsLoading: "done"
131019
131022
  }));
131020
131023
  } catch (n) {
@@ -131299,7 +131302,7 @@ const Ii = Wl((e) => ({
131299
131302
  /* @__PURE__ */ se.jsxs(Wt, { sx: XQe, children: [
131300
131303
  n,
131301
131304
  "/",
131302
- e == null ? void 0 : e.elementSerialNumber
131305
+ e == null ? void 0 : e.element_serial_number
131303
131306
  ] }),
131304
131307
  /* @__PURE__ */ se.jsx(Wt, { sx: JQe, children: t }),
131305
131308
  o && /* @__PURE__ */ se.jsx(Xe, { sx: KQe, children: /* @__PURE__ */ se.jsx(ug, { sx: ZQe, children: i ? /* @__PURE__ */ se.jsx(tHe, {}) : /* @__PURE__ */ se.jsx(eHe, {}) }) })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.8.70",
3
+ "version": "0.8.71",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",