biz9-logic 4.8.67 → 4.8.70

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 +8 -8
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='5.4.7'
1
+ VERSION='5.5.0'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -616,6 +616,11 @@ class FieldType {
616
616
  static STAT_VIEW_ID='1';
617
617
  static STAT_LIKE_ID='2';
618
618
  static STAT_POST_ID='3';
619
+ static KEY_ADMIN="key_admin";
620
+ static KEY_USER="key_user";
621
+ static KEY_BUSINESS="key_business";
622
+ static KEY_GUEST="key_guest";
623
+ static KEY_APP_ID="key_app_id";
619
624
  }
620
625
  class Social {
621
626
  static FACEBOOK_URL="https://facebook.com/";
@@ -1131,8 +1136,8 @@ class Url{
1131
1136
  let action_url= "main/crud/get/"+data_type + "/" + key;
1132
1137
  return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,null);
1133
1138
  };
1134
- static get_item_parent_top = (biz9_config,data_type,id,parent_data_type,parent_id,top_data_type,top_id) => {
1135
- let action_url = "main/crud/get_item_parent_top/"+data_type+"/"+id+"/"+parent_data_type+ "/"+parent_id+"/"+top_data_type+ "/"+top_id;
1139
+ static get_parent_top = (biz9_config,data_type,id,parent_data_type,parent_id,top_data_type,top_id) => {
1140
+ let action_url = "main/crud/get_parent_top/"+data_type+"/"+id+"/"+parent_data_type+ "/"+parent_id+"/"+top_data_type+ "/"+top_id;
1136
1141
  return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,null);
1137
1142
  };
1138
1143
  static search = (biz9_config,data_type) => {
@@ -1462,12 +1467,7 @@ class Schedule {
1462
1467
  }
1463
1468
  };
1464
1469
  class Storage {
1465
- static KEY_ADMIN="key_admin";
1466
- static KEY_USER="key_user";
1467
- static KEY_BUSINESS="key_business";
1468
- static KEY_GUEST="key_guest";
1469
- static KEY_APP_ID="key_app_id";
1470
- static get = (window,key) => {
1470
+ static get = (window,key) => {
1471
1471
  return JSON.parse(window.localStorage.getItem(key));
1472
1472
  }
1473
1473
  static set = (window,key,obj) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.67",
3
+ "version": "4.8.70",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"