biz9-logic 3.2.16 → 3.2.19

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 +11 -2
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='3.4.3'
1
+ VERSION='3.4.6'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -124,7 +124,15 @@ class Obj {
124
124
  return get_cloud_filter_obj_main(data_type,filter,sort_by,page_current,page_size);
125
125
  }
126
126
  };
127
- class Category {
127
+ class Cat {
128
+ static get_category_label_list = () => {
129
+ return [
130
+ { data_type: "blog_post_biz", label: "Blog Posts" },
131
+ { data_type: "event_biz", label: "Events" },
132
+ { data_type: "gallery_biz", label: "Galleries" },
133
+ { data_type: "product_biz", label: "Products" }
134
+ ];
135
+ };
128
136
  static get_title_by_type = (data_type) => {
129
137
  switch (data_type) {
130
138
  case DataType.DT_EVENT:
@@ -230,5 +238,6 @@ module.exports = {
230
238
  Url,
231
239
  BiZ_Url,
232
240
  Obj,
233
- CMS
241
+ CMS,
242
+ Cat
234
243
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "3.2.16",
3
+ "version": "3.2.19",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"