@knotx/decorators 0.2.12 → 0.2.14
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/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -61,7 +61,7 @@ declare function edgeOperator<K extends string, V extends EdgeOperatorFunction>(
|
|
|
61
61
|
* }
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
declare function edgePipe<K extends string>(): <
|
|
64
|
+
declare function edgePipe<K extends string>(): <V extends (...args: any[]) => EdgeOperationPipe>(_: any, context: CMDC<K, V> | CFDC<K, V>) => void;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* 连线渲染器装饰器
|
|
@@ -369,7 +369,7 @@ declare function nodeOperator<K extends string, V extends NodeOperatorFunction>(
|
|
|
369
369
|
* }
|
|
370
370
|
* ```
|
|
371
371
|
*/
|
|
372
|
-
declare function nodePipe<K extends string>(): <
|
|
372
|
+
declare function nodePipe<K extends string>(): <V extends (...args: any[]) => NodeOperationPipe>(_: any, context: CMDC<K, V> | CFDC<K, V>) => void;
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
375
|
* 节点类型装饰器
|
package/dist/index.d.mts
CHANGED
|
@@ -61,7 +61,7 @@ declare function edgeOperator<K extends string, V extends EdgeOperatorFunction>(
|
|
|
61
61
|
* }
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
declare function edgePipe<K extends string>(): <
|
|
64
|
+
declare function edgePipe<K extends string>(): <V extends (...args: any[]) => EdgeOperationPipe>(_: any, context: CMDC<K, V> | CFDC<K, V>) => void;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* 连线渲染器装饰器
|
|
@@ -369,7 +369,7 @@ declare function nodeOperator<K extends string, V extends NodeOperatorFunction>(
|
|
|
369
369
|
* }
|
|
370
370
|
* ```
|
|
371
371
|
*/
|
|
372
|
-
declare function nodePipe<K extends string>(): <
|
|
372
|
+
declare function nodePipe<K extends string>(): <V extends (...args: any[]) => NodeOperationPipe>(_: any, context: CMDC<K, V> | CFDC<K, V>) => void;
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
375
|
* 节点类型装饰器
|
package/dist/index.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ declare function edgeOperator<K extends string, V extends EdgeOperatorFunction>(
|
|
|
61
61
|
* }
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
declare function edgePipe<K extends string>(): <
|
|
64
|
+
declare function edgePipe<K extends string>(): <V extends (...args: any[]) => EdgeOperationPipe>(_: any, context: CMDC<K, V> | CFDC<K, V>) => void;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* 连线渲染器装饰器
|
|
@@ -369,7 +369,7 @@ declare function nodeOperator<K extends string, V extends NodeOperatorFunction>(
|
|
|
369
369
|
* }
|
|
370
370
|
* ```
|
|
371
371
|
*/
|
|
372
|
-
declare function nodePipe<K extends string>(): <
|
|
372
|
+
declare function nodePipe<K extends string>(): <V extends (...args: any[]) => NodeOperationPipe>(_: any, context: CMDC<K, V> | CFDC<K, V>) => void;
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
375
|
* 节点类型装饰器
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knotx/decorators",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"description": "Decorators for Knotx",
|
|
5
5
|
"author": "boenfu",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
"dist"
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@knotx/jsx": "0.2.
|
|
31
|
+
"@knotx/jsx": "0.2.12"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"jsonschema": "^1.5.0",
|
|
35
35
|
"lodash-es": "^4.17.21",
|
|
36
36
|
"rxjs": "^7.8.1",
|
|
37
|
-
"@knotx/core": "0.2.
|
|
37
|
+
"@knotx/core": "0.2.13"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/lodash-es": "^4.14.12",
|
|
41
|
-
"@knotx/build-config": "0.2.
|
|
42
|
-
"@knotx/eslint-config": "0.2.
|
|
43
|
-
"@knotx/jsx": "0.2.
|
|
44
|
-
"@knotx/typescript-config": "0.2.
|
|
41
|
+
"@knotx/build-config": "0.2.12",
|
|
42
|
+
"@knotx/eslint-config": "0.2.12",
|
|
43
|
+
"@knotx/jsx": "0.2.12",
|
|
44
|
+
"@knotx/typescript-config": "0.2.12"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "unbuild",
|