biz9-logic 4.9.25 → 4.9.27

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 +10 -1
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='8.9.5'
1
+ VERSION='8.9.7'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -169,7 +169,7 @@ class Demo_Logic {
169
169
 
170
170
  class Type {
171
171
 
172
- static get_stat_list = () =>{
172
+ static get_stat_type_list = () =>{
173
173
  return [
174
174
  {title:Type.get_title(Type.STAT_VIEW),type:Type.STAT_VIEW,label:Type.get_title(Type.STAT_VIEW),value:Type.STAT_VIEW},
175
175
  {title:Type.get_title(Type.STAT_LOGIN),type:Type.STAT_LOGIN,label:Type.get_title(Type.STAT_LOGIN),value:Type.STAT_LOGIN},
@@ -394,6 +394,15 @@ class Stat_Logic {
394
394
  let action_url="item/search_activity";
395
395
  return get_cloud_url_main(app_id,url,action_url,param);
396
396
  };
397
+ static get_new = (user_id,parent_data_type,parent_id,stat_type,data)=>{
398
+ return {
399
+ user_id:user_id,
400
+ parent_data_type:parent_data_type,
401
+ parent_id:parent_id,
402
+ type:stat_type,
403
+ data:data
404
+ }
405
+ }
397
406
  static get_new_user = (user_id,stat_type,data)=>{
398
407
  return {
399
408
  user_id:user_id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.9.25",
3
+ "version": "4.9.27",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"