@xuda.io/xuda-dbs-plugin-xuda 1.0.68 → 1.0.69

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 +2 -2
  3. package/setup.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-dbs-plugin-xuda",
3
- "version": "1.0.68",
3
+ "version": "1.0.69",
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
@@ -530,7 +530,7 @@ const query_db = async function (e, db, app_id_reference, table_obj) {
530
530
  }
531
531
  }
532
532
 
533
- if (val.filterType === "text") {
533
+ if (val.filterType === "string") {
534
534
  switch (val.type) {
535
535
  case "contains":
536
536
  operator = "$regex";
@@ -1368,7 +1368,7 @@ exports.read = async (params, setup_doc, resolve, reject) => {
1368
1368
  // }
1369
1369
  // }
1370
1370
 
1371
- // if (val.filterType === "text") {
1371
+ // if (val.filterType === "string") {
1372
1372
  // switch (val.type) {
1373
1373
  // case "contains":
1374
1374
  // operator = "$regex";
package/setup.mjs CHANGED
@@ -8,7 +8,7 @@ export function tabs(doc) {
8
8
 
9
9
  fields: {
10
10
  db_connection_string: {
11
- type: "text",
11
+ type: "string",
12
12
  placeholder: "https://john:12345678@db.xuda.io:6984/employees",
13
13
  mandatory: true,
14
14
  label: "Db Connection String",