Content Schema: Author Document
This the Arc Core Component representing a GraphQL schema that can be used with the Author API content source.
Getting started
This Core Component must be used within a Fusion project.
- Add this schema as a dependency of the repo.
npm install @arc-core-components/content-schema_author-api-v4
- Create a file of your desired schema name within the
/schemas
folder. For this content source, the suggested name is author-document.js
- This is the name you should use when referencing this schema in any content config within a custom field.
- Paste the following into
author-document.js
:
import schema from '@arc-core-components/content-schema_author-api-v4`
export default schema
What does this schema return?
This is very much the first draft of this content source, and may not define desired fields for every item. We will likely add more fields to it as we work through use cases.