Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-source-ashby

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-source-ashby

Sources all published job postings from Ashby

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
249
increased by207.41%
Maintainers
1
Weekly downloads
 
Created
Source

gatsby-source-ashby

Sources jobs, job postings, and custom fields from Ashby

Installation

yarn add gatsby-source-ashby

Usage

// In your gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-source-ashby`,
      options: {
        apiKey: process.env.ASHBY_API_KEY,
        listedOnly: true,
      },
    },
  ],
};

Querying

Job postings

{
  allAshbyJobPosting {
    nodes {
      ...
    }
  }
}

Job posting info

Job posting info is attached to each AshbyJobPosting node. If you want to build out forms based on the job's Application Form in Ashby, an example query to pull the form fields looks like this:

allAshbyJobPosting {
  nodes {
    info {
      applicationFormDefinition {
        sections {
          fields {
            field {
              path
              isNullable
              title
              type
            }
          }
        }
      }
    }
  }
}

Custom fields

Ashby allows you to attach custom fields to each job. Custom fields are handy for displaying information that Ashby doesn't already have a field for.

Each AshbyJobPosting node has an AshbyJob parent node from which you can access the job's custom fields. Custom fields with selectable values automatically return the human-readable label of the custom field. Neat!

allAshbyJobPosting {
  nodes {
    parent {
      ... on AshbyJob {
        customFields {
          title
          value
        }
      }
    }
  }
}

Keywords

FAQs

Package last updated on 22 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc