Skip to content

Reference Workflows

Tom Cowland edited this page Jul 12, 2023 · 4 revisions

Context access usages (FnAssetAPI)

kRead

  • [API] "I am resolving a reference and intend to consume the resulting data".
  • [UI] "Let the user pick an entity reference that points to a single entity of the specified trait set".

kReadMultiple

  • [UI] "Let the user pick multiple entity references that each point to a single entity of the specified trait set".

kWrite

  • [API] "I am resolving a reference and intend to use the resulting data to inform a write/generation process".
  • [API] "I am publishing something that may or may not be new, and could be an update to an existing thibng".
  • [UI] "Let the user pick (or derive) an entity reference that can be used to generate a single entity of the specified trait set" This may be an existing entity (to create a new version), or something entirely new, or a container that will derive the name of a a new child based on what its published".

kWriteMultiple

  • [UI] "Let the user pick (or derive) an entity reference that can be used to register multiple new entities of the specified trait set".

kWriteNew

  • [API] "I am publishing something(s) that definitely is(are) new"