/** * --------------------------------------------------------------------------------- * This file has been generated by Sanity TypeGen. * Command: `sanity typegen generate` * * Any modifications made directly to this file will be overwritten the next time * the TypeScript definitions are generated. Please make changes to the Sanity * schema definitions and/or GROQ queries if you need to update these types. * * For more information on how to use Sanity TypeGen, visit the official documentation: * https://www.sanity.io/docs/sanity-typegen * --------------------------------------------------------------------------------- */ export declare const internalGroqTypeReferenceTo: unique symbol; // Source: schema.json export type Price = { value?: number; period?: string; }; export type Meta = { title?: string; description?: string; noindex?: boolean; image?: MetaImage; }; export type SanityImageAssetReference = { _ref: string; _type: "reference"; _weak?: boolean; [internalGroqTypeReferenceTo]?: "sanity.imageAsset"; }; export type MetaImage = { asset?: SanityImageAssetReference; media?: unknown; // Unable to locate the referenced type "meta.image.media" in schema hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; }; export type AllPosts = { _type: "all-posts"; padding?: SectionPadding; colorVariant?: ColorVariant; }; export type FormNewsletter = { _type: "form-newsletter"; padding?: SectionPadding; colorVariant?: ColorVariant; stackAlign?: "left" | "center"; consentText?: string; buttonText?: string; successMessage?: string; }; export type FaqReference = { _ref: string; _type: "reference"; _weak?: boolean; [internalGroqTypeReferenceTo]?: "faq"; }; export type Faqs = { _type: "faqs"; padding?: SectionPadding; colorVariant?: ColorVariant; faqs?: Array< { _key: string; } & FaqReference >; }; export type LogoCloud1 = { _type: "logo-cloud-1"; padding?: SectionPadding; colorVariant?: ColorVariant; title?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; }>; }; export type Cta1 = { _type: "cta-1"; padding?: SectionPadding; colorVariant?: ColorVariant; sectionWidth?: "default" | "narrow"; stackAlign?: "left" | "center"; tagLine?: string; title?: string; body?: BlockContent; links?: Array< { _key: string; } & Link >; }; export type Timelines1 = { _type: "timelines-1"; title?: string; tagLine?: string; body?: BlockContent; }; export type TimelineRow = { _type: "timeline-row"; padding?: SectionPadding; colorVariant?: ColorVariant; timelines?: Array< { _key: string; } & Timelines1 >; }; export type TestimonialReference = { _ref: string; _type: "reference"; _weak?: boolean; [internalGroqTypeReferenceTo]?: "testimonial"; }; export type Carousel2 = { _type: "carousel-2"; padding?: SectionPadding; colorVariant?: ColorVariant; testimonial?: Array< { _key: string; } & TestimonialReference >; }; export type Carousel1 = { _type: "carousel-1"; padding?: SectionPadding; colorVariant?: ColorVariant; size?: "one" | "two" | "three"; indicators?: "none" | "dots" | "count"; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; }>; }; export type GridRow = { _type: "grid-row"; padding?: SectionPadding; colorVariant?: ColorVariant; gridColumns?: "grid-cols-2" | "grid-cols-3" | "grid-cols-4"; columns?: Array< | ({ _key: string; } & GridCard) | ({ _key: string; } & GridPost) | ({ _key: string; } & PricingCard) >; }; export type PostReference = { _ref: string; _type: "reference"; _weak?: boolean; [internalGroqTypeReferenceTo]?: "post"; }; export type GridPost = { _type: "grid-post"; post?: PostReference; }; export type PricingCard = { _type: "pricing-card"; title?: string; tagLine?: string; price?: Price; list?: Array; excerpt?: string; link?: Link; }; export type GridCard = { _type: "grid-card"; title?: string; excerpt?: string; image?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; }; link?: Link; }; export type SplitInfo = { _type: "split-info"; image?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; }; title?: string; body?: BlockContent; tags?: Array; }; export type SplitInfoList = { _type: "split-info-list"; list?: Array< { _key: string; } & SplitInfo >; }; export type SplitImage = { _type: "split-image"; image?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; }; }; export type SplitCard = { _type: "split-card"; tagLine?: string; title?: string; body?: BlockContent; }; export type SplitCardsList = { _type: "split-cards-list"; list?: Array< { _key: string; } & SplitCard >; }; export type SplitContent = { _type: "split-content"; sticky?: boolean; padding?: SectionPadding; colorVariant?: ColorVariant; tagLine?: string; title?: string; body?: BlockContent; link?: Link; }; export type SplitRow = { _type: "split-row"; padding?: SectionPadding; colorVariant?: ColorVariant; noGap?: boolean; splitColumns?: Array< | ({ _key: string; } & SplitContent) | ({ _key: string; } & SplitCardsList) | ({ _key: string; } & SplitImage) | ({ _key: string; } & SplitInfoList) >; }; export type SectionHeader = { _type: "section-header"; padding?: SectionPadding; colorVariant?: ColorVariant; sectionWidth?: "default" | "narrow"; stackAlign?: "left" | "center"; tagLine?: string; title?: string; description?: string; }; export type Hero2 = { _type: "hero-2"; tagLine?: string; title?: string; body?: BlockContent; links?: Array< { _key: string; } & Link >; }; export type Hero1 = { _type: "hero-1"; tagLine?: string; title?: string; body?: BlockContent; image?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; }; links?: Array< { _key: string; } & Link >; }; export type SectionPadding = { _type: "section-padding"; top?: boolean; bottom?: boolean; }; export type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link"; export type ColorVariant = | "background" | "primary" | "secondary" | "card" | "accent" | "destructive" | "muted"; export type ScenariosGrid = { _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; }; export type Gallery = { _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; }; export type Callout = { _type: "callout"; tone?: "gold" | "neutral" | "highlight"; title?: string; content?: string; }; export type PageReference = { _ref: string; _type: "reference"; _weak?: boolean; [internalGroqTypeReferenceTo]?: "page"; }; export type ServiceReference = { _ref: string; _type: "reference"; _weak?: boolean; [internalGroqTypeReferenceTo]?: "service"; }; export type Link = { _type: "link"; isExternal?: boolean; internalLink?: PageReference | PostReference | ServiceReference; title?: string; href?: string; target?: boolean; buttonVariant?: ButtonVariant; }; export type BlockContent = Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "normal" | "h1" | "h2" | "h3" | "h4" | "blockquote"; listItem?: "bullet" | "number"; markDefs?: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href?: string; target?: boolean; _type: "link"; _key: string; }>; level?: number; _type: "block"; _key: string; } | { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; } | { videoId?: string; _type: "youtube"; _key: string; } | ({ _key: string; } & Callout) | ({ _key: string; } & ScenariosGrid) | ({ _key: string; } & Gallery) >; export type Venue = { _id: string; _type: "venue"; _createdAt: string; _updatedAt: string; _rev: string; name?: string; region?: string; logo?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; }; logoUrl?: string; url?: string; width?: number; height?: number; orderRank?: string; }; export type SanityImageCrop = { _type: "sanity.imageCrop"; top?: number; bottom?: number; left?: number; right?: number; }; export type SanityImageHotspot = { _type: "sanity.imageHotspot"; x?: number; y?: number; height?: number; width?: number; }; export type PartnershipInquiry = { _id: string; _type: "partnershipInquiry"; _createdAt: string; _updatedAt: string; _rev: string; status?: "new" | "contacted" | "negotiating" | "archived"; entityName?: string; contactEmail?: string; contactPhone?: string; partnershipTier?: string; includeUHNW?: boolean; vision?: string; internalNotes?: string; submittedAt?: string; }; export type Inquiry = { _id: string; _type: "inquiry"; _createdAt: string; _updatedAt: string; _rev: string; status?: "new" | "contacted" | "booked" | "archived"; coupleNames?: string; email?: string; whatsapp?: string; weddingDate?: string; destinationRegion?: string; guestCount?: string; budgetRange?: string; serviceTrack?: string; message?: string; internalNotes?: string; submittedAt?: string; }; export type Settings = { _id: string; _type: "settings"; _createdAt: string; _updatedAt: string; _rev: string; logo?: { dark?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; }; light?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; }; width?: number; height?: number; }; siteName?: string; tagline?: string; footerText?: string; contactEmail?: string; whatsapp?: string; socialLinks?: Array<{ platform?: "instagram" | "facebook" | "pinterest" | "linkedin" | "whatsapp"; url?: string; _key: string; }>; copyright?: BlockContent; }; export type Navigation = { _id: string; _type: "navigation"; _createdAt: string; _updatedAt: string; _rev: string; links?: Array< { _key: string; } & Link >; }; export type Testimonial = { _id: string; _type: "testimonial"; _createdAt: string; _updatedAt: string; _rev: string; name?: string; title?: string; image?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; }; body?: BlockContent; rating?: number; orderRank?: string; }; export type Faq = { _id: string; _type: "faq"; _createdAt: string; _updatedAt: string; _rev: string; title?: string; body?: BlockContent; orderRank?: string; }; export type Category = { _id: string; _type: "category"; _createdAt: string; _updatedAt: string; _rev: string; title?: string; slug?: Slug; orderRank?: string; }; export type Slug = { _type: "slug"; current?: string; source?: string; }; export type Service = { _id: string; _type: "service"; _createdAt: string; _updatedAt: string; _rev: string; title?: string; slug?: Slug; targetAudience?: "couples" | "professionals"; tagline?: string; shortDescription?: string; coverImage?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; }; pricing?: string; features?: Array; body?: BlockContent; packages?: Array<{ name?: string; tagline?: string; price?: string; badge?: string; description?: string; deliverables?: Array; ctaText?: string; isPopular?: boolean; _type: "servicePackage"; _key: string; }>; processSteps?: Array<{ stepNumber?: string; title?: string; description?: string; _type: "processStep"; _key: string; }>; faqs?: Array< { _key: string; } & FaqReference >; ctaText?: string; ctaUrl?: string; meta?: Meta; orderRank?: string; }; export type Page = { _id: string; _type: "page"; _createdAt: string; _updatedAt: string; _rev: string; title?: string; slug?: Slug; blocks?: Array< | ({ _key: string; } & Hero1) | ({ _key: string; } & Hero2) | ({ _key: string; } & SectionHeader) | ({ _key: string; } & SplitRow) | ({ _key: string; } & GridRow) | ({ _key: string; } & Carousel1) | ({ _key: string; } & Carousel2) | ({ _key: string; } & TimelineRow) | ({ _key: string; } & Cta1) | ({ _key: string; } & LogoCloud1) | ({ _key: string; } & Faqs) | ({ _key: string; } & FormNewsletter) | ({ _key: string; } & AllPosts) >; meta?: Meta; orderRank?: string; }; export type AuthorReference = { _ref: string; _type: "reference"; _weak?: boolean; [internalGroqTypeReferenceTo]?: "author"; }; export type CategoryReference = { _ref: string; _type: "reference"; _weak?: boolean; [internalGroqTypeReferenceTo]?: "category"; }; export type Post = { _id: string; _type: "post"; _createdAt: string; _updatedAt: string; _rev: string; title?: string; slug?: Slug; excerpt?: string; author?: AuthorReference; image?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; }; categories?: Array< { _key: string; } & CategoryReference >; publishedAt?: string; featured?: boolean; body?: BlockContent; meta?: Meta; }; export type Author = { _id: string; _type: "author"; _createdAt: string; _updatedAt: string; _rev: string; name?: string; slug?: Slug; image?: { asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; }; role?: string; bio?: string; socialLinks?: Array<{ platform?: "website" | "linkedin" | "instagram" | "whatsapp"; url?: string; _key: string; }>; orderRank?: string; }; export type MediaTag = { _id: string; _type: "media.tag"; _createdAt: string; _updatedAt: string; _rev: string; name?: Slug; }; export type SanityImagePaletteSwatch = { _type: "sanity.imagePaletteSwatch"; background?: string; foreground?: string; population?: number; title?: string; }; export type SanityImagePalette = { _type: "sanity.imagePalette"; darkMuted?: SanityImagePaletteSwatch; lightVibrant?: SanityImagePaletteSwatch; darkVibrant?: SanityImagePaletteSwatch; vibrant?: SanityImagePaletteSwatch; dominant?: SanityImagePaletteSwatch; lightMuted?: SanityImagePaletteSwatch; muted?: SanityImagePaletteSwatch; }; export type SanityImageDimensions = { _type: "sanity.imageDimensions"; height?: number; width?: number; aspectRatio?: number; }; export type SanityImageMetadata = { _type: "sanity.imageMetadata"; location?: Geopoint; dimensions?: SanityImageDimensions; palette?: SanityImagePalette; lqip?: string; blurHash?: string; thumbHash?: string; hasAlpha?: boolean; isOpaque?: boolean; }; export type SanityFileAsset = { _id: string; _type: "sanity.fileAsset"; _createdAt: string; _updatedAt: string; _rev: string; originalFilename?: string; label?: string; title?: string; description?: string; altText?: string; sha1hash?: string; extension?: string; mimeType?: string; size?: number; assetId?: string; uploadId?: string; path?: string; url?: string; source?: SanityAssetSourceData; }; export type SanityAssetSourceData = { _type: "sanity.assetSourceData"; name?: string; id?: string; url?: string; }; export type SanityImageAsset = { _id: string; _type: "sanity.imageAsset"; _createdAt: string; _updatedAt: string; _rev: string; originalFilename?: string; label?: string; title?: string; description?: string; altText?: string; sha1hash?: string; extension?: string; mimeType?: string; size?: number; assetId?: string; uploadId?: string; path?: string; url?: string; metadata?: SanityImageMetadata; source?: SanityAssetSourceData; }; export type Geopoint = { _type: "geopoint"; lat?: number; lng?: number; alt?: number; }; export type AllSanitySchemaTypes = | Price | Meta | SanityImageAssetReference | MetaImage | AllPosts | FormNewsletter | FaqReference | Faqs | LogoCloud1 | Cta1 | Timelines1 | TimelineRow | TestimonialReference | Carousel2 | Carousel1 | GridRow | PostReference | GridPost | PricingCard | GridCard | SplitInfo | SplitInfoList | SplitImage | SplitCard | SplitCardsList | SplitContent | SplitRow | SectionHeader | Hero2 | Hero1 | SectionPadding | ButtonVariant | ColorVariant | ScenariosGrid | Gallery | Callout | PageReference | ServiceReference | Link | BlockContent | Venue | SanityImageCrop | SanityImageHotspot | PartnershipInquiry | Inquiry | Settings | Navigation | Testimonial | Faq | Category | Slug | Service | Page | AuthorReference | CategoryReference | Post | Author | MediaTag | SanityImagePaletteSwatch | SanityImagePalette | SanityImageDimensions | SanityImageMetadata | SanityFileAsset | SanityAssetSourceData | SanityImageAsset | Geopoint; // Source: ../frontend/sanity/queries/faqs.ts // Variable: ALL_FAQS_QUERY // Query: *[_type == "faq"] | order(orderRank asc, _createdAt asc){ _id, title, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }} export type ALL_FAQS_QUERY_RESULT = Array<{ _id: string; title: string | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; }>; // Source: ../frontend/sanity/queries/navigation.ts // Variable: NAVIGATION_QUERY // Query: *[_type == "navigation"]{ _type, _key, links } export type NAVIGATION_QUERY_RESULT = Array<{ _type: "navigation"; _key: null; links: Array< { _key: string; } & Link > | null; }>; // Source: ../frontend/sanity/queries/page.ts // Variable: PAGE_QUERY // Query: *[_type == "page" && slug.current == $slug][0]{ blocks[]{ _type == "hero-1" => { _type, _key, tagLine, title, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, links[]{ _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) }, }, _type == "hero-2" => { _type, _key, tagLine, title, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, links[]{ _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) }, }, _type == "section-header" => { _type, _key, padding, colorVariant, sectionWidth, stackAlign, tagLine, title, description, link{ _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) }, }, _type == "split-row" => { _type, _key, padding, colorVariant, noGap, splitColumns[]{ _type == "split-content" => { _type, _key, sticky, padding, colorVariant, tagLine, title, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, link{ _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) }, }, _type == "split-cards-list" => { _type, _key, list[]{ tagLine, title, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, }, }, _type == "split-image" => { _type, _key, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, }, _type == "split-info-list" => { _type, _key, list[]{ image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, title, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, tags[], }, }, }, }, _type == "grid-row" => { _type, _key, padding, colorVariant, gridColumns, columns[]{ _type == "grid-card" => { _type, _key, title, excerpt, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, link{ _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) }, }, _type == "pricing-card" => { _type, _key, title, tagLine, price, list[], excerpt, link{ _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) }, }, _type == "grid-post" => { _type, _key, post->{ title, slug, excerpt, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, categories[]->{ _id, title, }, }, }, }, }, _type == "carousel-1" => { _type, _key, padding, colorVariant, size, orientation, indicators, images[]{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, }, _type == "carousel-2" => { _type, _key, padding, colorVariant, testimonial[]->{ _id, name, title, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, rating, }, }, _type == "timeline-row" => { _type, _key, padding, colorVariant, timelines[]{ title, tagLine, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, }, }, _type == "cta-1" => { _type, _key, padding, colorVariant, sectionWidth, stackAlign, tagLine, title, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, links[]{ _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) }, }, _type == "logo-cloud-1" => { _type, _key, padding, colorVariant, title, images[]{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, }, _type == "faqs" => { _type, _key, padding, colorVariant, faqs[]->{ _id, title, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, }, }, _type == "form-newsletter" => { _type, _key, padding, colorVariant, stackAlign, consentText, buttonText, successMessage, }, _type == "all-posts" => { _type, _key, padding, colorVariant, }, }, meta{ title, description, noindex, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, } export type PAGE_QUERY_RESULT = { blocks: Array< | { _type: "all-posts"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; } | { _type: "carousel-1"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; size: "one" | "three" | "two" | null; orientation: null; indicators: "count" | "dots" | "none" | null; images: Array<{ asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; }> | null; } | { _type: "carousel-2"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; testimonial: Array<{ _id: string; name: string | null; title: string | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; } | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; rating: number | null; }> | null; } | { _type: "cta-1"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; sectionWidth: "default" | "narrow" | null; stackAlign: "center" | "left" | null; tagLine: string | null; title: string | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; links: Array<{ _key: string; _type: "link"; isExternal?: boolean; internalLink?: PageReference | PostReference | ServiceReference; title?: string; href: string | "/" | null; target?: boolean; buttonVariant?: ButtonVariant; }> | null; } | { _type: "faqs"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; faqs: Array<{ _id: string; title: string | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; }> | null; } | { _type: "form-newsletter"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; stackAlign: "center" | "left" | null; consentText: string | null; buttonText: string | null; successMessage: string | null; } | { _type: "grid-row"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; gridColumns: "grid-cols-2" | "grid-cols-3" | "grid-cols-4" | null; columns: Array< | { _type: "grid-card"; _key: string; title: string | null; excerpt: string | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; } | null; link: { _key: null; _type: "link"; isExternal?: boolean; internalLink?: PageReference | PostReference | ServiceReference; title?: string; href: string | "/" | null; target?: boolean; buttonVariant?: ButtonVariant; } | null; } | { _type: "grid-post"; _key: string; post: { title: string | null; slug: Slug | null; excerpt: string | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; } | null; categories: Array<{ _id: string; title: string | null; }> | null; } | null; } | { _type: "pricing-card"; _key: string; title: string | null; tagLine: string | null; price: Price | null; list: Array | null; excerpt: string | null; link: { _key: null; _type: "link"; isExternal?: boolean; internalLink?: PageReference | PostReference | ServiceReference; title?: string; href: string | "/" | null; target?: boolean; buttonVariant?: ButtonVariant; } | null; } > | null; } | { _type: "hero-1"; _key: string; tagLine: string | null; title: string | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; } | null; links: Array<{ _key: string; _type: "link"; isExternal?: boolean; internalLink?: PageReference | PostReference | ServiceReference; title?: string; href: string | "/" | null; target?: boolean; buttonVariant?: ButtonVariant; }> | null; } | { _type: "hero-2"; _key: string; tagLine: string | null; title: string | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; links: Array<{ _key: string; _type: "link"; isExternal?: boolean; internalLink?: PageReference | PostReference | ServiceReference; title?: string; href: string | "/" | null; target?: boolean; buttonVariant?: ButtonVariant; }> | null; } | { _type: "logo-cloud-1"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; title: string | null; images: Array<{ asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; }> | null; } | { _type: "section-header"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; sectionWidth: "default" | "narrow" | null; stackAlign: "center" | "left" | null; tagLine: string | null; title: string | null; description: string | null; link: null; } | { _type: "split-row"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; noGap: boolean | null; splitColumns: Array< | { _type: "split-cards-list"; _key: string; list: Array<{ tagLine: string | null; title: string | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; }> | null; } | { _type: "split-content"; _key: string; sticky: boolean | null; padding: SectionPadding | null; colorVariant: ColorVariant | null; tagLine: string | null; title: string | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; link: { _key: null; _type: "link"; isExternal?: boolean; internalLink?: PageReference | PostReference | ServiceReference; title?: string; href: string | "/" | null; target?: boolean; buttonVariant?: ButtonVariant; } | null; } | { _type: "split-image"; _key: string; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; } | null; } | { _type: "split-info-list"; _key: string; list: Array<{ image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; } | null; title: string | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; tags: Array | null; }> | null; } > | null; } | { _type: "timeline-row"; _key: string; padding: SectionPadding | null; colorVariant: ColorVariant | null; timelines: Array<{ title: string | null; tagLine: string | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; }> | null; } > | null; meta: { title: string | null; description: string | null; noindex: boolean | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; // Unable to locate the referenced type "meta.image.media" in schema hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; } | null; } | null; } | null; // Source: ../frontend/sanity/queries/page.ts // Variable: PAGES_SLUGS_QUERY // Query: *[_type == "page" && defined(slug)]{slug} export type PAGES_SLUGS_QUERY_RESULT = Array<{ slug: Slug; }>; // Source: ../frontend/sanity/queries/post.ts // Variable: POST_QUERY // Query: *[_type == "post" && slug.current == $slug][0]{ title, slug, excerpt, publishedAt, featured, categories[]->{ _id, title, slug }, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, author->{ name, role, bio, image { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } }, alt }, socialLinks[]{ platform, url } }, _createdAt, _updatedAt, meta{ title, description, noindex, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } },} export type POST_QUERY_RESULT = { title: string | null; slug: Slug | null; excerpt: string | null; publishedAt: string | null; featured: boolean | null; categories: Array<{ _id: string; title: string | null; slug: Slug | null; }> | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; } | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; author: { name: string | null; role: string | null; bio: string | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt: string | null; _type: "image"; } | null; socialLinks: Array<{ platform: "instagram" | "linkedin" | "website" | "whatsapp" | null; url: string | null; }> | null; } | null; _createdAt: string; _updatedAt: string; meta: { title: string | null; description: string | null; noindex: boolean | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; // Unable to locate the referenced type "meta.image.media" in schema hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; } | null; } | null; } | null; // Source: ../frontend/sanity/queries/post.ts // Variable: POSTS_QUERY // Query: *[_type == "post" && defined(slug)] | order(coalesce(publishedAt, _createdAt) desc){ title, slug, excerpt, publishedAt, featured, categories[]->{ _id, title, slug }, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, author->{ name, role },} export type POSTS_QUERY_RESULT = Array<{ title: string | null; slug: Slug; excerpt: string | null; publishedAt: string | null; featured: boolean | null; categories: Array<{ _id: string; title: string | null; slug: Slug | null; }> | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; } | null; author: { name: string | null; role: string | null; } | null; }>; // Source: ../frontend/sanity/queries/post.ts // Variable: POSTS_SLUGS_QUERY // Query: *[_type == "post" && defined(slug)]{slug} export type POSTS_SLUGS_QUERY_RESULT = Array<{ slug: Slug; }>; // Source: ../frontend/sanity/queries/service.ts // Variable: SERVICE_QUERY // Query: *[_type == "service" && slug.current == $slug][0]{ _id, title, slug, targetAudience, tagline, shortDescription, pricing, features, packages[]{ name, tagline, price, badge, description, deliverables, ctaText, isPopular }, processSteps[]{ stepNumber, title, description }, faqs[]->{ _id, title, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } } }, coverImage{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }, ctaText, ctaUrl, _createdAt, _updatedAt, meta{ title, description, noindex, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } },} export type SERVICE_QUERY_RESULT = { _id: string; title: string | null; slug: Slug | null; targetAudience: "couples" | "professionals" | null; tagline: string | null; shortDescription: string | null; pricing: string | null; features: Array | null; packages: Array<{ name: string | null; tagline: string | null; price: string | null; badge: string | null; description: string | null; deliverables: Array | null; ctaText: string | null; isPopular: boolean | null; }> | null; processSteps: Array<{ stepNumber: string | null; title: string | null; description: string | null; }> | null; faqs: Array<{ _id: string; title: string | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; }> | null; coverImage: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; } | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; ctaText: string | null; ctaUrl: string | null; _createdAt: string; _updatedAt: string; meta: { title: string | null; description: string | null; noindex: boolean | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; // Unable to locate the referenced type "meta.image.media" in schema hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; } | null; } | null; } | null; // Source: ../frontend/sanity/queries/service.ts // Variable: SERVICES_QUERY // Query: *[_type == "service" && defined(slug)] | order(orderRank asc, _createdAt asc){ _id, title, slug, targetAudience, tagline, shortDescription, pricing, features, coverImage{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, ctaText, ctaUrl,} export type SERVICES_QUERY_RESULT = Array<{ _id: string; title: string | null; slug: Slug; targetAudience: "couples" | "professionals" | null; tagline: string | null; shortDescription: string | null; pricing: string | null; features: Array | null; coverImage: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; } | null; ctaText: string | null; ctaUrl: string | null; }>; // Source: ../frontend/sanity/queries/service.ts // Variable: SERVICES_SLUGS_QUERY // Query: *[_type == "service" && defined(slug)]{slug} export type SERVICES_SLUGS_QUERY_RESULT = Array<{ slug: Slug; }>; // Source: ../frontend/sanity/queries/settings.ts // Variable: SETTINGS_QUERY // Query: *[_type == "settings"][0]{ _type, siteName, tagline, footerText, contactEmail, whatsapp, socialLinks[]{ platform, url }, logo{ dark{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, light{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, width, height, }, copyright} export type SETTINGS_QUERY_RESULT = { _type: "settings"; siteName: string | null; tagline: string | null; footerText: string | null; contactEmail: string | null; whatsapp: string | null; socialLinks: Array<{ platform: "facebook" | "instagram" | "linkedin" | "pinterest" | "whatsapp" | null; url: string | null; }> | null; logo: { dark: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; } | null; light: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; } | null; width: number | null; height: number | null; } | null; copyright: BlockContent | null; } | null; // Source: ../frontend/sanity/queries/testimonial.ts // Variable: TESTIMONIALS_QUERY // Query: *[_type == "testimonial"] | order(orderRank asc, _createdAt asc){ _id, name, title, rating, image{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, body[]{ ..., markDefs[]{ ..., _type == "link" => { _key, ..., "href": select( isExternal => href, defined(href) && !defined(internalLink) => href, @.internalLink->slug.current == "index" => "/", @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current, "/" + @.internalLink->slug.current ) } }, _type == "image" => { ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } } }} export type TESTIMONIALS_QUERY_RESULT = Array<{ _id: string; name: string | null; title: string | null; rating: number | null; image: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; _type: "image"; } | null; body: Array< | { children?: Array<{ marks?: Array; text?: string; _type: "span"; _key: string; }>; style?: "blockquote" | "h1" | "h2" | "h3" | "h4" | "normal"; listItem?: "bullet" | "number"; markDefs: Array<{ isExternal?: boolean; internalLink?: PageReference | PostReference; href: string | "/" | null; target?: boolean; _type: "link"; _key: string; }> | null; level?: number; _type: "block"; _key: string; } | { _key: string; _type: "callout"; tone?: "gold" | "highlight" | "neutral"; title?: string; content?: string; markDefs: null; } | { _key: string; _type: "gallery"; layout?: "2col" | "3col" | "masonry"; caption?: string; images?: Array<{ asset?: SanityImageAssetReference; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; caption?: string; _type: "image"; _key: string; }>; markDefs: null; } | { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; _key: string; markDefs: null; } | { _key: string; _type: "scenariosGrid"; items?: Array<{ title?: string; upside?: string; downside?: string; _type: "scenario"; _key: string; }>; markDefs: null; } | { videoId?: string; _type: "youtube"; _key: string; markDefs: null; } > | null; }>; // Source: ../frontend/sanity/queries/venue.ts // Variable: VENUES_QUERY // Query: *[_type == "venue"] | order(orderRank asc, _createdAt asc){ _id, name, region, logo{ ..., asset->{ _id, url, mimeType, metadata { lqip, dimensions { width, height } } } }, logoUrl, url, width, height,} export type VENUES_QUERY_RESULT = Array<{ _id: string; name: string | null; region: string | null; logo: { asset: { _id: string; url: string | null; mimeType: string | null; metadata: { lqip: string | null; dimensions: { width: number | null; height: number | null; } | null; } | null; } | null; media?: unknown; hotspot?: SanityImageHotspot; crop?: SanityImageCrop; alt?: string; _type: "image"; } | null; logoUrl: string | null; url: string | null; width: number | null; height: number | null; }>; // Query TypeMap import "@sanity/client"; declare module "@sanity/client" { interface SanityQueries { '*[_type == "faq"] | order(orderRank asc, _createdAt asc){\n _id,\n title,\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n }\n}': ALL_FAQS_QUERY_RESULT; '\n *[_type == "navigation"]{\n _type,\n _key,\n links\n }\n': NAVIGATION_QUERY_RESULT; '\n *[_type == "page" && slug.current == $slug][0]{\n blocks[]{\n \n _type == "hero-1" => {\n _type,\n _key,\n tagLine,\n title,\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n links[]{\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n },\n }\n,\n \n _type == "hero-2" => {\n _type,\n _key,\n tagLine,\n title,\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n links[]{\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n },\n }\n,\n \n _type == "section-header" => {\n _type,\n _key,\n padding,\n colorVariant,\n sectionWidth,\n stackAlign,\n tagLine,\n title,\n description,\n link{\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n },\n }\n,\n \n _type == "split-row" => {\n _type,\n _key,\n padding,\n colorVariant,\n noGap,\n splitColumns[]{\n \n _type == "split-content" => {\n _type,\n _key,\n sticky,\n padding,\n colorVariant,\n tagLine,\n title,\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n link{\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n },\n }\n,\n \n _type == "split-cards-list" => {\n _type,\n _key,\n list[]{\n tagLine,\n title,\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n },\n }\n,\n \n _type == "split-image" => {\n _type,\n _key,\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n }\n,\n \n _type == "split-info-list" => {\n _type,\n _key,\n list[]{\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n title,\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n tags[],\n },\n }\n,\n },\n }\n,\n \n _type == "grid-row" => {\n _type,\n _key,\n padding,\n colorVariant,\n gridColumns,\n columns[]{\n \n _type == "grid-card" => {\n _type,\n _key,\n title,\n excerpt,\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n link{\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n },\n }\n,\n \n _type == "pricing-card" => {\n _type,\n _key,\n title,\n tagLine,\n price,\n list[],\n excerpt,\n link{\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n },\n }\n,\n \n _type == "grid-post" => {\n _type,\n _key,\n post->{\n title,\n slug,\n excerpt,\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n categories[]->{\n _id,\n title,\n },\n },\n }\n,\n },\n }\n,\n \n _type == "carousel-1" => {\n _type,\n _key,\n padding,\n colorVariant,\n size,\n orientation,\n indicators,\n images[]{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n }\n,\n \n _type == "carousel-2" => {\n _type,\n _key,\n padding,\n colorVariant,\n testimonial[]->{\n _id,\n name,\n title,\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n rating,\n },\n }\n,\n \n _type == "timeline-row" => {\n _type,\n _key,\n padding,\n colorVariant,\n timelines[]{\n title,\n tagLine,\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n },\n }\n,\n \n _type == "cta-1" => {\n _type,\n _key,\n padding,\n colorVariant,\n sectionWidth,\n stackAlign,\n tagLine,\n title,\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n links[]{\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n },\n }\n,\n \n _type == "logo-cloud-1" => {\n _type,\n _key,\n padding,\n colorVariant,\n title,\n images[]{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n }\n,\n \n _type == "faqs" => {\n _type,\n _key,\n padding,\n colorVariant,\n faqs[]->{\n _id,\n title,\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n },\n }\n,\n \n _type == "form-newsletter" => {\n _type,\n _key,\n padding,\n colorVariant,\n stackAlign,\n consentText,\n buttonText,\n successMessage,\n }\n,\n \n _type == "all-posts" => {\n _type,\n _key,\n padding,\n colorVariant,\n }\n,\n },\n \n meta{\n title,\n description,\n noindex,\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n }\n,\n }\n': PAGE_QUERY_RESULT; '*[_type == "page" && defined(slug)]{slug}': PAGES_SLUGS_QUERY_RESULT; '*[_type == "post" && slug.current == $slug][0]{\n title,\n slug,\n excerpt,\n publishedAt,\n featured,\n categories[]->{\n _id,\n title,\n slug\n },\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n author->{\n name,\n role,\n bio,\n image {\n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n },\n alt\n },\n socialLinks[]{\n platform,\n url\n }\n },\n _createdAt,\n _updatedAt,\n \n meta{\n title,\n description,\n noindex,\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n }\n,\n}': POST_QUERY_RESULT; '*[_type == "post" && defined(slug)] | order(coalesce(publishedAt, _createdAt) desc){\n title,\n slug,\n excerpt,\n publishedAt,\n featured,\n categories[]->{\n _id,\n title,\n slug\n },\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n author->{\n name,\n role\n },\n}': POSTS_QUERY_RESULT; '*[_type == "post" && defined(slug)]{slug}': POSTS_SLUGS_QUERY_RESULT; '*[_type == "service" && slug.current == $slug][0]{\n _id,\n title,\n slug,\n targetAudience,\n tagline,\n shortDescription,\n pricing,\n features,\n packages[]{\n name,\n tagline,\n price,\n badge,\n description,\n deliverables,\n ctaText,\n isPopular\n },\n processSteps[]{\n stepNumber,\n title,\n description\n },\n faqs[]->{\n _id,\n title,\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n }\n },\n coverImage{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n },\n ctaText,\n ctaUrl,\n _createdAt,\n _updatedAt,\n \n meta{\n title,\n description,\n noindex,\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n }\n,\n}': SERVICE_QUERY_RESULT; '*[_type == "service" && defined(slug)] | order(orderRank asc, _createdAt asc){\n _id,\n title,\n slug,\n targetAudience,\n tagline,\n shortDescription,\n pricing,\n features,\n coverImage{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n ctaText,\n ctaUrl,\n}': SERVICES_QUERY_RESULT; '*[_type == "service" && defined(slug)]{slug}': SERVICES_SLUGS_QUERY_RESULT; '*[_type == "settings"][0]{\n _type,\n siteName,\n tagline,\n footerText,\n contactEmail,\n whatsapp,\n socialLinks[]{\n platform,\n url\n },\n logo{\n dark{\n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n },\n light{\n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n },\n width,\n height,\n },\n copyright\n}': SETTINGS_QUERY_RESULT; '*[_type == "testimonial"] | order(orderRank asc, _createdAt asc){\n _id,\n name,\n title,\n rating,\n image{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n body[]{\n \n ...,\n markDefs[]{\n ...,\n _type == "link" => {\n \n _key,\n ...,\n "href": select(\n isExternal => href,\n defined(href) && !defined(internalLink) => href,\n @.internalLink->slug.current == "index" => "/",\n @.internalLink->_type == "post" => "/blog/" + @.internalLink->slug.current,\n "/" + @.internalLink->slug.current\n )\n\n }\n },\n _type == "image" => {\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n }\n\n }\n}': TESTIMONIALS_QUERY_RESULT; '*[_type == "venue"] | order(orderRank asc, _createdAt asc){\n _id,\n name,\n region,\n logo{\n \n ...,\n asset->{\n _id,\n url,\n mimeType,\n metadata {\n lqip,\n dimensions {\n width,\n height\n }\n }\n }\n\n },\n logoUrl,\n url,\n width,\n height,\n}': VENUES_QUERY_RESULT; } }