@xuda.io/xuda-dbs-plugin-xuda 1.0.39 → 1.0.41

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.
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "@xuda.io/xuda-dbs-plugin-xuda",
3
+ "version": "1.0.4",
4
+ "description": "Xuda Database Socket for Xuda's proprietary structure powered by CouchDB",
5
+ "scripts": {
6
+ "pub": "npm version patch --force && npm publish --access public"
7
+ },
8
+ "keywords": [
9
+ "dbs",
10
+ "socket",
11
+ "xuda",
12
+ "plugin"
13
+ ],
14
+ "author": "xuda.io",
15
+ "license": "Proprietary software licenses",
16
+ "svg_icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" width=\"24px\" height=\"24px\" viewBox=\"0 0 256 256\" strokeWidth={1.5} stroke=\"currentColor\" className=\"w-6 h-6\"><path strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125\" /></svg>",
17
+ "dependencies": {
18
+ "nano": "^10.1.0"
19
+ }
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-dbs-plugin-xuda",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
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
@@ -808,6 +808,7 @@ exports.read = async (params, setup_doc, resolve, reject) => {
808
808
  // __.CACHE_QUERY_REQ[app_id_reference][e.table_id][cache_string].doc
809
809
  // );
810
810
  // }
811
+ debugger;
811
812
  try {
812
813
  try {
813
814
  const doc = await db.find(opt);
package/setup.mjs CHANGED
@@ -2,19 +2,11 @@ export function tabs(doc) {
2
2
  return {
3
3
  accounts: {
4
4
  svg_icon:
5
- '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-palette" width="44" height="44" viewBox="0 0 24 24" stroke-width="1.5" stroke="#2c3e50" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"/> <path d="M12 21a9 9 0 1 1 0 -18a9 8 0 0 1 9 8a4.5 4 0 0 1 -4.5 4h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25" /> <circle cx="7.5" cy="10.5" r=".5" fill="currentColor" /> <circle cx="12" cy="7.5" r=".5" fill="currentColor" /> <circle cx="16.5" cy="10.5" r=".5" fill="currentColor" /> </svg>',
5
+ '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-cloud-data-connection" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M5 9.897c0 -1.714 1.46 -3.104 3.26 -3.104c.275 -1.22 1.255 -2.215 2.572 -2.611c1.317 -.397 2.77 -.134 3.811 .69c1.042 .822 1.514 2.08 1.239 3.3h.693a2.42 2.42 0 0 1 2.425 2.414a2.42 2.42 0 0 1 -2.425 2.414h-8.315c-1.8 0 -3.26 -1.39 -3.26 -3.103z"></path> <path d="M12 13v3"></path> <circle cx="12" cy="18" r="2"></circle> <path d="M14 18h7"></path> <path d="M3 18h7"></path> </svg>',
6
6
  text: "Connections",
7
7
  type: "multi",
8
8
 
9
9
  fields: {
10
- db_name: {
11
- type: "text",
12
- placeholder: "My Db",
13
- mandatory: true,
14
- label: "Name",
15
- size: 12,
16
- value: `Main Db`,
17
- },
18
10
  db_connection_string: {
19
11
  type: "text",
20
12
  placeholder: "https://john:12345678@db.xuda.io:6984/employees",