web: remove redundant on self wrapping in queries and add typename
This commit is contained in:
@@ -6,7 +6,7 @@ import { PageContent } from "@/components/general/PageContent";
|
|||||||
|
|
||||||
const AssociationIndexDefinition = graphql(`
|
const AssociationIndexDefinition = graphql(`
|
||||||
fragment AssociationIndex on AssociationIndex {
|
fragment AssociationIndex on AssociationIndex {
|
||||||
... on AssociationIndex {
|
__typename
|
||||||
title
|
title
|
||||||
seoTitle
|
seoTitle
|
||||||
searchDescription
|
searchDescription
|
||||||
@@ -15,7 +15,6 @@ const AssociationIndexDefinition = graphql(`
|
|||||||
...Blocks
|
...Blocks
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
`);
|
`);
|
||||||
|
|
||||||
const AssociationFragmentDefinition = graphql(`
|
const AssociationFragmentDefinition = graphql(`
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { PageHeader } from "@/components/general/PageHeader";
|
|||||||
|
|
||||||
const ContactIndexDefinition = graphql(`
|
const ContactIndexDefinition = graphql(`
|
||||||
fragment ContactIndex on ContactIndex {
|
fragment ContactIndex on ContactIndex {
|
||||||
... on ContactIndex {
|
__typename
|
||||||
title
|
title
|
||||||
seoTitle
|
seoTitle
|
||||||
searchDescription
|
searchDescription
|
||||||
@@ -15,7 +15,6 @@ const ContactIndexDefinition = graphql(`
|
|||||||
...Blocks
|
...Blocks
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
`);
|
`);
|
||||||
|
|
||||||
export const contactQuery = graphql(`
|
export const contactQuery = graphql(`
|
||||||
|
|||||||
@@ -14,12 +14,11 @@ import { NewsList } from "@/components/news/NewsList";
|
|||||||
|
|
||||||
const HomeFragmentDefinition = graphql(`
|
const HomeFragmentDefinition = graphql(`
|
||||||
fragment Home on HomePage {
|
fragment Home on HomePage {
|
||||||
... on HomePage {
|
__typename
|
||||||
featuredEvents {
|
featuredEvents {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
`);
|
`);
|
||||||
|
|
||||||
export const homeQuery = graphql(`
|
export const homeQuery = graphql(`
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { SponsorList } from "@/components/sponsor/SponsorList";
|
|||||||
|
|
||||||
const SponsorsPageFragmentDefinition = graphql(`
|
const SponsorsPageFragmentDefinition = graphql(`
|
||||||
fragment SponsorsPage on SponsorsPage {
|
fragment SponsorsPage on SponsorsPage {
|
||||||
... on SponsorsPage {
|
__typename
|
||||||
title
|
title
|
||||||
seoTitle
|
seoTitle
|
||||||
searchDescription
|
searchDescription
|
||||||
@@ -20,7 +20,6 @@ const SponsorsPageFragmentDefinition = graphql(`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
`);
|
`);
|
||||||
|
|
||||||
export const sponsorsPageQuery = graphql(`
|
export const sponsorsPageQuery = graphql(`
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { VenueList } from "@/components/venues/VenueList";
|
|||||||
|
|
||||||
const VenueIndexDefinition = graphql(`
|
const VenueIndexDefinition = graphql(`
|
||||||
fragment VenueIndex on VenueIndex {
|
fragment VenueIndex on VenueIndex {
|
||||||
... on VenueIndex {
|
__typename
|
||||||
title
|
title
|
||||||
seoTitle
|
seoTitle
|
||||||
searchDescription
|
searchDescription
|
||||||
@@ -15,7 +15,6 @@ const VenueIndexDefinition = graphql(`
|
|||||||
...Blocks
|
...Blocks
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
`);
|
`);
|
||||||
|
|
||||||
const VenueFragmentDefinition = graphql(`
|
const VenueFragmentDefinition = graphql(`
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import { VenueList } from "@/components/venues/VenueList";
|
|||||||
|
|
||||||
const VenueRentalIndexDefinition = graphql(`
|
const VenueRentalIndexDefinition = graphql(`
|
||||||
fragment VenueRentalIndex on VenueRentalIndex {
|
fragment VenueRentalIndex on VenueRentalIndex {
|
||||||
... on VenueRentalIndex {
|
__typename
|
||||||
title
|
title
|
||||||
seoTitle
|
seoTitle
|
||||||
searchDescription
|
searchDescription
|
||||||
@@ -16,7 +16,6 @@ const VenueRentalIndexDefinition = graphql(`
|
|||||||
...Blocks
|
...Blocks
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
`);
|
`);
|
||||||
|
|
||||||
export const venueRentalIndexQuery = graphql(`
|
export const venueRentalIndexQuery = graphql(`
|
||||||
|
|||||||
Reference in New Issue
Block a user