biz9-logic 4.8.360 → 4.8.361
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 +6 -14
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -318,8 +318,6 @@ class Type {
|
|
|
318
318
|
case Type.USER_ROLE_MANAGER:
|
|
319
319
|
case Type.USER_ROLE_USER:
|
|
320
320
|
case Type.USER_ROLE_GUEST:
|
|
321
|
-
case DataType.SECTION:
|
|
322
|
-
case DataType.SUB_SECTION:
|
|
323
321
|
case DataType.APP:
|
|
324
322
|
case DataType.BLANK:
|
|
325
323
|
case DataType.BLOG_POST:
|
|
@@ -348,6 +346,7 @@ class Type {
|
|
|
348
346
|
case DataType.SECURITY:
|
|
349
347
|
case DataType.STAT:
|
|
350
348
|
case DataType.TEMPLATE:
|
|
349
|
+
case DataType.TYPE:
|
|
351
350
|
case DataType.USER:
|
|
352
351
|
case DataType.VIDEO:
|
|
353
352
|
r_type = String(Str.get_title(type.replaceAll('_',' ').replaceAll('dt','').replace('biz',''))).trim();
|
|
@@ -1116,13 +1115,13 @@ class Field_Logic {
|
|
|
1116
1115
|
}
|
|
1117
1116
|
class DataType {
|
|
1118
1117
|
|
|
1119
|
-
|
|
1120
|
-
static SUB_SECTION='sub_section';
|
|
1121
|
-
|
|
1122
|
-
static APP='app_biz';
|
|
1118
|
+
static APP='app_biz';
|
|
1123
1119
|
static BLANK='blank_biz';
|
|
1124
1120
|
static BLOG_POST='blog_post_biz';
|
|
1125
1121
|
static CART_ITEM="cart_item_biz";
|
|
1122
|
+
static CART="cart_biz";
|
|
1123
|
+
static CART_ITEM="cart_item_biz";
|
|
1124
|
+
static CART_SUB_ITEM="cart_sub_item_biz";
|
|
1126
1125
|
static CATEGORY='category_biz';
|
|
1127
1126
|
static CUSTOM_FIELD='custom_field_biz';
|
|
1128
1127
|
static CONTENT='content_biz';
|
|
@@ -1130,20 +1129,13 @@ class DataType {
|
|
|
1130
1129
|
static FAQ='faq_biz';
|
|
1131
1130
|
static FAVORITE='favorite_biz';
|
|
1132
1131
|
static GALLERY='gallery_biz';
|
|
1133
|
-
static
|
|
1132
|
+
static IMAGE='image_biz';
|
|
1134
1133
|
static ITEM='item_biz';
|
|
1135
|
-
|
|
1136
|
-
static CART="cart_biz";
|
|
1137
|
-
static CART_ITEM="cart_item_biz";
|
|
1138
|
-
static CART_SUB_ITEM="cart_sub_item_biz";
|
|
1139
|
-
|
|
1140
1134
|
static ORDER="order_biz";
|
|
1141
1135
|
static ORDER_ITEM="order_item_biz";
|
|
1142
1136
|
static ORDER_SUB_ITEM="order_sub_item_biz";
|
|
1143
1137
|
static ORDER_PAYMENT="order_payment_biz";
|
|
1144
|
-
|
|
1145
1138
|
static PRODUCT='product_biz';
|
|
1146
|
-
static IMAGE='image_biz';
|
|
1147
1139
|
static PAGE='page_biz';
|
|
1148
1140
|
static REVIEW='review_biz';
|
|
1149
1141
|
static SERVICE='service_biz';
|