@go-wind/admin-core 0.1.0 → 0.1.1
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/dist/admin-core.js +68 -69
- package/dist/admin-core.js.map +1 -1
- package/dist/utils/date.d.ts +2 -2
- package/package.json +1 -1
package/dist/utils/date.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import dayjs from "dayjs";
|
|
2
2
|
declare const dateUtil: typeof dayjs;
|
|
3
3
|
export { dateUtil };
|
|
4
|
-
export declare function formatDate(time: number | string, format?: string): string
|
|
5
|
-
export declare function formatDateTime(time: number | string): string
|
|
4
|
+
export declare function formatDate(time: number | string | Date, format?: string): string;
|
|
5
|
+
export declare function formatDateTime(time: number | string | Date): string;
|
|
6
6
|
export declare function isDate(value: any): value is Date;
|
|
7
7
|
export declare function isDayjsObject(value: any): value is dayjs.Dayjs;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@go-wind/admin-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Framework-agnostic admin mechanism layer extracted from go-wind-admin: axios transport (token rotation with 401 refresh queue, captcha headers, pagination query), SSE client, storage manager, and generic utils with parameterized crypto. Shared truth for admin-react / admin-element / vue hosts.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|