schema.resourceschema.sources.md
October 26, 2023 ยท View on GitHub
Home > @datashaper/schema > ResourceSchema > sources
ResourceSchema.sources property
List of resources that underlie this resource. This gives us the ability to create hierarchical or linked structures to represent complex combinations. For example, a parent resource can have source tables, a workflow, and a table schema that all combine to create a fully-realized, strongly typed, and transformed output table. Entire Resource objects may be embedded here, or a string path to the Resource definition JSON.
Signature:
sources?: (string | ResourceSchema)[];