biz9-logic 3.5.15 → 3.5.16

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 -0
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='3.6.5'
1
+ VERSION='3.6.6'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -24,6 +24,7 @@ class DataType {
24
24
  static DT_BLOG_POST='blog_post_biz';
25
25
  static DT_CART_ITEM="cart_item_biz";
26
26
  static DT_CATEGORY='category_biz';
27
+ static DT_CONTENT='content_biz';
27
28
  static DT_EVENT='event_biz';
28
29
  static DT_GALLERY='gallery_biz';
29
30
  static DT_ITEM_MAP='item_map_biz';
@@ -77,6 +78,10 @@ class Url {
77
78
  let action_url= "main/test/connect/";
78
79
  return get_cloud_url_main(biz9_config.APP_TITLE_ID,biz9_config.URL,action_url,null);
79
80
  };
81
+ static upload_file = (biz9_config,data_type,id) => {
82
+ let action_url= "main/crud/update/"+data_type + "/" + id;
83
+ return get_cloud_url_main(biz9_config.APP_TITLE_ID,biz9_config.URL,action_url,null);
84
+ };
80
85
  static update_item = (biz9_config,data_type,id) => {
81
86
  let action_url= "main/crud/update/"+data_type + "/" + id;
82
87
  return get_cloud_url_main(biz9_config.APP_TITLE_ID,biz9_config.URL,action_url,null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "3.5.15",
3
+ "version": "3.5.16",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"