Overview

Overview

This is the reference documentation for Vals APIs. It is divided according which files you are using it.

There's 3 different APIs you use in the Val module files:

  • Schema types are used to define the schema of your content. The s that is exported from val.config represents schema types.

  • The Content builders are used to define Val native content such as images, files and the Val module files themselves. The c that is exported from val.config represents content builders.

  • Type manipulators that you can use to manipulate types. The t that is exported from val.config represents type manipulators.

Throughout the rest of your application the following APIs may be used:

  • Fetchers and hooks which is used to access the content so it can be presented in React Components

  • Val native React components that helps you render Val native content such as richtext or images

  • The val helper where various Val related helpers functions can be accessed