Wasm Directoryalpha
Record

text-resource-contents

Inline text resource.

record text-resource-contents {
  uri: string,
  mime-type: option​<string>,
  text: string,
}

Fields

NameTypeDescription
uristringURI identifying the resource.
mime-typeoption​<string>Optional MIME type of the text content.
textstringThe text contents.