@done-coding/admin-core 0.4.0 → 0.5.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@done-coding/admin-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "后台管理核心",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "lib/index.cjs",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"node": ">=18.0.0",
|
|
79
79
|
"pnpm": ">=9.0.0"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "1ffefdc1769cd4ce7695d74379e56139e30e1558"
|
|
82
82
|
}
|
|
@@ -75,9 +75,9 @@ SV extends PK extends keyof SO ? SO[PK] : PV = PK extends keyof SO ? SO[PK] : PV
|
|
|
75
75
|
/** 表单初始值 */
|
|
76
76
|
init?: (() => PV) | PV;
|
|
77
77
|
/** 表单回显解析处理 */
|
|
78
|
-
parse?: (value: any, parseData: Partial<PO>, originData: ExtractFormStringifyFromObject<PO, SO>) => PV |
|
|
78
|
+
parse?: (value: any, parseData: Partial<PO>, originData: ExtractFormStringifyFromObject<PO, SO>) => PV | void;
|
|
79
79
|
/** 表单序列化处理 */
|
|
80
|
-
stringify?: (value: any, stringifyData: Partial<ExtractFormStringifyFromObject<PO, SO>>, originData: PO) => SV |
|
|
80
|
+
stringify?: (value: any, stringifyData: Partial<ExtractFormStringifyFromObject<PO, SO>>, originData: PO) => SV | void;
|
|
81
81
|
/**
|
|
82
82
|
* 是否在初始化数据、解析数据、序列化数据时忽略处理
|
|
83
83
|
*/
|
|
@@ -46,3 +46,5 @@ export type AppApiListPageParamsKey = typeof APP_API_LIST_MODEL_KEY_CONFIG.PAGE_
|
|
|
46
46
|
export type AppApiListNoPageParamsKey = Exclude<string, AppApiListPageParamsKey>;
|
|
47
47
|
/** 应用接口列表请求参数模型 */
|
|
48
48
|
export type AppApiListParamsModel<P extends Record<AppApiListNoPageParamsKey, any> = Record<AppApiListNoPageParamsKey, any>> = BuildListParams<typeof APP_API_LIST_MODEL_KEY_CONFIG, Partial<P>>;
|
|
49
|
+
/** 应用接口列表请求参数模型(排除分页参数) */
|
|
50
|
+
export type AppApiListParamsNoPageParams<P extends BuildListParams<typeof APP_API_LIST_MODEL_KEY_CONFIG>> = Omit<AppApiListParamsModel<P>, keyof UnionToIntersection<DotToObject<(typeof APP_API_LIST_MODEL_KEY_CONFIG)["CURRENT_PAGE_KEY"], number> | DotToObject<(typeof APP_API_LIST_MODEL_KEY_CONFIG)["PAGE_SIZE_KEY"], number>>>;
|