@bonsae/nrg 0.23.0 → 0.24.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.
- package/package.json +2 -2
- package/types/server.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bonsae/nrg",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "NRG framework — build Node-RED nodes with Vue 3, TypeScript, and JSON Schema",
|
|
5
5
|
"author": "Allan Oricil <allanoricil@duck.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"@bonsae/nrg-runtime": "0.
|
|
122
|
+
"@bonsae/nrg-runtime": "0.24.0",
|
|
123
123
|
"@clack/prompts": "^1.0.1",
|
|
124
124
|
"@sinclair/typebox": "^0.34.33",
|
|
125
125
|
"@vitejs/plugin-vue": "^5.2.3",
|
package/types/server.d.ts
CHANGED
|
@@ -727,7 +727,7 @@ export declare abstract class IONode<TConfig = any, TCredentials = any, TInput =
|
|
|
727
727
|
protected readonly context: IONodeContext;
|
|
728
728
|
constructor(RED: RED, node: NodeRedNode, config: IONodeConfig<TConfig>, credentials: IONodeCredentials<TCredentials>);
|
|
729
729
|
[WIRE_HANDLERS](nodeRedNode: NodeRedNode, createdPromise: Promise<void>): void;
|
|
730
|
-
input(msg: TInput):
|
|
730
|
+
input(msg: TInput): unknown;
|
|
731
731
|
send(msg: TOutput): void;
|
|
732
732
|
get baseOutputs(): number;
|
|
733
733
|
get totalOutputs(): number;
|
|
@@ -787,7 +787,7 @@ export interface IIONode<TConfig = any, TCredentials = any, TInput = any, TOutpu
|
|
|
787
787
|
readonly y: number;
|
|
788
788
|
readonly g: string | undefined;
|
|
789
789
|
readonly wires: string[][];
|
|
790
|
-
input(msg: TInput):
|
|
790
|
+
input(msg: TInput): unknown;
|
|
791
791
|
send(msg: TOutput): void;
|
|
792
792
|
status(status: IONodeStatus): void;
|
|
793
793
|
updateWires(wires: string[][]): void;
|
|
@@ -811,7 +811,7 @@ interface IONodeDefinition<TConfigSchema extends TSchema | undefined = undefined
|
|
|
811
811
|
registered?(RED: RED): void | Promise<void>;
|
|
812
812
|
created?(this: BoundIONode<TConfigSchema, TCredsSchema, TSettingsSchema, TInputSchema, TOutputsSchema>): void | Promise<void>;
|
|
813
813
|
closed?(this: BoundIONode<TConfigSchema, TCredsSchema, TSettingsSchema, TInputSchema, TOutputsSchema>, removed?: boolean): void | Promise<void>;
|
|
814
|
-
input?(this: BoundIONode<TConfigSchema, TCredsSchema, TSettingsSchema, TInputSchema, TOutputsSchema>, msg: InferOr<TInputSchema, any>):
|
|
814
|
+
input?(this: BoundIONode<TConfigSchema, TCredsSchema, TSettingsSchema, TInputSchema, TOutputsSchema>, msg: InferOr<TInputSchema, any>): unknown;
|
|
815
815
|
}
|
|
816
816
|
/**
|
|
817
817
|
* Base class for configuration nodes that are shared across multiple nodes
|