Skip to content

Commit

Permalink
Add query for fetching job postings
Browse files Browse the repository at this point in the history
  • Loading branch information
petterhh committed Nov 27, 2024
1 parent 693642a commit 55e0e85
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions studio/lib/queries/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,15 @@ export const LEGAL_DOCUMENTS_SITEMAP_QUERY = groq`
slug
}
`;

// Job Postings
export const JOB_POSTINGS_QUERY = groq`
*[_type == "jobPostings"] {
jobPostingsArray[] {
...,
locations[] -> {
...
}
}
}
`;

0 comments on commit 55e0e85

Please sign in to comment.