Add most of the dynamic node host implementations
All checks were successful
test / test (push) Successful in 14m4s

This commit is contained in:
2025-01-23 07:48:59 +10:30
parent 9f6fa04dcf
commit 70248de192
11 changed files with 427 additions and 216 deletions

View File

@@ -11,14 +11,14 @@ interface types {
resource csv-reader {
columns: func() -> list<string>;
next: func() -> csv-row;
next: func() -> result<csv-row, string>;
next-into-map: func() -> read-map;
has-next: func() -> bool;
// Get a row by values in one or more columns
query: func(values: list<tuple<string, string>>) -> csv-row;
read-into-string: func() -> string;
read-into-map: func() -> read-map;
}
resource write-map {
@@ -36,7 +36,7 @@ interface types {
}
resource read-map {
get: func(key: string) -> string;
get: func(key: string) -> option<string>;
}
}