biz9-logic 3.2.13 → 3.2.15

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/biz9_config +1 -1
  2. package/index.js +5 -1
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='3.4.0'
1
+ VERSION='3.4.2'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -65,6 +65,10 @@ class BiZ_Url {
65
65
  let action_url= "main/biz_item/get/"+item.data_type + "/" + item.id ;
66
66
  return get_cloud_url_main(biz9_config.APP_TITLE_ID,biz9_config.URL,action_url,null);
67
67
  };
68
+ static delete_item = (biz9_config,item) => {
69
+ let action_url= "main/biz_item/delete/"+item.data_type + "/" + item.id ;
70
+ return get_cloud_url_main(biz9_config.APP_TITLE_ID,biz9_config.URL,action_url,null);
71
+ };
68
72
  static get_full_item = (biz9_config,item,parent_item,top_item) => {
69
73
  let action_url= "main/biz_item/get_full/"+item.data_type + "/" + item.id +"/"+parent_item.data_type + "/" + parent_item.id +"/"+top_item.data_type + "/" + top_item.id;
70
74
  return get_cloud_url_main(biz9_config.APP_TITLE_ID,biz9_config.URL,action_url,null);
@@ -196,7 +200,7 @@ class CMS {
196
200
  if(parms){
197
201
  r_url = r_url + parms;
198
202
  }
199
- return r_url;
203
+ return url+r_url;
200
204
  }
201
205
  }
202
206
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "3.2.13",
3
+ "version": "3.2.15",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"