Skip to content

Commit

Permalink
🚨 Fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
petterhh committed Nov 26, 2024
1 parent 4ef64ac commit 7227a7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion studio/deskStructure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { StructureBuilder } from "sanity/structure";
import { companyInfoID } from "./schemas/documents/admin/companyInfo";
import { companyLocationID } from "./schemas/documents/admin/companyLocation";
import { defaultSeoID } from "./schemas/documents/admin/defaultSeo";
import { jobPostingsID } from "./schemas/documents/admin/jobPostings";
import { legalDocumentID } from "./schemas/documents/admin/legalDocuments";
import { compensationsId } from "./schemas/documents/compensations";
import { languageSettingsID } from "./schemas/documents/languageSettings";
Expand All @@ -28,7 +29,6 @@ import { brandAssetsID } from "./schemas/documents/siteSettings/brandAssets";
import { localeID } from "./schemas/documents/siteSettings/locale";
import { soMeLinksID } from "./schemas/documents/siteSettings/socialMediaProfiles";
import { customerCasesPageID } from "./schemas/documents/specialPages/customerCasesPage";
import { jobPostingsID } from "./schemas/documents/admin/jobPostings";

// Admin Section
const adminSection = (S: StructureBuilder) =>
Expand Down
4 changes: 2 additions & 2 deletions studio/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { type SchemaTypeDefinition } from "sanity";
import companyInfo from "./schemas/documents/admin/companyInfo";
import companyLocation from "./schemas/documents/admin/companyLocation";
import defaultSeo from "./schemas/documents/admin/defaultSeo";
import jobPostings from "./schemas/documents/admin/jobPostings";
import legalDocument from "./schemas/documents/admin/legalDocuments";
import compensations from "./schemas/documents/compensations";
import languageSettings from "./schemas/documents/languageSettings";
Expand All @@ -17,11 +18,10 @@ import callToActionField from "./schemas/fields/callToActionFields";
import { richText } from "./schemas/fields/text";
import benefitsByLocation from "./schemas/objects/compensations/benefitsByLocation";
import { footerSection } from "./schemas/objects/footerSection";
import jobPosting from "./schemas/objects/jobPosting";
import { link } from "./schemas/objects/link";
import seo from "./schemas/objects/seo";
import { socialMedia } from "./schemas/objects/socialMedia";
import jobPosting from "./schemas/objects/jobPosting";
import jobPostings from "./schemas/documents/admin/jobPostings";

export const schema: { types: SchemaTypeDefinition[] } = {
types: [
Expand Down
1 change: 1 addition & 0 deletions studio/schemas/objects/jobPosting.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineType } from "sanity";

import { isInternationalizedString } from "studio/lib/interfaces/global";
import { firstTranslation } from "studio/utils/i18n";

Expand Down

0 comments on commit 7227a7e

Please sign in to comment.