@knotx/decorators 0.4.4 → 0.4.6
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 +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IRecord, BasePlugin,
|
|
1
|
+
import { IRecord, BasePlugin, IPlugin, EdgeOperatorFunction, EdgeOperationPipe, EdgeRenderType, EdgeConfig, Engine, PluginData, Layer, Position, Container, NodeOperatorFunction, NodeOperationPipe, NodeRenderType, PluginTools } from '@knotx/core';
|
|
2
2
|
import { Schema } from 'jsonschema';
|
|
3
3
|
|
|
4
|
-
interface IInternalPlugin<TPluginName extends string = string
|
|
4
|
+
interface IInternalPlugin<TPluginName extends string = string> extends IPlugin<TPluginName, any> {
|
|
5
5
|
}
|
|
6
6
|
type CMDC<TK extends string, TM extends (...args: any[]) => any, TN extends string = string, TC extends IRecord | undefined = any> = ClassMethodDecoratorContext<{
|
|
7
7
|
[key in TK]: TM;
|
|
8
|
-
} & BasePlugin<TN, TC
|
|
8
|
+
} & BasePlugin<TN, TC> & IPlugin<TN, TC>, TM> & {
|
|
9
9
|
name: TK;
|
|
10
10
|
};
|
|
11
11
|
type CFDC<TK extends string, TV, TN extends string = string, TC extends IRecord | undefined = any> = ClassFieldDecoratorContext<{
|
|
12
12
|
[key in TK]: TV;
|
|
13
|
-
} & BasePlugin<TN, TC
|
|
13
|
+
} & BasePlugin<TN, TC> & IPlugin<TN, TC>, TV> & {
|
|
14
14
|
name: TK;
|
|
15
15
|
};
|
|
16
16
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IRecord, BasePlugin,
|
|
1
|
+
import { IRecord, BasePlugin, IPlugin, EdgeOperatorFunction, EdgeOperationPipe, EdgeRenderType, EdgeConfig, Engine, PluginData, Layer, Position, Container, NodeOperatorFunction, NodeOperationPipe, NodeRenderType, PluginTools } from '@knotx/core';
|
|
2
2
|
import { Schema } from 'jsonschema';
|
|
3
3
|
|
|
4
|
-
interface IInternalPlugin<TPluginName extends string = string
|
|
4
|
+
interface IInternalPlugin<TPluginName extends string = string> extends IPlugin<TPluginName, any> {
|
|
5
5
|
}
|
|
6
6
|
type CMDC<TK extends string, TM extends (...args: any[]) => any, TN extends string = string, TC extends IRecord | undefined = any> = ClassMethodDecoratorContext<{
|
|
7
7
|
[key in TK]: TM;
|
|
8
|
-
} & BasePlugin<TN, TC
|
|
8
|
+
} & BasePlugin<TN, TC> & IPlugin<TN, TC>, TM> & {
|
|
9
9
|
name: TK;
|
|
10
10
|
};
|
|
11
11
|
type CFDC<TK extends string, TV, TN extends string = string, TC extends IRecord | undefined = any> = ClassFieldDecoratorContext<{
|
|
12
12
|
[key in TK]: TV;
|
|
13
|
-
} & BasePlugin<TN, TC
|
|
13
|
+
} & BasePlugin<TN, TC> & IPlugin<TN, TC>, TV> & {
|
|
14
14
|
name: TK;
|
|
15
15
|
};
|
|
16
16
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IRecord, BasePlugin,
|
|
1
|
+
import { IRecord, BasePlugin, IPlugin, EdgeOperatorFunction, EdgeOperationPipe, EdgeRenderType, EdgeConfig, Engine, PluginData, Layer, Position, Container, NodeOperatorFunction, NodeOperationPipe, NodeRenderType, PluginTools } from '@knotx/core';
|
|
2
2
|
import { Schema } from 'jsonschema';
|
|
3
3
|
|
|
4
|
-
interface IInternalPlugin<TPluginName extends string = string
|
|
4
|
+
interface IInternalPlugin<TPluginName extends string = string> extends IPlugin<TPluginName, any> {
|
|
5
5
|
}
|
|
6
6
|
type CMDC<TK extends string, TM extends (...args: any[]) => any, TN extends string = string, TC extends IRecord | undefined = any> = ClassMethodDecoratorContext<{
|
|
7
7
|
[key in TK]: TM;
|
|
8
|
-
} & BasePlugin<TN, TC
|
|
8
|
+
} & BasePlugin<TN, TC> & IPlugin<TN, TC>, TM> & {
|
|
9
9
|
name: TK;
|
|
10
10
|
};
|
|
11
11
|
type CFDC<TK extends string, TV, TN extends string = string, TC extends IRecord | undefined = any> = ClassFieldDecoratorContext<{
|
|
12
12
|
[key in TK]: TV;
|
|
13
|
-
} & BasePlugin<TN, TC
|
|
13
|
+
} & BasePlugin<TN, TC> & IPlugin<TN, TC>, TV> & {
|
|
14
14
|
name: TK;
|
|
15
15
|
};
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knotx/decorators",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
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.4.
|
|
31
|
+
"@knotx/jsx": "0.4.6"
|
|
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.4.
|
|
37
|
+
"@knotx/core": "0.4.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/lodash-es": "^4.14.12",
|
|
41
|
-
"@knotx/build-config": "0.4.
|
|
42
|
-
"@knotx/eslint-config": "0.4.
|
|
43
|
-
"@knotx/jsx": "0.4.
|
|
44
|
-
"@knotx/typescript-config": "0.4.
|
|
41
|
+
"@knotx/build-config": "0.4.6",
|
|
42
|
+
"@knotx/eslint-config": "0.4.6",
|
|
43
|
+
"@knotx/jsx": "0.4.6",
|
|
44
|
+
"@knotx/typescript-config": "0.4.6"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "unbuild",
|