From c131e5fa5ed8be6e04db4dd8c2ef50b701fb9740 Mon Sep 17 00:00:00 2001 From: Ane Date: Tue, 17 Sep 2024 16:00:05 +0200 Subject: [PATCH] update brokenlink variables --- studio/schema.ts | 4 ++-- studio/schemas/deskStructure.ts | 2 +- .../siteSettings/{brokenLinks.ts => brokenLink.ts} | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) rename studio/schemas/documents/siteSettings/{brokenLinks.ts => brokenLink.ts} (97%) diff --git a/studio/schema.ts b/studio/schema.ts index 1f9e52464..07a0c2a3e 100644 --- a/studio/schema.ts +++ b/studio/schema.ts @@ -9,7 +9,7 @@ import compensations from "./schemas/documents/compensations"; import pageBuilder from "./schemas/documents/pageBuilder"; import posts from "./schemas/documents/post"; import brandAssets from "./schemas/documents/siteSettings/brandAssets"; -import brokenLinks from "./schemas/documents/siteSettings/brokenLinks"; +import brokenLink from "./schemas/documents/siteSettings/brokenLink"; import navigationManager from "./schemas/documents/siteSettings/navigationManager"; import socialMediaLinks from "./schemas/documents/siteSettings/socialMediaProfiles"; import supportedLanguages from "./schemas/documents/siteSettings/supportedLanguages"; @@ -35,7 +35,7 @@ export const schema: { types: SchemaTypeDefinition[] } = { categories, legalDocument, compensations, - brokenLinks, + brokenLink, benefitsByLocation, companyLocation, supportedLanguages, diff --git a/studio/schemas/deskStructure.ts b/studio/schemas/deskStructure.ts index 67b86b4a3..bc758454e 100644 --- a/studio/schemas/deskStructure.ts +++ b/studio/schemas/deskStructure.ts @@ -23,7 +23,7 @@ import { legalDocumentID } from "./documents/admin/legalDocuments"; import { compensationsId } from "./documents/compensations"; import { pageBuilderID } from "./documents/pageBuilder"; import { brandAssetsID } from "./documents/siteSettings/brandAssets"; -import { brokenLinkID } from "./documents/siteSettings/brokenLinks"; +import { brokenLinkID } from "./documents/siteSettings/brokenLink"; import { soMeLinksID } from "./documents/siteSettings/socialMediaProfiles"; import { supportedLanguagesID } from "./documents/siteSettings/supportedLanguages"; diff --git a/studio/schemas/documents/siteSettings/brokenLinks.ts b/studio/schemas/documents/siteSettings/brokenLink.ts similarity index 97% rename from studio/schemas/documents/siteSettings/brokenLinks.ts rename to studio/schemas/documents/siteSettings/brokenLink.ts index c10f9e02a..edfcc3d00 100644 --- a/studio/schemas/documents/siteSettings/brokenLinks.ts +++ b/studio/schemas/documents/siteSettings/brokenLink.ts @@ -32,8 +32,8 @@ const requiredIfDestinationType = ( export const brokenLinkID = "brokenLink"; -const brokenLinks = defineType({ - name: brokenLinksID, +const brokenLink = defineType({ + name: brokenLinkID, title: "Broken Links", type: "document", fields: [ @@ -137,4 +137,4 @@ const brokenLinks = defineType({ }, }); -export default brokenLinks; +export default brokenLink;