@xuda.io/xuda-dbs-plugin-xuda 1.0.149 → 1.0.151

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.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/server.js +1 -0
  3. package/studio.mjs +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-dbs-plugin-xuda",
3
- "version": "1.0.149",
3
+ "version": "1.0.151",
4
4
  "description": "Xuda Database Socket for Xuda's proprietary structure powered by CouchDB",
5
5
  "scripts": {
6
6
  "pub": "npm version patch --force && npm publish --access public"
package/server.js CHANGED
@@ -501,6 +501,7 @@ const get_opt = function (e, table_obj) {
501
501
 
502
502
  opt.selector = selector_new;
503
503
  opt.selector["udfData.udffileid"] = e.table_id;
504
+ opt.selector["docType"] = "database";
504
505
  opt.selector.stat = e.archived ? 4 : 3;
505
506
 
506
507
  opt.fields.push("_id");
package/studio.mjs CHANGED
@@ -515,6 +515,7 @@ const get_opt = function (e, table_obj) {
515
515
 
516
516
  opt.selector = selector_new;
517
517
  opt.selector["udfData.udffileid"] = e.table_id;
518
+ opt.selector["docType"] = "database";
518
519
  opt.selector.stat = e.archived ? 4 : 3;
519
520
 
520
521
  opt.fields.push("_id");