ReferenceAsk
?

Reader

Type
The value defineReader returns: the source's reader, exported for the platform to run.

The value defineReader returns: the reader for one source. Export it from its file and the platform calls it. The CLI tests it in dev, and publishing makes it live.

Reader.ts
interface Reader {
  readonly kind: 'reader'
  readonly source: string
  readonly config: ReaderConfig
}
Fields
source
string
The data source's slug.
config
ReaderConfig
The handlers it was defined with.
Export a reader
export default defineReader(Manuals, { read, removed }); // publishing makes it live