@sealcode/jdd 0.8.16 → 0.8.17

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  import { ComponentArgument } from "./component-argument.js";
3
2
  import { Registry } from "../registry.js";
4
3
  import { Enum } from "./enum.js";
@@ -43,7 +42,9 @@ export declare class NestedComponentValueFull extends NestedComponentValue {
43
42
  arg_overrides?: Record<string, unknown>;
44
43
  classes?: string[];
45
44
  index?: number;
46
- }): Promise<(string | number | import("stream").Readable | null) | (string | number | import("stream").Readable | null)[] | Promise<string | number | import("stream").Readable | null>[]>;
45
+ }): Promise<string | number | {
46
+ toString(): string;
47
+ } | null>;
47
48
  getComponent(jdd_context: JDDContext): import("../component.js").Component<Record<string, ComponentArgument<unknown, unknown, unknown>>>;
48
49
  toStorage(jdd_context: JDDContext): Promise<{
49
50
  component_name: string;
@@ -76,6 +77,6 @@ export declare class NestedComponent extends ComponentArgument<NestedComponentVa
76
77
  data: Record<string, unknown>;
77
78
  classes?: string[];
78
79
  index?: number;
79
- }): string | number | import("stream").Readable | (string | number | import("stream").Readable | null)[] | Promise<string | number | import("stream").Readable | null>[] | Promise<import("tempstream/@types/stringify.js").Stringifiable> | null;
80
+ }): import("tempstream/@types/stringify.js").Stringifiable;
80
81
  receivedToParsed(context: JDDContext, value: Record<string, unknown>): Promise<NestedComponentValue>;
81
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sealcode/jdd",
3
- "version": "0.8.16",
3
+ "version": "0.8.17",
4
4
  "description": "JSON-Driven Documents",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",
@@ -52,7 +52,7 @@
52
52
  "mri": "^1.2.0",
53
53
  "prettier": "^2.7.1",
54
54
  "slug": "^9.1.0",
55
- "tempstream": "^0.4.6",
55
+ "tempstream": "^0.4.7",
56
56
  "uuid": "^9.0.1"
57
57
  },
58
58
  "peerDependencies": {