Skip to content

IncludeLoader

Defined in: packages/sdk/src/types/descriptor.ts:27

Loads documents named by includes while resolveDescriptor merges them.

load(ref, from): Promise<unknown>

Defined in: packages/sdk/src/types/descriptor.ts:34

Load the document referenced by includes.

ref is the raw URI from the including file (relative path or URL). from is the including descriptor.

string

InputDescriptor

Promise<unknown>