@dmn-arc-core-components/content-schema_ans-document-v0.6.2

1.0.0-alpha • Public • Published

Content Schema: ANS Document (0.6.2)

This the Arc Core Component representing a GraphQL schema that can be used with a content source.

Note: This is a very beta package and will be changing shortly as we adopt a more holistic approach to schemas.

Getting started

This Core Component must be used within a Fusion project.

  1. Add this schema as a dependency of the repo.
      npm install @dmn-arc-core-components/content-schema_ans-document-v0.6.2
  2. Create a file of your desired schema name within the /schemas folder. For this content source, the suggested name is ans-document.js
  3. This is the name you should use when referencing this schema in any content config within a custom field.
  4. Paste the following into ans-document.js:
  import schema from '@dmn-arc-core-components/content-schema_ans-document-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.

Readme

Keywords

none

Package Sidebar

Install

npm i @dmn-arc-core-components/content-schema_ans-document-v0.6.2

Weekly Downloads

182

Version

1.0.0-alpha

License

ISC

Unpacked Size

4.16 kB

Total Files

5

Last publish

Collaborators

  • mddilley
  • jfoxworth