adminforth 1.3.54-next.4 → 1.3.54-next.5

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.
@@ -273,7 +273,7 @@ class ClickhouseConnector extends AdminForthBaseConnector implements IAdminForth
273
273
  query_params: d,
274
274
  });
275
275
  const countResp = await countQ.json()
276
- return countResp[0]['count'];
276
+ return +countResp[0]['count'];
277
277
  }
278
278
 
279
279
  async getMinMaxForColumnsWithOriginalTypes({ resource, columns }: { resource: AdminForthResource, columns: AdminForthResourceColumn[] }): Promise<{ [key: string]: { min: any, max: any } }> {
@@ -252,7 +252,7 @@ class ClickhouseConnector extends AdminForthBaseConnector {
252
252
  query_params: d,
253
253
  });
254
254
  const countResp = yield countQ.json();
255
- return countResp[0]['count'];
255
+ return +countResp[0]['count'];
256
256
  });
257
257
  }
258
258
  getMinMaxForColumnsWithOriginalTypes(_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.3.54-next.4",
3
+ "version": "1.3.54-next.5",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",