Content Schema: ANS Feed (0.6.2)
This the Arc Core Component representing a GraphQL schema that can be used with
a content source.
Getting started
This Core Component must be used within a Fusion project.
It should be used for any feature showing a feed of ANS stories, such as a
feed-driven flex feature.
- Add this schema as a dependency of the repo.
npm install @arc-core-components/content-schema_ans-feed-v0.6.2
- Create a file of your desired schema name within the
/schemas
folder. For
this content source, the suggested name is ans-feed.js
- This is the name you should use when referencing this schema in any content
config within a custom field.
- Paste the following into
ans-feed.js
:
import schema from "@arc-core-components/content-schema_ans-feed-v0.6.2";
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.