1.1.4 • Published 2 years ago

gatsby-source-asana v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Description

Gatsby Source plugin for pulling tasks from Asana projects.

Learning Resources

How to install

npm install --save gatsby-source-asana

Examples of usage

In your gatsby-config.js :

{
  resolve: `gatsby-source-asana`,
  options: {
    apiToken: `<your Asana token>`,
    projectId: `<your Asana project id>`,
    fields: ['name', 'assignee']
  }
}

How to query for data (source plugins only)

Query all tasks

export const query = graphql`
{
  allTask {
    nodes {
      id
      name
    }
  }
}

Query a single task by id

export const pageQuery = graphql`
  query ($id: String!) {
    task(id: { eq: $id }) {
      id
    }
  }
`;
1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago