1.1.6 • Published 3 years ago

gatsby-source-esa v1.1.6

Weekly downloads
79
License
MIT
Repository
github
Last release
3 years ago

gatsby-source-esa

npm version

Source plugin for pulling data into Gatsby from esa.io using the esa.io API.

Install

npm install --save gatsby-source-esa

How to use

// In your gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-source-esa`,
      options: {
        // You can get an access token from https://[YOUR_TEAM_NAME].esa.io/user/applications.
        // You must be owner role.
        accessToken: `YOUR_PERSONAL_ACCESS_TOKEN`,
        teamName: `YOUR_TEAM_NAME`,
        // Search queary (optional)
        // See docs: https://docs.esa.io/posts/104
        // Example : 'in:public'  or 'wip:false in:public'
        q: '',
        // Relative Category (optional)
        // Example: 'public'
        // {
        //   category: 'public/gatsby',
        //   relative_category: 'gatsby',
        // }
        baseCategory: ''
      }
    }
  ]
}

How to query

{
  allEsaPost {
    edges {
      node {
        number
        name
        body_md
        body_html
        category
        relative_category
        tags
      }
    }
  }
}
1.1.6

3 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago