biz9-logic 3.2.18 → 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 +8 -0
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='3.4.5'
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
@@ -125,6 +125,14 @@ class Obj {
125
125
  }
126
126
  };
127
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:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "3.2.18",
3
+ "version": "3.2.19",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"