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.
- package/biz9_config +1 -1
- package/index.js +11 -2
- package/package.json +1 -1
package/biz9_config
CHANGED
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
|
|
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
|
};
|