@knotx/decorators 0.4.4 → 0.4.5

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 CHANGED
@@ -1,16 +1,16 @@
1
- import { IRecord, BasePlugin, RenderType, IPlugin, EdgeOperatorFunction, EdgeOperationPipe, EdgeRenderType, EdgeConfig, Engine, PluginData, Layer, Position, Container, NodeOperatorFunction, NodeOperationPipe, NodeRenderType, PluginTools } from '@knotx/core';
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, TRenderType extends RenderType = RenderType> extends IPlugin<TPluginName, any, TRenderType> {
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, RenderType> & IPlugin<TN, TC, RenderType>, TM> & {
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, RenderType> & IPlugin<TN, TC, RenderType>, TV> & {
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, RenderType, IPlugin, EdgeOperatorFunction, EdgeOperationPipe, EdgeRenderType, EdgeConfig, Engine, PluginData, Layer, Position, Container, NodeOperatorFunction, NodeOperationPipe, NodeRenderType, PluginTools } from '@knotx/core';
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, TRenderType extends RenderType = RenderType> extends IPlugin<TPluginName, any, TRenderType> {
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, RenderType> & IPlugin<TN, TC, RenderType>, TM> & {
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, RenderType> & IPlugin<TN, TC, RenderType>, TV> & {
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, RenderType, IPlugin, EdgeOperatorFunction, EdgeOperationPipe, EdgeRenderType, EdgeConfig, Engine, PluginData, Layer, Position, Container, NodeOperatorFunction, NodeOperationPipe, NodeRenderType, PluginTools } from '@knotx/core';
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, TRenderType extends RenderType = RenderType> extends IPlugin<TPluginName, any, TRenderType> {
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, RenderType> & IPlugin<TN, TC, RenderType>, TM> & {
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, RenderType> & IPlugin<TN, TC, RenderType>, TV> & {
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.4",
3
+ "version": "0.4.5",
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.4"
31
+ "@knotx/jsx": "0.4.5"
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.4"
37
+ "@knotx/core": "0.4.5"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/lodash-es": "^4.14.12",
41
- "@knotx/build-config": "0.4.4",
42
- "@knotx/eslint-config": "0.4.4",
43
- "@knotx/jsx": "0.4.4",
44
- "@knotx/typescript-config": "0.4.4"
41
+ "@knotx/build-config": "0.4.5",
42
+ "@knotx/eslint-config": "0.4.5",
43
+ "@knotx/jsx": "0.4.5",
44
+ "@knotx/typescript-config": "0.4.5"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "unbuild",