@bonsae/nrg 0.17.0 → 0.18.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/README.md CHANGED
@@ -19,7 +19,7 @@ Build Node-RED nodes with Vue 3, TypeScript, JSON Schema validations, Vite and V
19
19
  | --- | --- |
20
20
  | `@bonsae/nrg` | Root entry — `defineRuntimeSettings` |
21
21
  | `@bonsae/nrg/server` | Server node classes, schema utilities, validation (`IONode`, `ConfigNode`, `defineIONode`, `defineConfigNode`, `defineModule`, `SchemaType`, `defineSchema`, `Infer`) |
22
- | `@bonsae/nrg/client` | Client-side registration (`registerTypes`, `defineNode`) |
22
+ | `@bonsae/nrg/client` | Client-side registration (`registerTypes`, `defineNode`, `useFormNode`, `Infer`) |
23
23
  | `@bonsae/nrg/vite` | Vite plugin for building and developing Node-RED packages |
24
24
  | `@bonsae/nrg/test/server/unit` | Server unit test helpers (`createNode`, `createRED`, `MockRED`) |
25
25
  | `@bonsae/nrg/test/client/unit` | Client unit test config and mocks (`defaultConfig`, `createRED`, `createJQuery`) |
@@ -106,7 +106,7 @@ type Config = Infer<typeof ConfigsSchema>;
106
106
  type Input = Infer<typeof InputSchema>;
107
107
  type Output = Infer<typeof OutputSchema>;
108
108
 
109
- export default class MyNode extends IONode<Config, any, Input, Output> {
109
+ export default class MyNode extends IONode<Config, never, Input, Output> {
110
110
  static readonly type = "my-node";
111
111
  static readonly category = "function";
112
112
  static readonly color: `#${string}` = "#ffffff";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonsae/nrg",
3
- "version": "0.17.0",
3
+ "version": "0.18.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",