@freelog/tools-lib 0.1.87 → 0.1.88
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/tools-lib.cjs.development.js +79 -71
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +79 -71
- package/dist/tools-lib.esm.js.map +1 -1
- package/dist/utils/linkTo.d.ts +3 -0
- package/package.json +1 -1
- package/src/utils/linkTo.ts +9 -1
package/dist/utils/linkTo.d.ts
CHANGED
|
@@ -18,6 +18,9 @@ export declare function dashboard({}?: DashboardParamsType): string;
|
|
|
18
18
|
interface MarketParamsType {
|
|
19
19
|
}
|
|
20
20
|
export declare function market({}?: MarketParamsType): TReturnType;
|
|
21
|
+
interface ExampleNodesParamsType {
|
|
22
|
+
}
|
|
23
|
+
export declare function exampleNodes({}?: ExampleNodesParamsType): TReturnType;
|
|
21
24
|
interface ResourceDetailsParamsType {
|
|
22
25
|
resourceID: string;
|
|
23
26
|
version?: string;
|
package/package.json
CHANGED
package/src/utils/linkTo.ts
CHANGED
|
@@ -42,7 +42,7 @@ export function dashboard({}: DashboardParamsType = {}) {
|
|
|
42
42
|
return `/dashboard`;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
//
|
|
45
|
+
// 资源市场
|
|
46
46
|
interface MarketParamsType {
|
|
47
47
|
// nodeID: number;
|
|
48
48
|
}
|
|
@@ -51,6 +51,14 @@ export function market({}: MarketParamsType = {}): TReturnType {
|
|
|
51
51
|
return `/market`;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
// 示例节点
|
|
55
|
+
interface ExampleNodesParamsType {
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function exampleNodes({}: ExampleNodesParamsType = {}): TReturnType {
|
|
59
|
+
return `/market`;
|
|
60
|
+
}
|
|
61
|
+
|
|
54
62
|
// 资源详情
|
|
55
63
|
interface ResourceDetailsParamsType {
|
|
56
64
|
resourceID: string;
|