Home > @uniformdev/mesh-edgehancer-sdk > DataResourceFetchContext
DataResourceFetchContext type
The context we are fetching the data resource in:
- testing: when a data type is being tested in the UI using an ephemeral data resource - editing: the data resource is being fetched as part of editing a draft of a composition or entry - normal: the data resource is being fetched as part of rendering a composition or entry
NOTE: using the getDataResource() function from integration UI will have the same fetch context as the parent composition/entry data, i.e. 'editing' NOTE: this is subject to additive change
Signature: