biz9-logic 3.5.16 → 3.5.17

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 +13 -4
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='3.6.6'
1
+ VERSION='3.6.7'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -134,10 +134,13 @@ class Cat {
134
134
  };
135
135
  static get_category_drop_down_list = () => {
136
136
  return [
137
- { value: "blog_post_biz", label: "Blog Posts" },
138
- { value: "event_biz", label: "Events" },
139
- { value: "gallery_biz", label: "Galleries" },
140
- { value: "product_biz", label: "Products" }
137
+ { value: DataType.BLOG_POST, label: "Blog Posts" },
138
+ { value: DataType.DT_CONTENT, label: "Content" }
139
+ { value: DataType.DT_EVENT, label: "Events" },
140
+ { value: DataType.DT_GALLERY, label: "Galleries" },
141
+ { value: DataType.DT_SERVICE, label: "Services" }
142
+ { value: DataType.DT_PRODUCT, label: "Products" }
143
+ { value: DataType.DT_TEMPLATE, label: "Template" }
141
144
  ];
142
145
  };
143
146
  static get_title_by_type = (data_type) => {
@@ -169,6 +172,12 @@ class Cat {
169
172
  case DataType.DT_BLOG_POST:
170
173
  return "Blog Post";
171
174
  break;
175
+ case DataType.DT_TEMPLATE:
176
+ return "Template";
177
+ break;
178
+ case DataType.DT_CONTENT:
179
+ return "Content";
180
+ break;
172
181
  default:
173
182
  return "Blank";
174
183
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "3.5.16",
3
+ "version": "3.5.17",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"