@next-core/brick-utils 2.49.0 → 2.50.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.
|
@@ -1,17 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
type: string;
|
|
4
|
-
defaultValue?: unknown;
|
|
5
|
-
}
|
|
6
|
-
export declare type DeclareParams = Record<string, SnippetParamField>;
|
|
7
|
-
export declare type RuntimeSnipeConf = BrickConf & {
|
|
8
|
-
data: ContextConf[];
|
|
9
|
-
params: DeclareParams;
|
|
10
|
-
};
|
|
11
|
-
interface RuntimeContext {
|
|
12
|
-
rootType?: string;
|
|
13
|
-
inputParams?: Record<string, unknown>;
|
|
14
|
-
declareParams?: DeclareParams;
|
|
15
|
-
}
|
|
16
|
-
export declare function snippetEvaluate(brickConf: RuntimeSnipeConf, context: RuntimeContext): unknown;
|
|
17
|
-
export {};
|
|
1
|
+
import { RuntimeSnippet, SnippetContext } from "@next-core/brick-types";
|
|
2
|
+
export declare function snippetEvaluate(brickConf: RuntimeSnippet, context: SnippetContext): unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/brick-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.50.0",
|
|
4
4
|
"description": "Pure utility functions for kernel",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/brick-utils",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@next-core/brick-types": "^2.
|
|
33
|
-
"@next-core/cook": "^1.9.
|
|
34
|
-
"@next-core/storyboard": "^0.5.
|
|
32
|
+
"@next-core/brick-types": "^2.87.0",
|
|
33
|
+
"@next-core/cook": "^1.9.1",
|
|
34
|
+
"@next-core/storyboard": "^0.5.3",
|
|
35
35
|
"file-saver": "^2.0.5",
|
|
36
36
|
"path-to-regexp": "^6.2.1"
|
|
37
37
|
},
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"lodash": "*",
|
|
49
49
|
"moment": "*"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "0e7ecc26dd4927cbfdd41354ee664ea4f1ccc21a"
|
|
52
52
|
}
|