{"_id":"@aleph/gatsby-source-greenhouse-job-board","_rev":"2-85c3fc270d44027ed12fbb151684fe1e","name":"@aleph/gatsby-source-greenhouse-job-board","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.4":{"name":"@aleph/gatsby-source-greenhouse-job-board","version":"1.0.4","description":"Gatsby source plugin for pulling offices, departments, and jobs into Gatsby from the Greenhouse Job Board API. It creates links between offices, departments, and jobs so they can be queried in Gatsby using GraphQL.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/kevinbarnett/gatsby-source-greenhouse-job-board.git"},"keywords":["gatsby","gatsby-plugin","gatsby-source-plugin","greenhouse"],"author":{"name":"Kevin Barnett"},"license":"MIT","dependencies":{"@babel/runtime":"^7.0.0","axios":"^1.3.5","chalk":"^4.1.2","gatsby-node-helpers":"^0.3.0"},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","babel-preset-gatsby-package":"^0.1.3","cross-env":"^5.1.4"},"peerDependencies":{"gatsby":"^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"},"scripts":{"build":"babel src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build","watch":"babel -w src --out-dir . --ignore **/__tests__"},"gitHead":"a7b5a758328f08cb4028e30c0a22077e286bdefc","bugs":{"url":"https://github.com/kevinbarnett/gatsby-source-greenhouse-job-board/issues"},"homepage":"https://github.com/kevinbarnett/gatsby-source-greenhouse-job-board#readme","_id":"@aleph/gatsby-source-greenhouse-job-board@1.0.4","_nodeVersion":"18.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-eXFVaYeWpbAwfQ8zFLRO8K1vHKuprz9yhacSe//phCXsf3mmB0jOubZA/4LuOQsZc0m9sIbKMcSW2m7Kr4T62A==","shasum":"e52a72c734b599317dccec30db14db82db603824","tarball":"https://registry.npmjs.org/@aleph/gatsby-source-greenhouse-job-board/-/gatsby-source-greenhouse-job-board-1.0.4.tgz","fileCount":7,"unpackedSize":15845,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpUFliX86aJ3++ioho4zy9uZAXEV3YJujWX1YnsqVIWwIgT2Dck3/PRF+P6ienAz0Fkhg40hNm8J8tswKONbaj9J8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNMzFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojLQ/+L4tDe4WUTXNk2vmePh9PH2EBXT/99nuzfJPnuUY/ela0qb9T\r\naKPFIXPG4dR4RLeObtydc2sJWZ8yyym3ISKX+MhWfWbhG2EQ7rmtXcPgtJrN\r\n5+pn0oPXAaUmsdBx8ohimzkleGWQ3KeAnoSUL+BNZkIu1n6B2OPDm85+xH60\r\no1/fgyXM/xxV44JvRCh4ZahoF+Xg5GNNSm8OzzUy1sVow2IqlI7wjqRMozAO\r\nqtIHE29jr9+XcNIJCzLRlSozuWguJ2YY4ie84qwg6NaWWcUrPAVvhUQ6iYHK\r\nkVstebFt0vFX4WEpZo0n9otRV9GYb6Az7N3aceyv4P1eAnrpFqyh/38komaf\r\n4mCVaOuSsGtgxP2Vdj7G4AiiS0KYo4dLVrv1rCktKm6PU57y4U7hhaWQHF2w\r\nY4appAPFvgaKBWgCnPPu86qUVGKRLYQKOc8pmcn39eeEiDO4NS7GmjOPlSyU\r\nmS4xYpq3em5jgYpHzaax5VpC/jLjWhAf0hV7iyK4xe0bWzo46s8KI4+/20Mr\r\nSQ4WZCiY0gmAKWHO91sVbofjLc0sYqIHN9PzQwASmsix94akSgjbdHQwhjDW\r\nzO0bmVPWalB5qYdBJUmVJ1ucFYuq1KNS14dWNrRakh0FPPn7ImI/s3QUf3Et\r\nV/CpoX2Md0WerfdJthrAJiLZp4b8Dal0umY=\r\n=rDE+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tusinga","email":"amanda@alephsf.com"},"directories":{},"maintainers":[{"name":"tusinga","email":"amanda@alephsf.com"},{"name":"alephsf","email":"ping@alephsf.com"},{"name":"oppodeldoc","email":"matt@alephsf.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-source-greenhouse-job-board_1.0.4_1681181893127_0.8982066062736009"},"_hasShrinkwrap":false},"1.0.5":{"name":"@aleph/gatsby-source-greenhouse-job-board","version":"1.0.5","description":"Gatsby source plugin for pulling offices, departments, and jobs into Gatsby from the Greenhouse Job Board API. It creates links between offices, departments, and jobs so they can be queried in Gatsby using GraphQL.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/AlephSF/gatsby-source-greenhouse-job-board.git"},"keywords":["gatsby","gatsby-plugin","gatsby-source-plugin","greenhouse"],"author":{"name":"Kevin Barnett"},"license":"MIT","dependencies":{"@babel/runtime":"^7.0.0","axios":"^1.3.5","chalk":"^4.1.2","gatsby-node-helpers":"^0.3.0"},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","babel-preset-gatsby-package":"^0.1.3","cross-env":"^5.1.4"},"peerDependencies":{"gatsby":"^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"},"scripts":{"build":"babel src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build","watch":"babel -w src --out-dir . --ignore **/__tests__"},"gitHead":"6dd5503c791143f0e0471e23d6996ea8ec043db9","bugs":{"url":"https://github.com/AlephSF/gatsby-source-greenhouse-job-board/issues"},"homepage":"https://github.com/AlephSF/gatsby-source-greenhouse-job-board#readme","_id":"@aleph/gatsby-source-greenhouse-job-board@1.0.5","_nodeVersion":"18.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-SkZWHLgtBrFNXZDV8O6SKpjRlUYMFP0YcpiskiyxXKOwz/AhO8FuXmW8f6iMut8VgnboQRxUhpuzByMRi/iaNw==","shasum":"1e4faa4b80ecf1d1ca5d1684623281e6e3251aee","tarball":"https://registry.npmjs.org/@aleph/gatsby-source-greenhouse-job-board/-/gatsby-source-greenhouse-job-board-1.0.5.tgz","fileCount":7,"unpackedSize":15840,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8YAqE0s65yA1u4N5iz1Vh6Wehb/YUW4szacexowGUhwIhAK5INkTHPT+rTkq0ux5PBABa+T9yjXuRb6IJD46y9DMd"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNM40ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpyQ//YvtsE9JwTy/qSvlM757X6GbfmwO0JRUGTFI+liiNkBJgXU5L\r\nLjRb46pwnwJYRGiizvujsy2VmPq80WSKG5/gt5qS/rlwi26Zf8HK90iVhVF+\r\neFWY2KxRHLw0bi4BYZxsE015MiLUz8zwm71paPTZ4x7gVL81aLCRFlILDKeM\r\nGk7MdNhF3CBtZyKYDFnKCTN9qb+G9ir5AVuwvZtb6C7kalIl3LM77qNwf9n/\r\n63SHpG62CPB7ZAq28vQOUO585m1+uWXG8dRlQrdeYklNehF4CWjzTogfs+i4\r\nago6IawNJwjLyrQaaaiQsZ9gp0potRnxU6iCVnHm20e/aFflSar+rRMd0JAR\r\nON21snMJsLQ5E1LSt7dlgX28gXDVCr+4H+Sb6D1rXopqvnjm+GZfiwUHh18z\r\nbMq+MDHAX3DMCg75wHDZ7eclK3hGi4kSPC4mtA1drcyEYahLPCTPx/MVE3pI\r\n2BTZupbutKM+crm67MGAkBIyj5yZaQUMcwkjG8WnJfRgwyDJ0bx2GQw5WkgS\r\nlnkvMgHZm4llFvfwJ15XAD9qCMbE2NIT5DxSPkTOwoxKAlCeTfHDOWZQ5mwR\r\n2E9IMGqN2460CpZ7xpGT8ImWtD9AqWoHZ0NlSS6I+bwSIHDoK0QQKFPQ4eHe\r\nmRBwaxJmlnBsyqPUqivabUudY16GfzAMhfY=\r\n=LQSK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tusinga","email":"amanda@alephsf.com"},"directories":{},"maintainers":[{"name":"tusinga","email":"amanda@alephsf.com"},{"name":"alephsf","email":"ping@alephsf.com"},{"name":"oppodeldoc","email":"matt@alephsf.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-source-greenhouse-job-board_1.0.5_1681182260690_0.4745799555794681"},"_hasShrinkwrap":false},"1.0.6":{"name":"@aleph/gatsby-source-greenhouse-job-board","version":"1.0.6","description":"Gatsby source plugin for pulling offices, departments, and jobs into Gatsby from the Greenhouse Job Board API. It creates links between offices, departments, and jobs so they can be queried in Gatsby using GraphQL.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/AlephSF/gatsby-source-greenhouse-job-board.git"},"keywords":["gatsby","gatsby-plugin","gatsby-source-plugin","greenhouse"],"author":{"name":"Kevin Barnett"},"license":"MIT","dependencies":{"@babel/runtime":"^7.0.0","axios":"^1.3.5","chalk":"^4.1.2","gatsby-node-helpers":"^0.3.0"},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","babel-preset-gatsby-package":"^0.1.3","cross-env":"^5.1.4"},"peerDependencies":{"gatsby":"^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"},"scripts":{"build":"babel src --out-dir . --ignore **/__tests__","prepare":"cross-env NODE_ENV=production npm run build","watch":"babel -w src --out-dir . --ignore **/__tests__"},"bugs":{"url":"https://github.com/AlephSF/gatsby-source-greenhouse-job-board/issues"},"homepage":"https://github.com/AlephSF/gatsby-source-greenhouse-job-board#readme","gitHead":"78d179fc8219f21027fa280ce63adf91d3ea1543","_id":"@aleph/gatsby-source-greenhouse-job-board@1.0.6","_nodeVersion":"18.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-ysL8KU0662n81/nh3UOmtue87NHTqDwR52rlxbLdvJnAhefiwgSO0vECzWmLH/RQaBXwzD52AL2ly67t3kH87g==","shasum":"a862ea899058bf86db0dc002c55d54b328b120fa","tarball":"https://registry.npmjs.org/@aleph/gatsby-source-greenhouse-job-board/-/gatsby-source-greenhouse-job-board-1.0.6.tgz","fileCount":7,"unpackedSize":16025,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/qxrFw0MhdcGMBmVAipLgVeazhckjcMtqHKoCS2E+6AiBudzn4pPHixl9zhTCmPcvsg3QoXw8Qhe95qidl0NfHMg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNM9TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7GQ/+II5D5pk0RFPPZ5RZqCEOLnTpbiZlGxb+lRzXvxinb/5txAvY\r\n3PlVFiPLFMAt0si7DkAvU/R05sBVz9kNaPI/R0mfXjdxaM+htrTwbNHSdMHB\r\n9+btGv91VvI4ietNzUNQ4gxgZ6uPGz5JklRuSvB6m/1xxLAYRoWJTAiQoEfS\r\nWf1jIeLPBkR+WxupK6KHHNl3HadTyfI+I7hGdr8pGduVUQn8zfeCpEGRtgsl\r\nXLhcz6iVXJ9BjKdgDH6xc/DHmYhBolsDhIzD6bz48+DJP0rFGqXpejdWE83R\r\nNGZCyOdwt9MOE8Bc5L2n8bl9Uv0iqH37OdAtCUitj1hu5stAmpipZwRKQWIt\r\njQ2mX7KM918sV8QJyBBgAaGajNKJriaiJOXEN9Y27oHj/FHbv86W1xd9QjBQ\r\nXw9SukuViO1tn4lFD0I2oUKLVa34jV5t8ir9tl3lXSkn52CnyulluMBdI9UW\r\n0vpkVAC/bxEuVmnvP5ZplYixqSux8JrZ5t2xfxu6a1cbES1x7DFtvkUFbgMt\r\nY1XdmUksmCJeF11XEY4dsZW4t/AdTD8V5U1M4l5ZJTyBqhHBhzYFKddXACuf\r\nsvN+XiDCiJleM90pkkM2pJ4TyDZSM7qs28bxmnEJjd9L2vw1wYMqcRFgXjJs\r\nfmfaGiHaz26U4Q090o6S5cvE3f/jAjPzd7w=\r\n=7i3O\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tusinga","email":"amanda@alephsf.com"},"directories":{},"maintainers":[{"name":"tusinga","email":"amanda@alephsf.com"},{"name":"alephsf","email":"ping@alephsf.com"},{"name":"oppodeldoc","email":"matt@alephsf.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-source-greenhouse-job-board_1.0.6_1681182547301_0.3154501389974431"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-11T02:58:13.049Z","1.0.4":"2023-04-11T02:58:13.271Z","modified":"2023-04-11T03:09:07.603Z","1.0.5":"2023-04-11T03:04:20.843Z","1.0.6":"2023-04-11T03:09:07.478Z"},"maintainers":[{"name":"tusinga","email":"amanda@alephsf.com"},{"name":"alephsf","email":"ping@alephsf.com"},{"name":"oppodeldoc","email":"matt@alephsf.com"}],"description":"Gatsby source plugin for pulling offices, departments, and jobs into Gatsby from the Greenhouse Job Board API. It creates links between offices, departments, and jobs so they can be queried in Gatsby using GraphQL.","homepage":"https://github.com/AlephSF/gatsby-source-greenhouse-job-board#readme","keywords":["gatsby","gatsby-plugin","gatsby-source-plugin","greenhouse"],"repository":{"type":"git","url":"git+https://github.com/AlephSF/gatsby-source-greenhouse-job-board.git"},"author":{"name":"Kevin Barnett"},"bugs":{"url":"https://github.com/AlephSF/gatsby-source-greenhouse-job-board/issues"},"license":"MIT","readme":"# gatsby-source-greenhouse-job-board\n> Source plugin for pulling offices, departments, and jobs into Gatsby from the Greenhouse Job Board API. It creates links between offices, departments, and jobs so they can be queried in Gatsby using GraphQL.\n\n## Installation\n\n```bash\nnpm install gatsby-source-greenhouse-job-board\n```\n\nor\n\n```bash\nyarn add gatsby-source-greenhouse-job-board\n```\n\n## Usage\n\nTo use this source you need to provide a Greenhouse Job Board token. You can find this token by logging into Greenhouse and going to `Configure > Dev Center > Configure Job Board`. It will be listed next to the heading 'Your Board Token'.\n\nNext, edit `gatsby-config.js` to use the plugin:\n\n```\n{\n  ...\n  plugins: [\n    ...\n    {\n      resolve: 'gatsby-source-greenhouse-job-board',\n      options: {\n        boardToken: '{board token}'\n      },\n  ]\n}\n```\n\n## How to query\n\nYou can query nodes created from the Greenhouse Job Board API using GraphQL like the following:\n\n**Note**: Learn to use the GraphQL tool and Ctrl+Spacebar at\n<http://localhost:8000/___graphql> to discover the types and properties of your\nGraphQL model.\n\n```graphql\n{\n  allGreenhouseJob {\n    edges {\n      node {\n      title\n      absolute_url\n        location {\n          name\n        }\n        content\n      }\n    }\n  }\n}\n```\n\nAll Greenhouse data is pulled using the Greenhouse Job Board API. Data is made available in the same structure as\nprovided by the API, with a few exceptions noted below.\n\nThree standard data types will be available from Greenhouse: Office, Department and Job.\n\nFor each data type, `greenhouse${typeName}` and\n`allGreenhouse${typeName}` is made available. Relationships between nodes are provided as node fields as described below.\n\n**Note**: The following examples are not a complete reference to the available\nfields for each node. Utilize Gatsby's built-in GraphQL tool to discover the\ntypes and properties available.\n\n### Query jobs\n\nJobs are linked to their `departments` and `offices`, which following the format of the API, returns an array. \n\n```graphql\n{\nallGreenhouseJob {\n    edges {\n      node {\n        id\n        internal_job_id\n        title\n        absolute_url\n        content\n        updated_at(formatString: \"ddd, MMMM Do, YYYY\")\n        questions {\n          description\n          label\n          required\n          fields {\n            name\n            type\n          }\n    \t  }\n        location {\n          name\n        }\n        departments {\n          name\n        }\n        offices {\n          name\n        }\n      }\n    }\n  }\n}\n```\n\n### Query departments\n\nDepartment data links to `jobs` from which all data mentioned in the previous example can be queried. Departments can also also have parent/child relationships which are linked when available.\n\n```graphql\n{\n  allGreenhouseDepartment {\n    edges {\n      node {\n        id\n        name\n        parent {\n          ...on GreenhouseDepartment {\n            name\n          }\n        }\n        children {\n          ...on GreenhouseDepartment {\n            name\n          }\n        }\n        jobs {\n          title\n          absolute_url\n        }\n      }\n    }\n  }\n}\n```\n\n### Query offices\n\nOffice data links to both `departments` and `jobs` from which all data mentioned in the previous examples can be queried. Offices can also also have parent/child relationships which are linked when available.\n\n```graphql\n{\n  allGreenhouseOffice {\n    edges {\n      node {\n        id\n        name\n        parent {\n          ...on GreenhouseOffice {\n            name\n          }\n        }\n        children {\n          ...on GreenhouseOffice {\n            name\n          }\n        }\n        jobs {\n          title\n          absolute_url\n        }\n      }\n    }\n  }\n}\n```\n\n## Job Board vs. Harvest API\n\nGreenhouse provides two APIs for sourcing information on open jobs, `Harvest` and `Job Board`. For most use-cases that involve presenting and displaying job posts on a website, the Job Board API is sufficient and recommended because:\n\n-   No authentication is required, therefore no need to manage secrets. etc.\n-   Harvest API provides a significant amount of data which some individuals and/or organizations may consider to be sensitive\n\nMore information on the Job Board API can be found on the [Greenhouse Developer Website](https://developers.greenhouse.io/job-board.html).\n","readmeFilename":"README.md"}