willfire 0.1.32 → 0.1.33
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/expr/val.d.ts +2 -1
- package/dist/names/lookupPath.d.ts +2 -1
- package/dist/yamlValue.d.ts +6 -0
- package/dist/yamlValue.js +1 -0
- package/package.json +1 -1
package/dist/expr/val.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { YamlMap, YamlValue } from "../yamlValue.js";
|
|
1
2
|
/**
|
|
2
3
|
* A partially-known value.
|
|
3
4
|
*
|
|
@@ -18,7 +19,7 @@ export type Val = {
|
|
|
18
19
|
*/
|
|
19
20
|
| {
|
|
20
21
|
kind: "json";
|
|
21
|
-
v:
|
|
22
|
+
v: YamlValue[] | YamlMap;
|
|
22
23
|
} | {
|
|
23
24
|
kind: "truthy";
|
|
24
25
|
} | {
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { YamlValue } from "../yamlValue.js";
|
|
2
|
+
export declare function lookupPath(obj: any, path: string): YamlValue | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Every value a workflow document can hold, and so everything read out of one. */
|
|
2
|
+
export type YamlValue = string | number | boolean | null | YamlValue[] | YamlMap;
|
|
3
|
+
/** A mapping. `undefined` belongs to the read of an absent key, never to the document. */
|
|
4
|
+
export type YamlMap = {
|
|
5
|
+
[key: string]: YamlValue | undefined;
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|