diff --git a/stdlib/io/io.cue b/stdlib/io/io.cue index 26389fd6..c057eb60 100644 --- a/stdlib/io/io.cue +++ b/stdlib/io/io.cue @@ -8,18 +8,13 @@ import ( #File: { from: dagger.#Artifact path: string - read: *null | { - format: op.#Export.format + read: { + format: "string" | "json" | "yaml" | "lines" data: { - _ + string #up: [ - op.#Load & { - "from": from - }, - op.#Export & { - source: path - "format": format - }, + op.#Load & {"from": from}, + op.#Export & {source: path, "format": format}, ] } }