@city-of-helsinki/react-helsinki-headless-cms 3.0.0-rc.1 → 3.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE +21 -0
- package/dist/README.md +442 -0
- package/dist/__generated__-mcycL1jB.d.ts +7192 -0
- package/dist/apollo.d.ts +168 -0
- package/dist/apollo.js +194 -0
- package/dist/apollo.js.map +1 -0
- package/dist/archiveSearchPageContent.module-DmpLBZP5.js +4078 -0
- package/dist/archiveSearchPageContent.module-DmpLBZP5.js.map +1 -0
- package/dist/cjs/apollo.js +227 -0
- package/dist/cjs/apollo.js.map +1 -0
- package/dist/cjs/archiveSearchPageContent.module-Hcb4WVMf.js +4143 -0
- package/dist/cjs/archiveSearchPageContent.module-Hcb4WVMf.js.map +1 -0
- package/dist/cjs/defaultConfig-dV2AVA5S.js +19908 -0
- package/dist/cjs/defaultConfig-dV2AVA5S.js.map +1 -0
- package/dist/cjs/index-Eg-NhhyT.js +799 -0
- package/dist/cjs/index-Eg-NhhyT.js.map +1 -0
- package/dist/cjs/index.js +439 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/jest-setup.d.ts +1 -0
- package/dist/cjs/nextjs.js +74 -0
- package/dist/cjs/nextjs.js.map +1 -0
- package/dist/cjs/src/apollo/apollo-custom-template.stories.d.ts +12 -0
- package/dist/cjs/src/apollo/apollo.stories.d.ts +24 -0
- package/dist/cjs/src/apollo/index.d.ts +17 -0
- package/dist/cjs/src/apollo/navigation/Navigation.d.ts +13 -0
- package/dist/cjs/src/apollo/navigation/__tests__/Navigation.test.d.ts +1 -0
- package/dist/cjs/src/apollo/notification/Notification.d.ts +4 -0
- package/dist/cjs/src/apollo/notification/__tests__/Notification.test.d.ts +1 -0
- package/dist/cjs/src/apollo/page/ApolloPageContextProvider.d.ts +5 -0
- package/dist/cjs/src/apollo/page/Page.d.ts +14 -0
- package/dist/cjs/src/apollo/page/apolloPageContext.d.ts +13 -0
- package/dist/cjs/src/apollo/page/useApolloPageContext.d.ts +4 -0
- package/dist/cjs/src/apollo/pageContent/PageContent.d.ts +9 -0
- package/dist/cjs/src/apollo/pageWithTemplateContent/PageWithTemplateContent.d.ts +14 -0
- package/dist/cjs/src/common/components/container/Container.d.ts +13 -0
- package/dist/cjs/src/common/components/grid/Grid.d.ts +16 -0
- package/dist/cjs/src/common/components/grid/Grid.stories.d.ts +8 -0
- package/dist/cjs/src/common/components/htmlToReact/HtmlToReact.d.ts +38 -0
- package/dist/cjs/src/common/components/htmlToReact/HtmlToReact.stories.d.ts +13 -0
- package/dist/cjs/src/common/components/htmlToReact/__tests__/HtmlToReact.tests.d.ts +1 -0
- package/dist/cjs/src/common/components/htmlToReact/replaceComponents/DefaultH2.d.ts +4 -0
- package/dist/cjs/src/common/components/htmlToReact/replaceComponents/DefaultP.d.ts +4 -0
- package/dist/cjs/src/common/components/htmlToReact/replaceComponents/IframeForEmbeddedMedia.d.ts +6 -0
- package/dist/cjs/src/common/components/htmlToReact/replaceComponents/index.d.ts +3 -0
- package/dist/cjs/src/common/components/icons/index.d.ts +5 -0
- package/dist/cjs/src/common/components/list/List.d.ts +13 -0
- package/dist/cjs/src/common/components/list/List.stories.d.ts +13 -0
- package/dist/cjs/src/common/components/tag/Tag.d.ts +26 -0
- package/dist/cjs/src/common/components/tag/Tag.stories.d.ts +80 -0
- package/dist/cjs/src/common/components/tag/__tests__/Tag.test.d.ts +1 -0
- package/dist/cjs/src/common/components/tag/tagThemes.d.ts +3 -0
- package/dist/cjs/src/common/components/text/Text.d.ts +27 -0
- package/dist/cjs/src/common/components/text/Text.stories.d.ts +14 -0
- package/dist/cjs/src/common/constants.d.ts +2 -0
- package/dist/cjs/src/common/eventsService/__generated__.d.ts +1420 -0
- package/dist/cjs/src/common/eventsService/events.d.ts +12 -0
- package/dist/cjs/src/common/eventsService/types.d.ts +2 -0
- package/dist/cjs/src/common/eventsService/utils.d.ts +7 -0
- package/dist/cjs/src/common/headlessService/__generated__.d.ts +20878 -0
- package/dist/cjs/src/common/headlessService/article.d.ts +7 -0
- package/dist/cjs/src/common/headlessService/articles.d.ts +17 -0
- package/dist/cjs/src/common/headlessService/categories.d.ts +13 -0
- package/dist/cjs/src/common/headlessService/category.d.ts +9 -0
- package/dist/cjs/src/common/headlessService/constants.d.ts +7 -0
- package/dist/cjs/src/common/headlessService/landingPage.d.ts +9 -0
- package/dist/cjs/src/common/headlessService/languages.d.ts +8 -0
- package/dist/cjs/src/common/headlessService/makeQueryWithApolloClientFromConfig.d.ts +12 -0
- package/dist/cjs/src/common/headlessService/menu.d.ts +10 -0
- package/dist/cjs/src/common/headlessService/notification.d.ts +7 -0
- package/dist/cjs/src/common/headlessService/page.d.ts +8 -0
- package/dist/cjs/src/common/headlessService/pageByTemplate.d.ts +9 -0
- package/dist/cjs/src/common/headlessService/pages.d.ts +13 -0
- package/dist/cjs/src/common/headlessService/tag.d.ts +9 -0
- package/dist/cjs/src/common/headlessService/tags.d.ts +13 -0
- package/dist/cjs/src/common/headlessService/types.d.ts +17 -0
- package/dist/cjs/src/common/headlessService/utils.d.ts +909 -0
- package/dist/cjs/src/common/utils/customRender.d.ts +4 -0
- package/dist/cjs/src/common/utils/dates.d.ts +20 -0
- package/dist/cjs/src/common/utils/getIsValidHttpUrl.d.ts +5 -0
- package/dist/cjs/src/common/utils/hash.d.ts +1 -0
- package/dist/cjs/src/common/utils/makeLocaleStorageValue.d.ts +6 -0
- package/dist/cjs/src/common/utils/testImage.d.ts +9 -0
- package/dist/cjs/src/common/venuesService/__generated__.d.ts +254 -0
- package/dist/cjs/src/common/venuesService/makeQueryWithVenuesApolloClientFromConfig.d.ts +7 -0
- package/dist/cjs/src/common/venuesService/types.d.ts +2 -0
- package/dist/cjs/src/constants.d.ts +5 -0
- package/dist/cjs/src/core/archiveSearchPage/ArchivePageMeta.d.ts +13 -0
- package/dist/cjs/src/core/archiveSearchPage/ArchiveSearchPage.d.ts +16 -0
- package/dist/cjs/src/core/archiveSearchPage/ArchiveSearchPage.stories.d.ts +50 -0
- package/dist/cjs/src/core/archiveSearchPageContent/ArchiveSearchPageContent.d.ts +92 -0
- package/dist/cjs/src/core/button/LoadingButton.d.ts +8 -0
- package/dist/cjs/src/core/card/Card.d.ts +102 -0
- package/dist/cjs/src/core/card/Card.stories.d.ts +99 -0
- package/dist/cjs/src/core/card/LargeCard.d.ts +68 -0
- package/dist/cjs/src/core/card/LargeCard.stories.d.ts +16 -0
- package/dist/cjs/src/core/cardsList/CardsList.d.ts +16 -0
- package/dist/cjs/src/core/cardsList/CardsList.stories.d.ts +22 -0
- package/dist/cjs/src/core/carousel/Carousel.d.ts +3 -0
- package/dist/cjs/src/core/carousel/Carousel.stories.d.ts +34 -0
- package/dist/cjs/src/core/carousel/__tests__/Carousel.test.d.ts +1 -0
- package/dist/cjs/src/core/carousel/components/CarouselSlideButton.d.ts +3 -0
- package/dist/cjs/src/core/carousel/components/CarouselSlider.d.ts +3 -0
- package/dist/cjs/src/core/carousel/components/CarouselSliderDot.d.ts +2 -0
- package/dist/cjs/src/core/carousel/components/CarouselSliderPage.d.ts +5 -0
- package/dist/cjs/src/core/carousel/components/__tests__/CarouselSlideButton.test.d.ts +1 -0
- package/dist/cjs/src/core/carousel/components/__tests__/CarouselSlider.test.d.ts +1 -0
- package/dist/cjs/src/core/carousel/components/__tests__/CarouselSliderDot.test.d.ts +1 -0
- package/dist/cjs/src/core/carousel/components/__tests__/CarouselSliderPage.test.d.ts +1 -0
- package/dist/cjs/src/core/carousel/constants.d.ts +20 -0
- package/dist/cjs/src/core/carousel/context/CarouselContext.d.ts +4 -0
- package/dist/cjs/src/core/carousel/context/CarouselContextProvider.d.ts +7 -0
- package/dist/cjs/src/core/carousel/types.d.ts +147 -0
- package/dist/cjs/src/core/carousel/utils/utils.d.ts +27 -0
- package/dist/cjs/src/core/collection/Collection.d.ts +102 -0
- package/dist/cjs/src/core/collection/Collection.stories.d.ts +48 -0
- package/dist/cjs/src/core/collection/__tests__/Collection.test.d.ts +1 -0
- package/dist/cjs/src/core/collection/constants.d.ts +1 -0
- package/dist/cjs/src/core/collection/types.d.ts +28 -0
- package/dist/cjs/src/core/collection/utils.d.ts +36 -0
- package/dist/cjs/src/core/configProvider/ConfigProvider.d.ts +13 -0
- package/dist/cjs/src/core/configProvider/configContext.d.ts +130 -0
- package/dist/cjs/src/core/configProvider/defaultConfig.d.ts +61 -0
- package/dist/cjs/src/core/configProvider/useApolloClientFromConfig.d.ts +1 -0
- package/dist/cjs/src/core/configProvider/useConfig.d.ts +2 -0
- package/dist/cjs/src/core/configProvider/useEventsApolloClientFromConfig.d.ts +1 -0
- package/dist/cjs/src/core/configProvider/useHeadlessCmsLink.d.ts +2 -0
- package/dist/cjs/src/core/configProvider/useVenuesApolloClientFromConfig.d.ts +1 -0
- package/dist/cjs/src/core/contentContainer/ContentContainer.d.ts +12 -0
- package/dist/cjs/src/core/contentContainer/ContentContainer.stories.d.ts +8 -0
- package/dist/cjs/src/core/hero/Hero.d.ts +33 -0
- package/dist/cjs/src/core/hero/Hero.stories.d.ts +23 -0
- package/dist/cjs/src/core/hooks/useResolveImageUrl.d.ts +6 -0
- package/dist/cjs/src/core/image/BackgroundImage.d.ts +20 -0
- package/dist/cjs/src/core/image/Image.d.ts +24 -0
- package/dist/cjs/src/core/image/__tests__/BackgroundImage.test.d.ts +1 -0
- package/dist/cjs/src/core/image/__tests__/Image.test.d.ts +1 -0
- package/dist/cjs/src/core/imageGallery/ImageGallery.d.ts +25 -0
- package/dist/cjs/src/core/imageGallery/ImageGalleryContext.d.ts +32 -0
- package/dist/cjs/src/core/imageGallery/ImageGalleryProvider.d.ts +10 -0
- package/dist/cjs/src/core/imageGallery/ImageItem.d.ts +26 -0
- package/dist/cjs/src/core/imageGallery/ImagesGrid.d.ts +26 -0
- package/dist/cjs/src/core/imageGallery/Lightbox.d.ts +24 -0
- package/dist/cjs/src/core/imageGallery/types.d.ts +6 -0
- package/dist/cjs/src/core/imageGallery/useImageGalleryContext.d.ts +1 -0
- package/dist/cjs/src/core/index.d.ts +43 -0
- package/dist/cjs/src/core/language/__tests__/languageSorter.test.d.ts +1 -0
- package/dist/cjs/src/core/language/constants.d.ts +6 -0
- package/dist/cjs/src/core/language/findLanguage.d.ts +10 -0
- package/dist/cjs/src/core/language/index.d.ts +6 -0
- package/dist/cjs/src/core/language/languageSorter.d.ts +4 -0
- package/dist/cjs/src/core/language/toPrimaryLanguageOption.d.ts +5 -0
- package/dist/cjs/src/core/language/typeGuards.d.ts +3 -0
- package/dist/cjs/src/core/language/types.d.ts +5 -0
- package/dist/cjs/src/core/link/Link.d.ts +44 -0
- package/dist/cjs/src/core/link/Link.stories.d.ts +33 -0
- package/dist/cjs/src/core/link/LinkBase.d.ts +106 -0
- package/dist/cjs/src/core/link/SecondaryLink.d.ts +3 -0
- package/dist/cjs/src/core/link/__tests__/Link.test.d.ts +1 -0
- package/dist/cjs/src/core/linkBox/Link.stories.d.ts +23 -0
- package/dist/cjs/src/core/linkBox/LinkBox.d.ts +20 -0
- package/dist/cjs/src/core/navigation/Navigation.d.ts +15 -0
- package/dist/cjs/src/core/notification/Notification.d.ts +9 -0
- package/dist/cjs/src/core/notification/__tests__/Notification.test.d.ts +1 -0
- package/dist/cjs/src/core/notification/utils/getIsNotificationActive.d.ts +2 -0
- package/dist/cjs/src/core/notification/utils/getNotificationHash.d.ts +2 -0
- package/dist/cjs/src/core/page/Page.d.ts +9 -0
- package/dist/cjs/src/core/page/Page.stories.d.ts +40 -0
- package/dist/cjs/src/core/pageContent/PageContent.d.ts +11 -0
- package/dist/cjs/src/core/pageContent/PageContent.stories.d.ts +1146 -0
- package/dist/cjs/src/core/pageContent/PageContentBreadcrumb.d.ts +5 -0
- package/dist/cjs/src/core/pageContent/PageContentLayout.d.ts +16 -0
- package/dist/cjs/src/core/pageContent/PageMainContent.d.ts +11 -0
- package/dist/cjs/src/core/pageContent/__tests__/Page.test.d.ts +1 -0
- package/dist/cjs/src/core/pageContent/meta/PageMeta.d.ts +9 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/SidebarCardsList.d.ts +5 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/SidebarContent.d.ts +15 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/SidebarContentCard.d.ts +12 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/SidebarContentLinkList.d.ts +5 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/SidebarPostListItem.d.ts +8 -0
- package/dist/cjs/src/core/pageContent/sidebarContent/__tests__/SidebarContent.test.d.ts +1 -0
- package/dist/cjs/src/core/pageContent/types.d.ts +36 -0
- package/dist/cjs/src/core/pageContent/utils.d.ts +28 -0
- package/dist/cjs/src/core/pageContextProvider/PageContext.d.ts +6 -0
- package/dist/cjs/src/core/pageContextProvider/PageContextProvider.d.ts +6 -0
- package/dist/cjs/src/core/pageContextProvider/__tests__/PageContextProvider.test.d.ts +1 -0
- package/dist/cjs/src/core/pageContextProvider/usePageContext.d.ts +1 -0
- package/dist/cjs/src/core/pageModules/CardModule/CardModule.d.ts +3 -0
- package/dist/cjs/src/core/pageModules/CardModule/CardModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/CardsModule/CardsModule.d.ts +17 -0
- package/dist/cjs/src/core/pageModules/CardsModule/CardsModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/CardsModule/Icon.d.ts +6 -0
- package/dist/cjs/src/core/pageModules/CardsModule/SimpleCard.d.ts +13 -0
- package/dist/cjs/src/core/pageModules/ContentModule/ContentModule.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/ContentModule/ContentModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/ImageGalleryModule/ImageGalleryModule.d.ts +3 -0
- package/dist/cjs/src/core/pageModules/ImageGalleryModule/ImageGalleryModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/SocialMediaFeedModule/SocialMediaFeedModule.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/SocialMediaFeedModule/SocialMediaFeedModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/StepsModule/StepsModule.d.ts +14 -0
- package/dist/cjs/src/core/pageModules/StepsModule/StepsModule.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageModules/constants.d.ts +1 -0
- package/dist/cjs/src/core/pageSection/PageSection.d.ts +32 -0
- package/dist/cjs/src/core/pageSection/PageSection.stories.d.ts +7 -0
- package/dist/cjs/src/core/pageSection/__tests__/PageSection.test.d.ts +1 -0
- package/dist/cjs/src/core/storyContainer/StoryContainer.d.ts +6 -0
- package/dist/cjs/src/core/translation/__tests__/getTranslationWithFallback.test.d.ts +1 -0
- package/dist/cjs/src/core/translation/constants.d.ts +12 -0
- package/dist/cjs/src/core/translation/getTranslationWithFallback.d.ts +4 -0
- package/dist/cjs/src/core/translation/types.d.ts +8 -0
- package/dist/cjs/src/core/translation/useTranslationWithFallback.d.ts +4 -0
- package/dist/cjs/src/core/utils/__tests__/findAllElementsOfType.test.d.ts +1 -0
- package/dist/cjs/src/core/utils/__tests__/getChildrenByType.test.d.ts +1 -0
- package/dist/cjs/src/core/utils/__tests__/recursiveMap.test.d.ts +1 -0
- package/dist/cjs/src/core/utils/createHashKey.d.ts +1 -0
- package/dist/cjs/src/core/utils/findAllElementsOfType.d.ts +5 -0
- package/dist/cjs/src/core/utils/getChildrenByType.d.ts +18 -0
- package/dist/cjs/src/core/utils/isTrustedOrigin.d.ts +1 -0
- package/dist/cjs/src/core/utils/recursiveMap.d.ts +15 -0
- package/dist/cjs/src/core/utils/string.d.ts +27 -0
- package/dist/cjs/src/core/utils/validateTrustedOriginsFormat.d.ts +1 -0
- package/dist/cjs/src/linkedEvents/utils/normalizeKey.d.ts +10 -0
- package/dist/cjs/src/linkedEvents/utils/normalizeKeys.d.ts +28 -0
- package/dist/cjs/src/mocks/handlers.d.ts +1 -0
- package/dist/cjs/src/mocks/queries/cms/languages.d.ts +1 -0
- package/dist/cjs/src/mocks/queries/cms/menu.d.ts +1 -0
- package/dist/cjs/src/mocks/queries/cms/notification.d.ts +1 -0
- package/dist/cjs/src/mocks/queries/cms/page.d.ts +1 -0
- package/dist/cjs/src/mocks/queries/linkedEvents/eventList.d.ts +242 -0
- package/dist/cjs/src/mocks/queries/linkedEvents/eventsByIds.d.ts +224 -0
- package/dist/cjs/src/mocks/responses/linkedEvents/eventMocks.d.ts +1112 -0
- package/dist/cjs/src/mocks/server.d.ts +1 -0
- package/dist/cjs/src/nextjs/getLanguageStaticProps.d.ts +3 -0
- package/dist/cjs/src/nextjs/getMenuStaticProps.d.ts +7 -0
- package/dist/cjs/src/nextjs/getPageStaticProps.d.ts +7 -0
- package/dist/cjs/src/nextjs/index.d.ts +3 -0
- package/dist/cjs/src/storybook-common/HelmetWrapper.d.ts +4 -0
- package/dist/cjs/src/storybook-common/constants.d.ts +9 -0
- package/dist/cjs/src/storybook-common/useCmsEndpointConfig.d.ts +3 -0
- package/dist/cjs/src/tests/apolloConfig.d.ts +2 -0
- package/dist/cjs/src/tests/hideConsoleMessages.d.ts +11 -0
- package/dist/configContext-BjJVyERb.d.ts +791 -0
- package/dist/defaultConfig-B0wJw6Kr.js +19810 -0
- package/dist/defaultConfig-B0wJw6Kr.js.map +1 -0
- package/dist/index-B0pDvzoV.js +2 -0
- package/dist/index-B0pDvzoV.js.map +1 -0
- package/dist/index.d.ts +1432 -0
- package/dist/index.js +333 -0
- package/dist/index.js.map +1 -0
- package/dist/jest-setup.d.ts +1 -0
- package/dist/nextjs.d.ts +17 -0
- package/dist/nextjs.js +70 -0
- package/dist/nextjs.js.map +1 -0
- package/dist/package.json +182 -0
- package/dist/src/apollo/apollo-custom-template.stories.d.ts +12 -0
- package/dist/src/apollo/apollo.stories.d.ts +24 -0
- package/dist/src/apollo/index.d.ts +17 -0
- package/dist/src/apollo/navigation/Navigation.d.ts +13 -0
- package/dist/src/apollo/navigation/__tests__/Navigation.test.d.ts +1 -0
- package/dist/src/apollo/notification/Notification.d.ts +4 -0
- package/dist/src/apollo/notification/__tests__/Notification.test.d.ts +1 -0
- package/dist/src/apollo/page/ApolloPageContextProvider.d.ts +5 -0
- package/dist/src/apollo/page/Page.d.ts +14 -0
- package/dist/src/apollo/page/apolloPageContext.d.ts +13 -0
- package/dist/src/apollo/page/useApolloPageContext.d.ts +4 -0
- package/dist/src/apollo/pageContent/PageContent.d.ts +9 -0
- package/dist/src/apollo/pageWithTemplateContent/PageWithTemplateContent.d.ts +14 -0
- package/dist/src/common/components/container/Container.d.ts +13 -0
- package/dist/src/common/components/grid/Grid.d.ts +16 -0
- package/dist/src/common/components/grid/Grid.stories.d.ts +8 -0
- package/dist/src/common/components/htmlToReact/HtmlToReact.d.ts +38 -0
- package/dist/src/common/components/htmlToReact/HtmlToReact.stories.d.ts +13 -0
- package/dist/src/common/components/htmlToReact/__tests__/HtmlToReact.tests.d.ts +1 -0
- package/dist/src/common/components/htmlToReact/replaceComponents/DefaultH2.d.ts +4 -0
- package/dist/src/common/components/htmlToReact/replaceComponents/DefaultP.d.ts +4 -0
- package/dist/src/common/components/htmlToReact/replaceComponents/IframeForEmbeddedMedia.d.ts +6 -0
- package/dist/src/common/components/htmlToReact/replaceComponents/index.d.ts +3 -0
- package/dist/src/common/components/icons/index.d.ts +5 -0
- package/dist/src/common/components/list/List.d.ts +13 -0
- package/dist/src/common/components/list/List.stories.d.ts +13 -0
- package/dist/src/common/components/tag/Tag.d.ts +26 -0
- package/dist/src/common/components/tag/Tag.stories.d.ts +80 -0
- package/dist/src/common/components/tag/__tests__/Tag.test.d.ts +1 -0
- package/dist/src/common/components/tag/tagThemes.d.ts +3 -0
- package/dist/src/common/components/text/Text.d.ts +27 -0
- package/dist/src/common/components/text/Text.stories.d.ts +14 -0
- package/dist/src/common/constants.d.ts +2 -0
- package/dist/src/common/eventsService/__generated__.d.ts +1420 -0
- package/dist/src/common/eventsService/events.d.ts +12 -0
- package/dist/src/common/eventsService/types.d.ts +2 -0
- package/dist/src/common/eventsService/utils.d.ts +7 -0
- package/dist/src/common/headlessService/__generated__.d.ts +20878 -0
- package/dist/src/common/headlessService/article.d.ts +7 -0
- package/dist/src/common/headlessService/articles.d.ts +17 -0
- package/dist/src/common/headlessService/categories.d.ts +13 -0
- package/dist/src/common/headlessService/category.d.ts +9 -0
- package/dist/src/common/headlessService/constants.d.ts +7 -0
- package/dist/src/common/headlessService/landingPage.d.ts +9 -0
- package/dist/src/common/headlessService/languages.d.ts +8 -0
- package/dist/src/common/headlessService/makeQueryWithApolloClientFromConfig.d.ts +12 -0
- package/dist/src/common/headlessService/menu.d.ts +10 -0
- package/dist/src/common/headlessService/notification.d.ts +7 -0
- package/dist/src/common/headlessService/page.d.ts +8 -0
- package/dist/src/common/headlessService/pageByTemplate.d.ts +9 -0
- package/dist/src/common/headlessService/pages.d.ts +13 -0
- package/dist/src/common/headlessService/tag.d.ts +9 -0
- package/dist/src/common/headlessService/tags.d.ts +13 -0
- package/dist/src/common/headlessService/types.d.ts +17 -0
- package/dist/src/common/headlessService/utils.d.ts +909 -0
- package/dist/src/common/utils/customRender.d.ts +4 -0
- package/dist/src/common/utils/dates.d.ts +20 -0
- package/dist/src/common/utils/getIsValidHttpUrl.d.ts +5 -0
- package/dist/src/common/utils/hash.d.ts +1 -0
- package/dist/src/common/utils/makeLocaleStorageValue.d.ts +6 -0
- package/dist/src/common/utils/testImage.d.ts +9 -0
- package/dist/src/common/venuesService/__generated__.d.ts +254 -0
- package/dist/src/common/venuesService/makeQueryWithVenuesApolloClientFromConfig.d.ts +7 -0
- package/dist/src/common/venuesService/types.d.ts +2 -0
- package/dist/src/constants.d.ts +5 -0
- package/dist/src/core/archiveSearchPage/ArchivePageMeta.d.ts +13 -0
- package/dist/src/core/archiveSearchPage/ArchiveSearchPage.d.ts +16 -0
- package/dist/src/core/archiveSearchPage/ArchiveSearchPage.stories.d.ts +50 -0
- package/dist/src/core/archiveSearchPageContent/ArchiveSearchPageContent.d.ts +92 -0
- package/dist/src/core/button/LoadingButton.d.ts +8 -0
- package/dist/src/core/card/Card.d.ts +102 -0
- package/dist/src/core/card/Card.stories.d.ts +99 -0
- package/dist/src/core/card/LargeCard.d.ts +68 -0
- package/dist/src/core/card/LargeCard.stories.d.ts +16 -0
- package/dist/src/core/cardsList/CardsList.d.ts +16 -0
- package/dist/src/core/cardsList/CardsList.stories.d.ts +22 -0
- package/dist/src/core/carousel/Carousel.d.ts +3 -0
- package/dist/src/core/carousel/Carousel.stories.d.ts +34 -0
- package/dist/src/core/carousel/__tests__/Carousel.test.d.ts +1 -0
- package/dist/src/core/carousel/components/CarouselSlideButton.d.ts +3 -0
- package/dist/src/core/carousel/components/CarouselSlider.d.ts +3 -0
- package/dist/src/core/carousel/components/CarouselSliderDot.d.ts +2 -0
- package/dist/src/core/carousel/components/CarouselSliderPage.d.ts +5 -0
- package/dist/src/core/carousel/components/__tests__/CarouselSlideButton.test.d.ts +1 -0
- package/dist/src/core/carousel/components/__tests__/CarouselSlider.test.d.ts +1 -0
- package/dist/src/core/carousel/components/__tests__/CarouselSliderDot.test.d.ts +1 -0
- package/dist/src/core/carousel/components/__tests__/CarouselSliderPage.test.d.ts +1 -0
- package/dist/src/core/carousel/constants.d.ts +20 -0
- package/dist/src/core/carousel/context/CarouselContext.d.ts +4 -0
- package/dist/src/core/carousel/context/CarouselContextProvider.d.ts +7 -0
- package/dist/src/core/carousel/types.d.ts +147 -0
- package/dist/src/core/carousel/utils/utils.d.ts +27 -0
- package/dist/src/core/collection/Collection.d.ts +102 -0
- package/dist/src/core/collection/Collection.stories.d.ts +48 -0
- package/dist/src/core/collection/__tests__/Collection.test.d.ts +1 -0
- package/dist/src/core/collection/constants.d.ts +1 -0
- package/dist/src/core/collection/types.d.ts +28 -0
- package/dist/src/core/collection/utils.d.ts +36 -0
- package/dist/src/core/configProvider/ConfigProvider.d.ts +13 -0
- package/dist/src/core/configProvider/configContext.d.ts +130 -0
- package/dist/src/core/configProvider/defaultConfig.d.ts +61 -0
- package/dist/src/core/configProvider/useApolloClientFromConfig.d.ts +1 -0
- package/dist/src/core/configProvider/useConfig.d.ts +2 -0
- package/dist/src/core/configProvider/useEventsApolloClientFromConfig.d.ts +1 -0
- package/dist/src/core/configProvider/useHeadlessCmsLink.d.ts +2 -0
- package/dist/src/core/configProvider/useVenuesApolloClientFromConfig.d.ts +1 -0
- package/dist/src/core/contentContainer/ContentContainer.d.ts +12 -0
- package/dist/src/core/contentContainer/ContentContainer.stories.d.ts +8 -0
- package/dist/src/core/hero/Hero.d.ts +33 -0
- package/dist/src/core/hero/Hero.stories.d.ts +23 -0
- package/dist/src/core/hooks/useResolveImageUrl.d.ts +6 -0
- package/dist/src/core/image/BackgroundImage.d.ts +20 -0
- package/dist/src/core/image/Image.d.ts +24 -0
- package/dist/src/core/image/__tests__/BackgroundImage.test.d.ts +1 -0
- package/dist/src/core/image/__tests__/Image.test.d.ts +1 -0
- package/dist/src/core/imageGallery/ImageGallery.d.ts +25 -0
- package/dist/src/core/imageGallery/ImageGalleryContext.d.ts +32 -0
- package/dist/src/core/imageGallery/ImageGalleryProvider.d.ts +10 -0
- package/dist/src/core/imageGallery/ImageItem.d.ts +26 -0
- package/dist/src/core/imageGallery/ImagesGrid.d.ts +26 -0
- package/dist/src/core/imageGallery/Lightbox.d.ts +24 -0
- package/dist/src/core/imageGallery/types.d.ts +6 -0
- package/dist/src/core/imageGallery/useImageGalleryContext.d.ts +1 -0
- package/dist/src/core/index.d.ts +43 -0
- package/dist/src/core/language/__tests__/languageSorter.test.d.ts +1 -0
- package/dist/src/core/language/constants.d.ts +6 -0
- package/dist/src/core/language/findLanguage.d.ts +10 -0
- package/dist/src/core/language/index.d.ts +6 -0
- package/dist/src/core/language/languageSorter.d.ts +4 -0
- package/dist/src/core/language/toPrimaryLanguageOption.d.ts +5 -0
- package/dist/src/core/language/typeGuards.d.ts +3 -0
- package/dist/src/core/language/types.d.ts +5 -0
- package/dist/src/core/link/Link.d.ts +44 -0
- package/dist/src/core/link/Link.stories.d.ts +33 -0
- package/dist/src/core/link/LinkBase.d.ts +106 -0
- package/dist/src/core/link/SecondaryLink.d.ts +3 -0
- package/dist/src/core/link/__tests__/Link.test.d.ts +1 -0
- package/dist/src/core/linkBox/Link.stories.d.ts +23 -0
- package/dist/src/core/linkBox/LinkBox.d.ts +20 -0
- package/dist/src/core/navigation/Navigation.d.ts +15 -0
- package/dist/src/core/notification/Notification.d.ts +9 -0
- package/dist/src/core/notification/__tests__/Notification.test.d.ts +1 -0
- package/dist/src/core/notification/utils/getIsNotificationActive.d.ts +2 -0
- package/dist/src/core/notification/utils/getNotificationHash.d.ts +2 -0
- package/dist/src/core/page/Page.d.ts +9 -0
- package/dist/src/core/page/Page.stories.d.ts +40 -0
- package/dist/src/core/pageContent/PageContent.d.ts +11 -0
- package/dist/src/core/pageContent/PageContent.stories.d.ts +1146 -0
- package/dist/src/core/pageContent/PageContentBreadcrumb.d.ts +5 -0
- package/dist/src/core/pageContent/PageContentLayout.d.ts +16 -0
- package/dist/src/core/pageContent/PageMainContent.d.ts +11 -0
- package/dist/src/core/pageContent/__tests__/Page.test.d.ts +1 -0
- package/dist/src/core/pageContent/meta/PageMeta.d.ts +9 -0
- package/dist/src/core/pageContent/sidebarContent/SidebarCardsList.d.ts +5 -0
- package/dist/src/core/pageContent/sidebarContent/SidebarContent.d.ts +15 -0
- package/dist/src/core/pageContent/sidebarContent/SidebarContentCard.d.ts +12 -0
- package/dist/src/core/pageContent/sidebarContent/SidebarContentLinkList.d.ts +5 -0
- package/dist/src/core/pageContent/sidebarContent/SidebarPostListItem.d.ts +8 -0
- package/dist/src/core/pageContent/sidebarContent/__tests__/SidebarContent.test.d.ts +1 -0
- package/dist/src/core/pageContent/types.d.ts +36 -0
- package/dist/src/core/pageContent/utils.d.ts +28 -0
- package/dist/src/core/pageContextProvider/PageContext.d.ts +6 -0
- package/dist/src/core/pageContextProvider/PageContextProvider.d.ts +6 -0
- package/dist/src/core/pageContextProvider/__tests__/PageContextProvider.test.d.ts +1 -0
- package/dist/src/core/pageContextProvider/usePageContext.d.ts +1 -0
- package/dist/src/core/pageModules/CardModule/CardModule.d.ts +3 -0
- package/dist/src/core/pageModules/CardModule/CardModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/CardsModule/CardsModule.d.ts +17 -0
- package/dist/src/core/pageModules/CardsModule/CardsModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/CardsModule/Icon.d.ts +6 -0
- package/dist/src/core/pageModules/CardsModule/SimpleCard.d.ts +13 -0
- package/dist/src/core/pageModules/ContentModule/ContentModule.d.ts +7 -0
- package/dist/src/core/pageModules/ContentModule/ContentModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/ImageGalleryModule/ImageGalleryModule.d.ts +3 -0
- package/dist/src/core/pageModules/ImageGalleryModule/ImageGalleryModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/SocialMediaFeedModule/SocialMediaFeedModule.d.ts +7 -0
- package/dist/src/core/pageModules/SocialMediaFeedModule/SocialMediaFeedModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/StepsModule/StepsModule.d.ts +14 -0
- package/dist/src/core/pageModules/StepsModule/StepsModule.stories.d.ts +7 -0
- package/dist/src/core/pageModules/constants.d.ts +1 -0
- package/dist/src/core/pageSection/PageSection.d.ts +32 -0
- package/dist/src/core/pageSection/PageSection.stories.d.ts +7 -0
- package/dist/src/core/pageSection/__tests__/PageSection.test.d.ts +1 -0
- package/dist/src/core/storyContainer/StoryContainer.d.ts +6 -0
- package/dist/src/core/translation/__tests__/getTranslationWithFallback.test.d.ts +1 -0
- package/dist/src/core/translation/constants.d.ts +12 -0
- package/dist/src/core/translation/getTranslationWithFallback.d.ts +4 -0
- package/dist/src/core/translation/types.d.ts +8 -0
- package/dist/src/core/translation/useTranslationWithFallback.d.ts +4 -0
- package/dist/src/core/utils/__tests__/findAllElementsOfType.test.d.ts +1 -0
- package/dist/src/core/utils/__tests__/getChildrenByType.test.d.ts +1 -0
- package/dist/src/core/utils/__tests__/recursiveMap.test.d.ts +1 -0
- package/dist/src/core/utils/createHashKey.d.ts +1 -0
- package/dist/src/core/utils/findAllElementsOfType.d.ts +5 -0
- package/dist/src/core/utils/getChildrenByType.d.ts +18 -0
- package/dist/src/core/utils/isTrustedOrigin.d.ts +1 -0
- package/dist/src/core/utils/recursiveMap.d.ts +15 -0
- package/dist/src/core/utils/string.d.ts +27 -0
- package/dist/src/core/utils/validateTrustedOriginsFormat.d.ts +1 -0
- package/dist/src/linkedEvents/utils/normalizeKey.d.ts +10 -0
- package/dist/src/linkedEvents/utils/normalizeKeys.d.ts +28 -0
- package/dist/src/mocks/handlers.d.ts +1 -0
- package/dist/src/mocks/queries/cms/languages.d.ts +1 -0
- package/dist/src/mocks/queries/cms/menu.d.ts +1 -0
- package/dist/src/mocks/queries/cms/notification.d.ts +1 -0
- package/dist/src/mocks/queries/cms/page.d.ts +1 -0
- package/dist/src/mocks/queries/linkedEvents/eventList.d.ts +242 -0
- package/dist/src/mocks/queries/linkedEvents/eventsByIds.d.ts +224 -0
- package/dist/src/mocks/responses/linkedEvents/eventMocks.d.ts +1112 -0
- package/dist/src/mocks/server.d.ts +1 -0
- package/dist/src/nextjs/getLanguageStaticProps.d.ts +3 -0
- package/dist/src/nextjs/getMenuStaticProps.d.ts +7 -0
- package/dist/src/nextjs/getPageStaticProps.d.ts +7 -0
- package/dist/src/nextjs/index.d.ts +3 -0
- package/dist/src/storybook-common/HelmetWrapper.d.ts +4 -0
- package/dist/src/storybook-common/constants.d.ts +9 -0
- package/dist/src/storybook-common/useCmsEndpointConfig.d.ts +3 -0
- package/dist/src/tests/apolloConfig.d.ts +2 -0
- package/dist/src/tests/hideConsoleMessages.d.ts +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1420 @@
|
|
|
1
|
+
import * as Apollo from '@apollo/client';
|
|
2
|
+
export type Maybe<T> = T | null;
|
|
3
|
+
export type InputMaybe<T> = Maybe<T>;
|
|
4
|
+
export type Exact<T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}> = {
|
|
7
|
+
[K in keyof T]: T[K];
|
|
8
|
+
};
|
|
9
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
|
+
};
|
|
12
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
|
+
};
|
|
15
|
+
export type MakeEmpty<T extends {
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}, K extends keyof T> = {
|
|
18
|
+
[_ in K]?: never;
|
|
19
|
+
};
|
|
20
|
+
export type Incremental<T> = T | {
|
|
21
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
22
|
+
};
|
|
23
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
24
|
+
export type Scalars = {
|
|
25
|
+
ID: {
|
|
26
|
+
input: string;
|
|
27
|
+
output: string;
|
|
28
|
+
};
|
|
29
|
+
String: {
|
|
30
|
+
input: string;
|
|
31
|
+
output: string;
|
|
32
|
+
};
|
|
33
|
+
Boolean: {
|
|
34
|
+
input: boolean;
|
|
35
|
+
output: boolean;
|
|
36
|
+
};
|
|
37
|
+
Int: {
|
|
38
|
+
input: number;
|
|
39
|
+
output: number;
|
|
40
|
+
};
|
|
41
|
+
Float: {
|
|
42
|
+
input: number;
|
|
43
|
+
output: number;
|
|
44
|
+
};
|
|
45
|
+
_Any: {
|
|
46
|
+
input: any;
|
|
47
|
+
output: any;
|
|
48
|
+
};
|
|
49
|
+
federation__FieldSet: {
|
|
50
|
+
input: any;
|
|
51
|
+
output: any;
|
|
52
|
+
};
|
|
53
|
+
link__Import: {
|
|
54
|
+
input: any;
|
|
55
|
+
output: any;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export type Audience = {
|
|
59
|
+
__typename?: 'Audience';
|
|
60
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
61
|
+
internalContext?: Maybe<Scalars['String']['output']>;
|
|
62
|
+
internalId?: Maybe<Scalars['String']['output']>;
|
|
63
|
+
internalType?: Maybe<Scalars['String']['output']>;
|
|
64
|
+
name?: Maybe<LocalizedObject>;
|
|
65
|
+
};
|
|
66
|
+
export type BannerPage = {
|
|
67
|
+
__typename?: 'BannerPage';
|
|
68
|
+
buttonText?: Maybe<LocalizedObject>;
|
|
69
|
+
buttonUrl?: Maybe<LocalizedObject>;
|
|
70
|
+
description?: Maybe<LocalizedObject>;
|
|
71
|
+
heroBackgroundImage?: Maybe<LocalizedCmsImage>;
|
|
72
|
+
heroBackgroundImageColor?: Maybe<LocalizedObject>;
|
|
73
|
+
heroBackgroundImageMobile?: Maybe<LocalizedCmsImage>;
|
|
74
|
+
heroTopLayerImage?: Maybe<LocalizedCmsImage>;
|
|
75
|
+
keywords?: Maybe<LocalizedCmsKeywords>;
|
|
76
|
+
socialMediaImage?: Maybe<LocalizedCmsImage>;
|
|
77
|
+
title?: Maybe<LocalizedObject>;
|
|
78
|
+
titleAndDescriptionColor?: Maybe<LocalizedObject>;
|
|
79
|
+
};
|
|
80
|
+
export type CmsImage = {
|
|
81
|
+
__typename?: 'CmsImage';
|
|
82
|
+
photographerCredit?: Maybe<LocalizedObject>;
|
|
83
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
84
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
85
|
+
};
|
|
86
|
+
export type Division = {
|
|
87
|
+
__typename?: 'Division';
|
|
88
|
+
municipality?: Maybe<Scalars['String']['output']>;
|
|
89
|
+
name?: Maybe<LocalizedObject>;
|
|
90
|
+
ocdId?: Maybe<Scalars['String']['output']>;
|
|
91
|
+
type: Scalars['String']['output'];
|
|
92
|
+
};
|
|
93
|
+
export type EventDetails = {
|
|
94
|
+
__typename?: 'EventDetails';
|
|
95
|
+
audience: Array<Audience>;
|
|
96
|
+
audienceMaxAge?: Maybe<Scalars['String']['output']>;
|
|
97
|
+
audienceMinAge?: Maybe<Scalars['String']['output']>;
|
|
98
|
+
createdTime?: Maybe<Scalars['String']['output']>;
|
|
99
|
+
customData?: Maybe<Scalars['String']['output']>;
|
|
100
|
+
dataSource?: Maybe<Scalars['String']['output']>;
|
|
101
|
+
datePublished?: Maybe<Scalars['String']['output']>;
|
|
102
|
+
description?: Maybe<LocalizedObject>;
|
|
103
|
+
endTime?: Maybe<Scalars['String']['output']>;
|
|
104
|
+
enrolmentEndTime?: Maybe<Scalars['String']['output']>;
|
|
105
|
+
enrolmentStartTime?: Maybe<Scalars['String']['output']>;
|
|
106
|
+
eventStatus?: Maybe<Scalars['String']['output']>;
|
|
107
|
+
externalLinks: Array<ExternalLink>;
|
|
108
|
+
id: Scalars['ID']['output'];
|
|
109
|
+
images: Array<EventImage>;
|
|
110
|
+
inLanguage: Array<InLanguage>;
|
|
111
|
+
infoUrl?: Maybe<LocalizedObject>;
|
|
112
|
+
internalContext?: Maybe<Scalars['String']['output']>;
|
|
113
|
+
internalId?: Maybe<Scalars['String']['output']>;
|
|
114
|
+
internalType?: Maybe<Scalars['String']['output']>;
|
|
115
|
+
keywords: Array<Keyword>;
|
|
116
|
+
lastModifiedTime?: Maybe<Scalars['String']['output']>;
|
|
117
|
+
location?: Maybe<Place>;
|
|
118
|
+
locationExtraInfo?: Maybe<LocalizedObject>;
|
|
119
|
+
maximumAttendeeCapacity?: Maybe<Scalars['Int']['output']>;
|
|
120
|
+
minimumAttendeeCapacity?: Maybe<Scalars['Int']['output']>;
|
|
121
|
+
name: LocalizedObject;
|
|
122
|
+
offers: Array<Offer>;
|
|
123
|
+
provider?: Maybe<LocalizedObject>;
|
|
124
|
+
providerContactInfo?: Maybe<LocalizedObject>;
|
|
125
|
+
publisher?: Maybe<Scalars['ID']['output']>;
|
|
126
|
+
registration?: Maybe<Registration>;
|
|
127
|
+
shortDescription?: Maybe<LocalizedObject>;
|
|
128
|
+
startTime?: Maybe<Scalars['String']['output']>;
|
|
129
|
+
subEvents: Array<InternalIdObject>;
|
|
130
|
+
superEvent?: Maybe<InternalIdObject>;
|
|
131
|
+
superEventType?: Maybe<Scalars['String']['output']>;
|
|
132
|
+
typeId?: Maybe<EventTypeId>;
|
|
133
|
+
};
|
|
134
|
+
export type EventImage = {
|
|
135
|
+
__typename?: 'EventImage';
|
|
136
|
+
createdTime?: Maybe<Scalars['String']['output']>;
|
|
137
|
+
cropping?: Maybe<Scalars['String']['output']>;
|
|
138
|
+
dataSource?: Maybe<Scalars['String']['output']>;
|
|
139
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
140
|
+
internalContext?: Maybe<Scalars['String']['output']>;
|
|
141
|
+
internalId: Scalars['String']['output'];
|
|
142
|
+
internalType?: Maybe<Scalars['String']['output']>;
|
|
143
|
+
lastModifiedTime?: Maybe<Scalars['String']['output']>;
|
|
144
|
+
license?: Maybe<Scalars['String']['output']>;
|
|
145
|
+
name: Scalars['String']['output'];
|
|
146
|
+
photographerName?: Maybe<Scalars['String']['output']>;
|
|
147
|
+
publisher?: Maybe<Scalars['String']['output']>;
|
|
148
|
+
url: Scalars['String']['output'];
|
|
149
|
+
};
|
|
150
|
+
export type EventListResponse = {
|
|
151
|
+
__typename?: 'EventListResponse';
|
|
152
|
+
data: Array<EventDetails>;
|
|
153
|
+
meta: Meta;
|
|
154
|
+
};
|
|
155
|
+
export declare enum EventTypeId {
|
|
156
|
+
Course = "Course",
|
|
157
|
+
General = "General"
|
|
158
|
+
}
|
|
159
|
+
export type ExternalLink = {
|
|
160
|
+
__typename?: 'ExternalLink';
|
|
161
|
+
language?: Maybe<Scalars['String']['output']>;
|
|
162
|
+
link?: Maybe<Scalars['String']['output']>;
|
|
163
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
164
|
+
};
|
|
165
|
+
export type InLanguage = {
|
|
166
|
+
__typename?: 'InLanguage';
|
|
167
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
168
|
+
internalContext?: Maybe<Scalars['String']['output']>;
|
|
169
|
+
internalId?: Maybe<Scalars['String']['output']>;
|
|
170
|
+
internalType?: Maybe<Scalars['String']['output']>;
|
|
171
|
+
name?: Maybe<LocalizedObject>;
|
|
172
|
+
translationAvailable?: Maybe<Scalars['Boolean']['output']>;
|
|
173
|
+
};
|
|
174
|
+
export type InternalIdObject = {
|
|
175
|
+
__typename?: 'InternalIdObject';
|
|
176
|
+
internalId?: Maybe<Scalars['String']['output']>;
|
|
177
|
+
};
|
|
178
|
+
export type Keyword = {
|
|
179
|
+
__typename?: 'Keyword';
|
|
180
|
+
aggregate?: Maybe<Scalars['Boolean']['output']>;
|
|
181
|
+
altLabels?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
182
|
+
createdTime?: Maybe<Scalars['String']['output']>;
|
|
183
|
+
dataSource?: Maybe<Scalars['String']['output']>;
|
|
184
|
+
deprecated?: Maybe<Scalars['Boolean']['output']>;
|
|
185
|
+
hasUpcomingEvents?: Maybe<Scalars['Boolean']['output']>;
|
|
186
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
187
|
+
image?: Maybe<EventImage>;
|
|
188
|
+
internalContext?: Maybe<Scalars['String']['output']>;
|
|
189
|
+
internalId: Scalars['String']['output'];
|
|
190
|
+
internalType?: Maybe<Scalars['String']['output']>;
|
|
191
|
+
lastModifiedTime?: Maybe<Scalars['String']['output']>;
|
|
192
|
+
nEvents?: Maybe<Scalars['Int']['output']>;
|
|
193
|
+
name?: Maybe<LocalizedObject>;
|
|
194
|
+
publisher?: Maybe<Scalars['ID']['output']>;
|
|
195
|
+
};
|
|
196
|
+
export type KeywordListResponse = {
|
|
197
|
+
__typename?: 'KeywordListResponse';
|
|
198
|
+
data: Array<Keyword>;
|
|
199
|
+
meta: Meta;
|
|
200
|
+
};
|
|
201
|
+
export type LocalizedCmsImage = {
|
|
202
|
+
__typename?: 'LocalizedCmsImage';
|
|
203
|
+
en?: Maybe<CmsImage>;
|
|
204
|
+
fi?: Maybe<CmsImage>;
|
|
205
|
+
sv?: Maybe<CmsImage>;
|
|
206
|
+
};
|
|
207
|
+
export type LocalizedCmsKeywords = {
|
|
208
|
+
__typename?: 'LocalizedCmsKeywords';
|
|
209
|
+
en?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
210
|
+
fi?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
211
|
+
sv?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
212
|
+
};
|
|
213
|
+
export type LocalizedObject = {
|
|
214
|
+
__typename?: 'LocalizedObject';
|
|
215
|
+
en?: Maybe<Scalars['String']['output']>;
|
|
216
|
+
fi?: Maybe<Scalars['String']['output']>;
|
|
217
|
+
sv?: Maybe<Scalars['String']['output']>;
|
|
218
|
+
};
|
|
219
|
+
export type Meta = {
|
|
220
|
+
__typename?: 'Meta';
|
|
221
|
+
count: Scalars['Int']['output'];
|
|
222
|
+
next?: Maybe<Scalars['String']['output']>;
|
|
223
|
+
previous?: Maybe<Scalars['String']['output']>;
|
|
224
|
+
};
|
|
225
|
+
export type Mutation = {
|
|
226
|
+
__typename?: 'Mutation';
|
|
227
|
+
_empty?: Maybe<Scalars['String']['output']>;
|
|
228
|
+
};
|
|
229
|
+
export type Neighborhood = {
|
|
230
|
+
__typename?: 'Neighborhood';
|
|
231
|
+
id: Scalars['ID']['output'];
|
|
232
|
+
name: LocalizedObject;
|
|
233
|
+
};
|
|
234
|
+
export type NeighborhoodListResponse = {
|
|
235
|
+
__typename?: 'NeighborhoodListResponse';
|
|
236
|
+
data: Array<Neighborhood>;
|
|
237
|
+
meta: Meta;
|
|
238
|
+
};
|
|
239
|
+
export type Offer = {
|
|
240
|
+
__typename?: 'Offer';
|
|
241
|
+
description?: Maybe<LocalizedObject>;
|
|
242
|
+
infoUrl?: Maybe<LocalizedObject>;
|
|
243
|
+
isFree?: Maybe<Scalars['Boolean']['output']>;
|
|
244
|
+
price?: Maybe<LocalizedObject>;
|
|
245
|
+
};
|
|
246
|
+
export type OrganizationDetails = {
|
|
247
|
+
__typename?: 'OrganizationDetails';
|
|
248
|
+
affiliatedOrganizations?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
249
|
+
classification?: Maybe<Scalars['String']['output']>;
|
|
250
|
+
createdTime?: Maybe<Scalars['String']['output']>;
|
|
251
|
+
dataSource?: Maybe<Scalars['String']['output']>;
|
|
252
|
+
dissolutionDate?: Maybe<Scalars['String']['output']>;
|
|
253
|
+
foundingDate?: Maybe<Scalars['String']['output']>;
|
|
254
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
255
|
+
internalContext?: Maybe<Scalars['String']['output']>;
|
|
256
|
+
internalId: Scalars['String']['output'];
|
|
257
|
+
internalType?: Maybe<Scalars['String']['output']>;
|
|
258
|
+
isAffiliated: Scalars['Boolean']['output'];
|
|
259
|
+
lastModifiedTime?: Maybe<Scalars['String']['output']>;
|
|
260
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
261
|
+
parentOrganization?: Maybe<Scalars['String']['output']>;
|
|
262
|
+
replacedBy?: Maybe<Scalars['String']['output']>;
|
|
263
|
+
subOrganizations?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
264
|
+
};
|
|
265
|
+
export type Place = {
|
|
266
|
+
__typename?: 'Place';
|
|
267
|
+
addressCountry?: Maybe<Scalars['String']['output']>;
|
|
268
|
+
addressLocality?: Maybe<LocalizedObject>;
|
|
269
|
+
addressRegion?: Maybe<Scalars['String']['output']>;
|
|
270
|
+
contactType?: Maybe<Scalars['String']['output']>;
|
|
271
|
+
createdTime?: Maybe<Scalars['String']['output']>;
|
|
272
|
+
customData?: Maybe<Scalars['String']['output']>;
|
|
273
|
+
dataSource?: Maybe<Scalars['String']['output']>;
|
|
274
|
+
deleted?: Maybe<Scalars['Boolean']['output']>;
|
|
275
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
276
|
+
divisions?: Maybe<Array<Division>>;
|
|
277
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
278
|
+
hasUpcomingEvents?: Maybe<Scalars['Boolean']['output']>;
|
|
279
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
280
|
+
image?: Maybe<EventImage>;
|
|
281
|
+
infoUrl?: Maybe<LocalizedObject>;
|
|
282
|
+
internalContext?: Maybe<Scalars['String']['output']>;
|
|
283
|
+
internalId: Scalars['String']['output'];
|
|
284
|
+
internalType?: Maybe<Scalars['String']['output']>;
|
|
285
|
+
lastModifiedTime?: Maybe<Scalars['String']['output']>;
|
|
286
|
+
nEvents?: Maybe<Scalars['Int']['output']>;
|
|
287
|
+
name?: Maybe<LocalizedObject>;
|
|
288
|
+
parent?: Maybe<Scalars['ID']['output']>;
|
|
289
|
+
position?: Maybe<PlacePosition>;
|
|
290
|
+
postOfficeBoxNum?: Maybe<Scalars['String']['output']>;
|
|
291
|
+
postalCode?: Maybe<Scalars['String']['output']>;
|
|
292
|
+
publisher?: Maybe<Scalars['ID']['output']>;
|
|
293
|
+
replacedBy?: Maybe<Scalars['String']['output']>;
|
|
294
|
+
streetAddress?: Maybe<LocalizedObject>;
|
|
295
|
+
telephone?: Maybe<LocalizedObject>;
|
|
296
|
+
};
|
|
297
|
+
export type PlaceListResponse = {
|
|
298
|
+
__typename?: 'PlaceListResponse';
|
|
299
|
+
data: Array<Place>;
|
|
300
|
+
meta: Meta;
|
|
301
|
+
};
|
|
302
|
+
export type PlacePosition = {
|
|
303
|
+
__typename?: 'PlacePosition';
|
|
304
|
+
coordinates: Array<Scalars['Float']['output']>;
|
|
305
|
+
type: Scalars['String']['output'];
|
|
306
|
+
};
|
|
307
|
+
export type Query = {
|
|
308
|
+
__typename?: 'Query';
|
|
309
|
+
_empty?: Maybe<Scalars['String']['output']>;
|
|
310
|
+
_service: _Service;
|
|
311
|
+
eventDetails: EventDetails;
|
|
312
|
+
eventList: EventListResponse;
|
|
313
|
+
eventsByIds: EventListResponse;
|
|
314
|
+
keywordDetails: Keyword;
|
|
315
|
+
keywordList: KeywordListResponse;
|
|
316
|
+
neighborhoodList: NeighborhoodListResponse;
|
|
317
|
+
organizationDetails: OrganizationDetails;
|
|
318
|
+
placeDetails: Place;
|
|
319
|
+
placeList: PlaceListResponse;
|
|
320
|
+
};
|
|
321
|
+
export type QueryEventDetailsArgs = {
|
|
322
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
323
|
+
include?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
324
|
+
};
|
|
325
|
+
export type QueryEventListArgs = {
|
|
326
|
+
allOngoing?: InputMaybe<Scalars['Boolean']['input']>;
|
|
327
|
+
allOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
328
|
+
allOngoingOr?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
329
|
+
audienceMaxAgeGt?: InputMaybe<Scalars['String']['input']>;
|
|
330
|
+
audienceMaxAgeLt?: InputMaybe<Scalars['String']['input']>;
|
|
331
|
+
audienceMinAgeGt?: InputMaybe<Scalars['String']['input']>;
|
|
332
|
+
audienceMinAgeLt?: InputMaybe<Scalars['String']['input']>;
|
|
333
|
+
combinedText?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
334
|
+
division?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
335
|
+
end?: InputMaybe<Scalars['String']['input']>;
|
|
336
|
+
endsAfter?: InputMaybe<Scalars['String']['input']>;
|
|
337
|
+
endsBefore?: InputMaybe<Scalars['String']['input']>;
|
|
338
|
+
eventType?: InputMaybe<Array<InputMaybe<EventTypeId>>>;
|
|
339
|
+
fullText?: InputMaybe<Scalars['String']['input']>;
|
|
340
|
+
ids?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
341
|
+
inLanguage?: InputMaybe<Scalars['String']['input']>;
|
|
342
|
+
include?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
343
|
+
internetBased?: InputMaybe<Scalars['Boolean']['input']>;
|
|
344
|
+
internetOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
345
|
+
internetOngoingOr?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
346
|
+
isFree?: InputMaybe<Scalars['Boolean']['input']>;
|
|
347
|
+
keyword?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
348
|
+
keywordAnd?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
349
|
+
keywordNot?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
350
|
+
keywordOrSet1?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
351
|
+
keywordOrSet2?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
352
|
+
keywordOrSet3?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
353
|
+
language?: InputMaybe<Scalars['String']['input']>;
|
|
354
|
+
localOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
355
|
+
localOngoingOr?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
356
|
+
localOngoingOrSet1?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
357
|
+
localOngoingOrSet2?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
358
|
+
localOngoingOrSet3?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
359
|
+
location?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
360
|
+
ongoing?: InputMaybe<Scalars['Boolean']['input']>;
|
|
361
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
362
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
363
|
+
publisher?: InputMaybe<Scalars['ID']['input']>;
|
|
364
|
+
publisherAncestor?: InputMaybe<Scalars['ID']['input']>;
|
|
365
|
+
sort?: InputMaybe<Scalars['String']['input']>;
|
|
366
|
+
start?: InputMaybe<Scalars['String']['input']>;
|
|
367
|
+
startsAfter?: InputMaybe<Scalars['String']['input']>;
|
|
368
|
+
startsBefore?: InputMaybe<Scalars['String']['input']>;
|
|
369
|
+
suitableFor?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
|
|
370
|
+
superEvent?: InputMaybe<Scalars['ID']['input']>;
|
|
371
|
+
superEventType?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
372
|
+
text?: InputMaybe<Scalars['String']['input']>;
|
|
373
|
+
translation?: InputMaybe<Scalars['String']['input']>;
|
|
374
|
+
};
|
|
375
|
+
export type QueryEventsByIdsArgs = {
|
|
376
|
+
end?: InputMaybe<Scalars['String']['input']>;
|
|
377
|
+
eventType?: InputMaybe<Array<InputMaybe<EventTypeId>>>;
|
|
378
|
+
ids: Array<Scalars['ID']['input']>;
|
|
379
|
+
include?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
380
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
381
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
382
|
+
sort?: InputMaybe<Scalars['String']['input']>;
|
|
383
|
+
start?: InputMaybe<Scalars['String']['input']>;
|
|
384
|
+
};
|
|
385
|
+
export type QueryKeywordDetailsArgs = {
|
|
386
|
+
id: Scalars['ID']['input'];
|
|
387
|
+
};
|
|
388
|
+
export type QueryKeywordListArgs = {
|
|
389
|
+
dataSource?: InputMaybe<Scalars['String']['input']>;
|
|
390
|
+
hasUpcomingEvents?: InputMaybe<Scalars['Boolean']['input']>;
|
|
391
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
392
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
393
|
+
showAllKeywords?: InputMaybe<Scalars['Boolean']['input']>;
|
|
394
|
+
sort?: InputMaybe<Scalars['String']['input']>;
|
|
395
|
+
text?: InputMaybe<Scalars['String']['input']>;
|
|
396
|
+
};
|
|
397
|
+
export type QueryOrganizationDetailsArgs = {
|
|
398
|
+
id: Scalars['ID']['input'];
|
|
399
|
+
};
|
|
400
|
+
export type QueryPlaceDetailsArgs = {
|
|
401
|
+
id: Scalars['ID']['input'];
|
|
402
|
+
};
|
|
403
|
+
export type QueryPlaceListArgs = {
|
|
404
|
+
dataSource?: InputMaybe<Scalars['String']['input']>;
|
|
405
|
+
divisions?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
406
|
+
hasUpcomingEvents?: InputMaybe<Scalars['Boolean']['input']>;
|
|
407
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
408
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
409
|
+
showAllPlaces?: InputMaybe<Scalars['Boolean']['input']>;
|
|
410
|
+
sort?: InputMaybe<Scalars['String']['input']>;
|
|
411
|
+
text?: InputMaybe<Scalars['String']['input']>;
|
|
412
|
+
};
|
|
413
|
+
export type Registration = {
|
|
414
|
+
__typename?: 'Registration';
|
|
415
|
+
audienceMaxAge?: Maybe<Scalars['String']['output']>;
|
|
416
|
+
audienceMinAge?: Maybe<Scalars['String']['output']>;
|
|
417
|
+
currentAttendeeCount?: Maybe<Scalars['Int']['output']>;
|
|
418
|
+
currentWaitingListCount?: Maybe<Scalars['Int']['output']>;
|
|
419
|
+
enrolmentEndTime?: Maybe<Scalars['String']['output']>;
|
|
420
|
+
enrolmentStartTime?: Maybe<Scalars['String']['output']>;
|
|
421
|
+
internalContext?: Maybe<Scalars['String']['output']>;
|
|
422
|
+
internalId?: Maybe<Scalars['String']['output']>;
|
|
423
|
+
internalType?: Maybe<Scalars['String']['output']>;
|
|
424
|
+
maximumAttendeeCapacity?: Maybe<Scalars['Int']['output']>;
|
|
425
|
+
maximumGroupSize?: Maybe<Scalars['Int']['output']>;
|
|
426
|
+
minimumAttendeeCapacity?: Maybe<Scalars['Int']['output']>;
|
|
427
|
+
remainingAttendeeCapacity?: Maybe<Scalars['Int']['output']>;
|
|
428
|
+
remainingWaitingListCapacity?: Maybe<Scalars['Int']['output']>;
|
|
429
|
+
signupUrl?: Maybe<LocalizedObject>;
|
|
430
|
+
waitingListCapacity?: Maybe<Scalars['Int']['output']>;
|
|
431
|
+
};
|
|
432
|
+
export type StaticPage = {
|
|
433
|
+
__typename?: 'StaticPage';
|
|
434
|
+
contentSection?: Maybe<LocalizedObject>;
|
|
435
|
+
contentYype?: Maybe<Scalars['Int']['output']>;
|
|
436
|
+
depth?: Maybe<Scalars['Int']['output']>;
|
|
437
|
+
draftTitle?: Maybe<Scalars['String']['output']>;
|
|
438
|
+
expireAt?: Maybe<Scalars['String']['output']>;
|
|
439
|
+
expired?: Maybe<Scalars['Boolean']['output']>;
|
|
440
|
+
firstPublishedAt?: Maybe<Scalars['String']['output']>;
|
|
441
|
+
goLiveAt?: Maybe<Scalars['String']['output']>;
|
|
442
|
+
hasUnpublishedChanges?: Maybe<Scalars['Boolean']['output']>;
|
|
443
|
+
headingSection?: Maybe<LocalizedObject>;
|
|
444
|
+
id: Scalars['ID']['output'];
|
|
445
|
+
keywords?: Maybe<LocalizedCmsKeywords>;
|
|
446
|
+
lastPublishedAt?: Maybe<Scalars['String']['output']>;
|
|
447
|
+
latestRevisionCreatedAt?: Maybe<Scalars['String']['output']>;
|
|
448
|
+
live?: Maybe<Scalars['Boolean']['output']>;
|
|
449
|
+
liveRevision?: Maybe<Scalars['Int']['output']>;
|
|
450
|
+
locked?: Maybe<Scalars['Boolean']['output']>;
|
|
451
|
+
lockedAt?: Maybe<Scalars['String']['output']>;
|
|
452
|
+
lockedBy?: Maybe<Scalars['String']['output']>;
|
|
453
|
+
numchild?: Maybe<Scalars['Int']['output']>;
|
|
454
|
+
owner?: Maybe<Scalars['Int']['output']>;
|
|
455
|
+
path?: Maybe<Scalars['String']['output']>;
|
|
456
|
+
searchDescription?: Maybe<Scalars['String']['output']>;
|
|
457
|
+
seoTitle?: Maybe<Scalars['String']['output']>;
|
|
458
|
+
showInMenus?: Maybe<Scalars['Boolean']['output']>;
|
|
459
|
+
slug?: Maybe<Scalars['String']['output']>;
|
|
460
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
461
|
+
urlPath?: Maybe<Scalars['String']['output']>;
|
|
462
|
+
};
|
|
463
|
+
export type Subscription = {
|
|
464
|
+
__typename?: 'Subscription';
|
|
465
|
+
_empty?: Maybe<Scalars['String']['output']>;
|
|
466
|
+
};
|
|
467
|
+
export type _Service = {
|
|
468
|
+
__typename?: '_Service';
|
|
469
|
+
sdl?: Maybe<Scalars['String']['output']>;
|
|
470
|
+
};
|
|
471
|
+
export declare enum Link__Purpose {
|
|
472
|
+
/** `EXECUTION` features provide metadata necessary for operation execution. */
|
|
473
|
+
Execution = "EXECUTION",
|
|
474
|
+
/** `SECURITY` features provide metadata necessary to securely resolve fields. */
|
|
475
|
+
Security = "SECURITY"
|
|
476
|
+
}
|
|
477
|
+
export type LocalizedCmsEventFieldsFragment = {
|
|
478
|
+
__typename?: 'LocalizedObject';
|
|
479
|
+
en?: string | null;
|
|
480
|
+
fi?: string | null;
|
|
481
|
+
sv?: string | null;
|
|
482
|
+
};
|
|
483
|
+
export type PlaceCmsEventFieldsFragment = {
|
|
484
|
+
__typename?: 'Place';
|
|
485
|
+
id?: string | null;
|
|
486
|
+
hasUpcomingEvents?: boolean | null;
|
|
487
|
+
internalId: string;
|
|
488
|
+
email?: string | null;
|
|
489
|
+
postalCode?: string | null;
|
|
490
|
+
divisions?: Array<{
|
|
491
|
+
__typename?: 'Division';
|
|
492
|
+
type: string;
|
|
493
|
+
name?: {
|
|
494
|
+
__typename?: 'LocalizedObject';
|
|
495
|
+
en?: string | null;
|
|
496
|
+
fi?: string | null;
|
|
497
|
+
sv?: string | null;
|
|
498
|
+
} | null;
|
|
499
|
+
}> | null;
|
|
500
|
+
infoUrl?: {
|
|
501
|
+
__typename?: 'LocalizedObject';
|
|
502
|
+
en?: string | null;
|
|
503
|
+
fi?: string | null;
|
|
504
|
+
sv?: string | null;
|
|
505
|
+
} | null;
|
|
506
|
+
name?: {
|
|
507
|
+
__typename?: 'LocalizedObject';
|
|
508
|
+
en?: string | null;
|
|
509
|
+
fi?: string | null;
|
|
510
|
+
sv?: string | null;
|
|
511
|
+
} | null;
|
|
512
|
+
addressLocality?: {
|
|
513
|
+
__typename?: 'LocalizedObject';
|
|
514
|
+
en?: string | null;
|
|
515
|
+
fi?: string | null;
|
|
516
|
+
sv?: string | null;
|
|
517
|
+
} | null;
|
|
518
|
+
streetAddress?: {
|
|
519
|
+
__typename?: 'LocalizedObject';
|
|
520
|
+
en?: string | null;
|
|
521
|
+
fi?: string | null;
|
|
522
|
+
sv?: string | null;
|
|
523
|
+
} | null;
|
|
524
|
+
position?: {
|
|
525
|
+
__typename?: 'PlacePosition';
|
|
526
|
+
coordinates: Array<number>;
|
|
527
|
+
} | null;
|
|
528
|
+
telephone?: {
|
|
529
|
+
__typename?: 'LocalizedObject';
|
|
530
|
+
en?: string | null;
|
|
531
|
+
fi?: string | null;
|
|
532
|
+
sv?: string | null;
|
|
533
|
+
} | null;
|
|
534
|
+
};
|
|
535
|
+
export type KeywordCmsEventFieldsFragment = {
|
|
536
|
+
__typename?: 'Keyword';
|
|
537
|
+
id?: string | null;
|
|
538
|
+
internalId: string;
|
|
539
|
+
dataSource?: string | null;
|
|
540
|
+
hasUpcomingEvents?: boolean | null;
|
|
541
|
+
name?: {
|
|
542
|
+
__typename?: 'LocalizedObject';
|
|
543
|
+
en?: string | null;
|
|
544
|
+
fi?: string | null;
|
|
545
|
+
sv?: string | null;
|
|
546
|
+
} | null;
|
|
547
|
+
};
|
|
548
|
+
export type OfferCmsEventFieldsFragment = {
|
|
549
|
+
__typename?: 'Offer';
|
|
550
|
+
isFree?: boolean | null;
|
|
551
|
+
price?: {
|
|
552
|
+
__typename?: 'LocalizedObject';
|
|
553
|
+
en?: string | null;
|
|
554
|
+
fi?: string | null;
|
|
555
|
+
sv?: string | null;
|
|
556
|
+
} | null;
|
|
557
|
+
description?: {
|
|
558
|
+
__typename?: 'LocalizedObject';
|
|
559
|
+
en?: string | null;
|
|
560
|
+
fi?: string | null;
|
|
561
|
+
sv?: string | null;
|
|
562
|
+
} | null;
|
|
563
|
+
infoUrl?: {
|
|
564
|
+
__typename?: 'LocalizedObject';
|
|
565
|
+
en?: string | null;
|
|
566
|
+
fi?: string | null;
|
|
567
|
+
sv?: string | null;
|
|
568
|
+
} | null;
|
|
569
|
+
};
|
|
570
|
+
export type RegistrationCmsEventFieldsFragment = {
|
|
571
|
+
__typename?: 'Registration';
|
|
572
|
+
enrolmentStartTime?: string | null;
|
|
573
|
+
enrolmentEndTime?: string | null;
|
|
574
|
+
remainingAttendeeCapacity?: number | null;
|
|
575
|
+
audienceMinAge?: string | null;
|
|
576
|
+
audienceMaxAge?: string | null;
|
|
577
|
+
};
|
|
578
|
+
export type EventCmsEventFieldsFragment = {
|
|
579
|
+
__typename?: 'EventDetails';
|
|
580
|
+
id: string;
|
|
581
|
+
internalId?: string | null;
|
|
582
|
+
audienceMinAge?: string | null;
|
|
583
|
+
audienceMaxAge?: string | null;
|
|
584
|
+
eventStatus?: string | null;
|
|
585
|
+
typeId?: EventTypeId | null;
|
|
586
|
+
endTime?: string | null;
|
|
587
|
+
startTime?: string | null;
|
|
588
|
+
publisher?: string | null;
|
|
589
|
+
enrolmentStartTime?: string | null;
|
|
590
|
+
enrolmentEndTime?: string | null;
|
|
591
|
+
externalLinks: Array<{
|
|
592
|
+
__typename?: 'ExternalLink';
|
|
593
|
+
name?: string | null;
|
|
594
|
+
link?: string | null;
|
|
595
|
+
}>;
|
|
596
|
+
images: Array<{
|
|
597
|
+
__typename?: 'EventImage';
|
|
598
|
+
id?: string | null;
|
|
599
|
+
name: string;
|
|
600
|
+
url: string;
|
|
601
|
+
photographerName?: string | null;
|
|
602
|
+
}>;
|
|
603
|
+
subEvents: Array<{
|
|
604
|
+
__typename?: 'InternalIdObject';
|
|
605
|
+
internalId?: string | null;
|
|
606
|
+
}>;
|
|
607
|
+
superEvent?: {
|
|
608
|
+
__typename?: 'InternalIdObject';
|
|
609
|
+
internalId?: string | null;
|
|
610
|
+
} | null;
|
|
611
|
+
inLanguage: Array<{
|
|
612
|
+
__typename?: 'InLanguage';
|
|
613
|
+
name?: {
|
|
614
|
+
__typename?: 'LocalizedObject';
|
|
615
|
+
en?: string | null;
|
|
616
|
+
fi?: string | null;
|
|
617
|
+
sv?: string | null;
|
|
618
|
+
} | null;
|
|
619
|
+
}>;
|
|
620
|
+
keywords: Array<{
|
|
621
|
+
__typename?: 'Keyword';
|
|
622
|
+
id?: string | null;
|
|
623
|
+
internalId: string;
|
|
624
|
+
dataSource?: string | null;
|
|
625
|
+
hasUpcomingEvents?: boolean | null;
|
|
626
|
+
name?: {
|
|
627
|
+
__typename?: 'LocalizedObject';
|
|
628
|
+
en?: string | null;
|
|
629
|
+
fi?: string | null;
|
|
630
|
+
sv?: string | null;
|
|
631
|
+
} | null;
|
|
632
|
+
}>;
|
|
633
|
+
location?: {
|
|
634
|
+
__typename?: 'Place';
|
|
635
|
+
id?: string | null;
|
|
636
|
+
hasUpcomingEvents?: boolean | null;
|
|
637
|
+
internalId: string;
|
|
638
|
+
email?: string | null;
|
|
639
|
+
postalCode?: string | null;
|
|
640
|
+
divisions?: Array<{
|
|
641
|
+
__typename?: 'Division';
|
|
642
|
+
type: string;
|
|
643
|
+
name?: {
|
|
644
|
+
__typename?: 'LocalizedObject';
|
|
645
|
+
en?: string | null;
|
|
646
|
+
fi?: string | null;
|
|
647
|
+
sv?: string | null;
|
|
648
|
+
} | null;
|
|
649
|
+
}> | null;
|
|
650
|
+
infoUrl?: {
|
|
651
|
+
__typename?: 'LocalizedObject';
|
|
652
|
+
en?: string | null;
|
|
653
|
+
fi?: string | null;
|
|
654
|
+
sv?: string | null;
|
|
655
|
+
} | null;
|
|
656
|
+
name?: {
|
|
657
|
+
__typename?: 'LocalizedObject';
|
|
658
|
+
en?: string | null;
|
|
659
|
+
fi?: string | null;
|
|
660
|
+
sv?: string | null;
|
|
661
|
+
} | null;
|
|
662
|
+
addressLocality?: {
|
|
663
|
+
__typename?: 'LocalizedObject';
|
|
664
|
+
en?: string | null;
|
|
665
|
+
fi?: string | null;
|
|
666
|
+
sv?: string | null;
|
|
667
|
+
} | null;
|
|
668
|
+
streetAddress?: {
|
|
669
|
+
__typename?: 'LocalizedObject';
|
|
670
|
+
en?: string | null;
|
|
671
|
+
fi?: string | null;
|
|
672
|
+
sv?: string | null;
|
|
673
|
+
} | null;
|
|
674
|
+
position?: {
|
|
675
|
+
__typename?: 'PlacePosition';
|
|
676
|
+
coordinates: Array<number>;
|
|
677
|
+
} | null;
|
|
678
|
+
telephone?: {
|
|
679
|
+
__typename?: 'LocalizedObject';
|
|
680
|
+
en?: string | null;
|
|
681
|
+
fi?: string | null;
|
|
682
|
+
sv?: string | null;
|
|
683
|
+
} | null;
|
|
684
|
+
} | null;
|
|
685
|
+
offers: Array<{
|
|
686
|
+
__typename?: 'Offer';
|
|
687
|
+
isFree?: boolean | null;
|
|
688
|
+
price?: {
|
|
689
|
+
__typename?: 'LocalizedObject';
|
|
690
|
+
en?: string | null;
|
|
691
|
+
fi?: string | null;
|
|
692
|
+
sv?: string | null;
|
|
693
|
+
} | null;
|
|
694
|
+
description?: {
|
|
695
|
+
__typename?: 'LocalizedObject';
|
|
696
|
+
en?: string | null;
|
|
697
|
+
fi?: string | null;
|
|
698
|
+
sv?: string | null;
|
|
699
|
+
} | null;
|
|
700
|
+
infoUrl?: {
|
|
701
|
+
__typename?: 'LocalizedObject';
|
|
702
|
+
en?: string | null;
|
|
703
|
+
fi?: string | null;
|
|
704
|
+
sv?: string | null;
|
|
705
|
+
} | null;
|
|
706
|
+
}>;
|
|
707
|
+
name: {
|
|
708
|
+
__typename?: 'LocalizedObject';
|
|
709
|
+
en?: string | null;
|
|
710
|
+
fi?: string | null;
|
|
711
|
+
sv?: string | null;
|
|
712
|
+
};
|
|
713
|
+
description?: {
|
|
714
|
+
__typename?: 'LocalizedObject';
|
|
715
|
+
en?: string | null;
|
|
716
|
+
fi?: string | null;
|
|
717
|
+
sv?: string | null;
|
|
718
|
+
} | null;
|
|
719
|
+
shortDescription?: {
|
|
720
|
+
__typename?: 'LocalizedObject';
|
|
721
|
+
en?: string | null;
|
|
722
|
+
fi?: string | null;
|
|
723
|
+
sv?: string | null;
|
|
724
|
+
} | null;
|
|
725
|
+
provider?: {
|
|
726
|
+
__typename?: 'LocalizedObject';
|
|
727
|
+
en?: string | null;
|
|
728
|
+
fi?: string | null;
|
|
729
|
+
sv?: string | null;
|
|
730
|
+
} | null;
|
|
731
|
+
infoUrl?: {
|
|
732
|
+
__typename?: 'LocalizedObject';
|
|
733
|
+
en?: string | null;
|
|
734
|
+
fi?: string | null;
|
|
735
|
+
sv?: string | null;
|
|
736
|
+
} | null;
|
|
737
|
+
audience: Array<{
|
|
738
|
+
__typename?: 'Audience';
|
|
739
|
+
id?: string | null;
|
|
740
|
+
name?: {
|
|
741
|
+
__typename?: 'LocalizedObject';
|
|
742
|
+
en?: string | null;
|
|
743
|
+
fi?: string | null;
|
|
744
|
+
sv?: string | null;
|
|
745
|
+
} | null;
|
|
746
|
+
}>;
|
|
747
|
+
registration?: {
|
|
748
|
+
__typename?: 'Registration';
|
|
749
|
+
enrolmentStartTime?: string | null;
|
|
750
|
+
enrolmentEndTime?: string | null;
|
|
751
|
+
remainingAttendeeCapacity?: number | null;
|
|
752
|
+
audienceMinAge?: string | null;
|
|
753
|
+
audienceMaxAge?: string | null;
|
|
754
|
+
} | null;
|
|
755
|
+
locationExtraInfo?: {
|
|
756
|
+
__typename?: 'LocalizedObject';
|
|
757
|
+
en?: string | null;
|
|
758
|
+
fi?: string | null;
|
|
759
|
+
sv?: string | null;
|
|
760
|
+
} | null;
|
|
761
|
+
};
|
|
762
|
+
export type EventListQueryVariables = Exact<{
|
|
763
|
+
eventType?: InputMaybe<Array<InputMaybe<EventTypeId>> | InputMaybe<EventTypeId>>;
|
|
764
|
+
internetBased?: InputMaybe<Scalars['Boolean']['input']>;
|
|
765
|
+
suitableFor?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>> | InputMaybe<Scalars['Int']['input']>>;
|
|
766
|
+
allOngoing?: InputMaybe<Scalars['Boolean']['input']>;
|
|
767
|
+
allOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
768
|
+
division?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
769
|
+
end?: InputMaybe<Scalars['String']['input']>;
|
|
770
|
+
endsAfter?: InputMaybe<Scalars['String']['input']>;
|
|
771
|
+
endsBefore?: InputMaybe<Scalars['String']['input']>;
|
|
772
|
+
inLanguage?: InputMaybe<Scalars['String']['input']>;
|
|
773
|
+
include?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
774
|
+
isFree?: InputMaybe<Scalars['Boolean']['input']>;
|
|
775
|
+
keyword?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
776
|
+
keywordAnd?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
777
|
+
keywordOrSet1?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
778
|
+
keywordOrSet2?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
779
|
+
keywordOrSet3?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
780
|
+
keywordNot?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
781
|
+
language?: InputMaybe<Scalars['String']['input']>;
|
|
782
|
+
localOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
783
|
+
location?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
784
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
785
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
786
|
+
publisher?: InputMaybe<Scalars['ID']['input']>;
|
|
787
|
+
sort?: InputMaybe<Scalars['String']['input']>;
|
|
788
|
+
start?: InputMaybe<Scalars['String']['input']>;
|
|
789
|
+
startsAfter?: InputMaybe<Scalars['String']['input']>;
|
|
790
|
+
startsBefore?: InputMaybe<Scalars['String']['input']>;
|
|
791
|
+
superEvent?: InputMaybe<Scalars['ID']['input']>;
|
|
792
|
+
superEventType?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
793
|
+
text?: InputMaybe<Scalars['String']['input']>;
|
|
794
|
+
translation?: InputMaybe<Scalars['String']['input']>;
|
|
795
|
+
}>;
|
|
796
|
+
export type EventListQuery = {
|
|
797
|
+
__typename?: 'Query';
|
|
798
|
+
eventList: {
|
|
799
|
+
__typename?: 'EventListResponse';
|
|
800
|
+
meta: {
|
|
801
|
+
__typename?: 'Meta';
|
|
802
|
+
count: number;
|
|
803
|
+
next?: string | null;
|
|
804
|
+
previous?: string | null;
|
|
805
|
+
};
|
|
806
|
+
data: Array<{
|
|
807
|
+
__typename?: 'EventDetails';
|
|
808
|
+
id: string;
|
|
809
|
+
internalId?: string | null;
|
|
810
|
+
audienceMinAge?: string | null;
|
|
811
|
+
audienceMaxAge?: string | null;
|
|
812
|
+
eventStatus?: string | null;
|
|
813
|
+
typeId?: EventTypeId | null;
|
|
814
|
+
endTime?: string | null;
|
|
815
|
+
startTime?: string | null;
|
|
816
|
+
publisher?: string | null;
|
|
817
|
+
enrolmentStartTime?: string | null;
|
|
818
|
+
enrolmentEndTime?: string | null;
|
|
819
|
+
externalLinks: Array<{
|
|
820
|
+
__typename?: 'ExternalLink';
|
|
821
|
+
name?: string | null;
|
|
822
|
+
link?: string | null;
|
|
823
|
+
}>;
|
|
824
|
+
images: Array<{
|
|
825
|
+
__typename?: 'EventImage';
|
|
826
|
+
id?: string | null;
|
|
827
|
+
name: string;
|
|
828
|
+
url: string;
|
|
829
|
+
photographerName?: string | null;
|
|
830
|
+
}>;
|
|
831
|
+
subEvents: Array<{
|
|
832
|
+
__typename?: 'InternalIdObject';
|
|
833
|
+
internalId?: string | null;
|
|
834
|
+
}>;
|
|
835
|
+
superEvent?: {
|
|
836
|
+
__typename?: 'InternalIdObject';
|
|
837
|
+
internalId?: string | null;
|
|
838
|
+
} | null;
|
|
839
|
+
inLanguage: Array<{
|
|
840
|
+
__typename?: 'InLanguage';
|
|
841
|
+
name?: {
|
|
842
|
+
__typename?: 'LocalizedObject';
|
|
843
|
+
en?: string | null;
|
|
844
|
+
fi?: string | null;
|
|
845
|
+
sv?: string | null;
|
|
846
|
+
} | null;
|
|
847
|
+
}>;
|
|
848
|
+
keywords: Array<{
|
|
849
|
+
__typename?: 'Keyword';
|
|
850
|
+
id?: string | null;
|
|
851
|
+
internalId: string;
|
|
852
|
+
dataSource?: string | null;
|
|
853
|
+
hasUpcomingEvents?: boolean | null;
|
|
854
|
+
name?: {
|
|
855
|
+
__typename?: 'LocalizedObject';
|
|
856
|
+
en?: string | null;
|
|
857
|
+
fi?: string | null;
|
|
858
|
+
sv?: string | null;
|
|
859
|
+
} | null;
|
|
860
|
+
}>;
|
|
861
|
+
location?: {
|
|
862
|
+
__typename?: 'Place';
|
|
863
|
+
id?: string | null;
|
|
864
|
+
hasUpcomingEvents?: boolean | null;
|
|
865
|
+
internalId: string;
|
|
866
|
+
email?: string | null;
|
|
867
|
+
postalCode?: string | null;
|
|
868
|
+
divisions?: Array<{
|
|
869
|
+
__typename?: 'Division';
|
|
870
|
+
type: string;
|
|
871
|
+
name?: {
|
|
872
|
+
__typename?: 'LocalizedObject';
|
|
873
|
+
en?: string | null;
|
|
874
|
+
fi?: string | null;
|
|
875
|
+
sv?: string | null;
|
|
876
|
+
} | null;
|
|
877
|
+
}> | null;
|
|
878
|
+
infoUrl?: {
|
|
879
|
+
__typename?: 'LocalizedObject';
|
|
880
|
+
en?: string | null;
|
|
881
|
+
fi?: string | null;
|
|
882
|
+
sv?: string | null;
|
|
883
|
+
} | null;
|
|
884
|
+
name?: {
|
|
885
|
+
__typename?: 'LocalizedObject';
|
|
886
|
+
en?: string | null;
|
|
887
|
+
fi?: string | null;
|
|
888
|
+
sv?: string | null;
|
|
889
|
+
} | null;
|
|
890
|
+
addressLocality?: {
|
|
891
|
+
__typename?: 'LocalizedObject';
|
|
892
|
+
en?: string | null;
|
|
893
|
+
fi?: string | null;
|
|
894
|
+
sv?: string | null;
|
|
895
|
+
} | null;
|
|
896
|
+
streetAddress?: {
|
|
897
|
+
__typename?: 'LocalizedObject';
|
|
898
|
+
en?: string | null;
|
|
899
|
+
fi?: string | null;
|
|
900
|
+
sv?: string | null;
|
|
901
|
+
} | null;
|
|
902
|
+
position?: {
|
|
903
|
+
__typename?: 'PlacePosition';
|
|
904
|
+
coordinates: Array<number>;
|
|
905
|
+
} | null;
|
|
906
|
+
telephone?: {
|
|
907
|
+
__typename?: 'LocalizedObject';
|
|
908
|
+
en?: string | null;
|
|
909
|
+
fi?: string | null;
|
|
910
|
+
sv?: string | null;
|
|
911
|
+
} | null;
|
|
912
|
+
} | null;
|
|
913
|
+
offers: Array<{
|
|
914
|
+
__typename?: 'Offer';
|
|
915
|
+
isFree?: boolean | null;
|
|
916
|
+
price?: {
|
|
917
|
+
__typename?: 'LocalizedObject';
|
|
918
|
+
en?: string | null;
|
|
919
|
+
fi?: string | null;
|
|
920
|
+
sv?: string | null;
|
|
921
|
+
} | null;
|
|
922
|
+
description?: {
|
|
923
|
+
__typename?: 'LocalizedObject';
|
|
924
|
+
en?: string | null;
|
|
925
|
+
fi?: string | null;
|
|
926
|
+
sv?: string | null;
|
|
927
|
+
} | null;
|
|
928
|
+
infoUrl?: {
|
|
929
|
+
__typename?: 'LocalizedObject';
|
|
930
|
+
en?: string | null;
|
|
931
|
+
fi?: string | null;
|
|
932
|
+
sv?: string | null;
|
|
933
|
+
} | null;
|
|
934
|
+
}>;
|
|
935
|
+
name: {
|
|
936
|
+
__typename?: 'LocalizedObject';
|
|
937
|
+
en?: string | null;
|
|
938
|
+
fi?: string | null;
|
|
939
|
+
sv?: string | null;
|
|
940
|
+
};
|
|
941
|
+
description?: {
|
|
942
|
+
__typename?: 'LocalizedObject';
|
|
943
|
+
en?: string | null;
|
|
944
|
+
fi?: string | null;
|
|
945
|
+
sv?: string | null;
|
|
946
|
+
} | null;
|
|
947
|
+
shortDescription?: {
|
|
948
|
+
__typename?: 'LocalizedObject';
|
|
949
|
+
en?: string | null;
|
|
950
|
+
fi?: string | null;
|
|
951
|
+
sv?: string | null;
|
|
952
|
+
} | null;
|
|
953
|
+
provider?: {
|
|
954
|
+
__typename?: 'LocalizedObject';
|
|
955
|
+
en?: string | null;
|
|
956
|
+
fi?: string | null;
|
|
957
|
+
sv?: string | null;
|
|
958
|
+
} | null;
|
|
959
|
+
infoUrl?: {
|
|
960
|
+
__typename?: 'LocalizedObject';
|
|
961
|
+
en?: string | null;
|
|
962
|
+
fi?: string | null;
|
|
963
|
+
sv?: string | null;
|
|
964
|
+
} | null;
|
|
965
|
+
audience: Array<{
|
|
966
|
+
__typename?: 'Audience';
|
|
967
|
+
id?: string | null;
|
|
968
|
+
name?: {
|
|
969
|
+
__typename?: 'LocalizedObject';
|
|
970
|
+
en?: string | null;
|
|
971
|
+
fi?: string | null;
|
|
972
|
+
sv?: string | null;
|
|
973
|
+
} | null;
|
|
974
|
+
}>;
|
|
975
|
+
registration?: {
|
|
976
|
+
__typename?: 'Registration';
|
|
977
|
+
enrolmentStartTime?: string | null;
|
|
978
|
+
enrolmentEndTime?: string | null;
|
|
979
|
+
remainingAttendeeCapacity?: number | null;
|
|
980
|
+
audienceMinAge?: string | null;
|
|
981
|
+
audienceMaxAge?: string | null;
|
|
982
|
+
} | null;
|
|
983
|
+
locationExtraInfo?: {
|
|
984
|
+
__typename?: 'LocalizedObject';
|
|
985
|
+
en?: string | null;
|
|
986
|
+
fi?: string | null;
|
|
987
|
+
sv?: string | null;
|
|
988
|
+
} | null;
|
|
989
|
+
}>;
|
|
990
|
+
};
|
|
991
|
+
};
|
|
992
|
+
export type EventsByIdsQueryVariables = Exact<{
|
|
993
|
+
ids: Array<Scalars['ID']['input']> | Scalars['ID']['input'];
|
|
994
|
+
eventType?: InputMaybe<Array<InputMaybe<EventTypeId>> | InputMaybe<EventTypeId>>;
|
|
995
|
+
include?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
996
|
+
sort?: InputMaybe<Scalars['String']['input']>;
|
|
997
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
998
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
999
|
+
start?: InputMaybe<Scalars['String']['input']>;
|
|
1000
|
+
end?: InputMaybe<Scalars['String']['input']>;
|
|
1001
|
+
}>;
|
|
1002
|
+
export type EventsByIdsQuery = {
|
|
1003
|
+
__typename?: 'Query';
|
|
1004
|
+
eventsByIds: {
|
|
1005
|
+
__typename?: 'EventListResponse';
|
|
1006
|
+
data: Array<{
|
|
1007
|
+
__typename?: 'EventDetails';
|
|
1008
|
+
id: string;
|
|
1009
|
+
internalId?: string | null;
|
|
1010
|
+
audienceMinAge?: string | null;
|
|
1011
|
+
audienceMaxAge?: string | null;
|
|
1012
|
+
eventStatus?: string | null;
|
|
1013
|
+
typeId?: EventTypeId | null;
|
|
1014
|
+
endTime?: string | null;
|
|
1015
|
+
startTime?: string | null;
|
|
1016
|
+
publisher?: string | null;
|
|
1017
|
+
enrolmentStartTime?: string | null;
|
|
1018
|
+
enrolmentEndTime?: string | null;
|
|
1019
|
+
externalLinks: Array<{
|
|
1020
|
+
__typename?: 'ExternalLink';
|
|
1021
|
+
name?: string | null;
|
|
1022
|
+
link?: string | null;
|
|
1023
|
+
}>;
|
|
1024
|
+
images: Array<{
|
|
1025
|
+
__typename?: 'EventImage';
|
|
1026
|
+
id?: string | null;
|
|
1027
|
+
name: string;
|
|
1028
|
+
url: string;
|
|
1029
|
+
photographerName?: string | null;
|
|
1030
|
+
}>;
|
|
1031
|
+
subEvents: Array<{
|
|
1032
|
+
__typename?: 'InternalIdObject';
|
|
1033
|
+
internalId?: string | null;
|
|
1034
|
+
}>;
|
|
1035
|
+
superEvent?: {
|
|
1036
|
+
__typename?: 'InternalIdObject';
|
|
1037
|
+
internalId?: string | null;
|
|
1038
|
+
} | null;
|
|
1039
|
+
inLanguage: Array<{
|
|
1040
|
+
__typename?: 'InLanguage';
|
|
1041
|
+
name?: {
|
|
1042
|
+
__typename?: 'LocalizedObject';
|
|
1043
|
+
en?: string | null;
|
|
1044
|
+
fi?: string | null;
|
|
1045
|
+
sv?: string | null;
|
|
1046
|
+
} | null;
|
|
1047
|
+
}>;
|
|
1048
|
+
keywords: Array<{
|
|
1049
|
+
__typename?: 'Keyword';
|
|
1050
|
+
id?: string | null;
|
|
1051
|
+
internalId: string;
|
|
1052
|
+
dataSource?: string | null;
|
|
1053
|
+
hasUpcomingEvents?: boolean | null;
|
|
1054
|
+
name?: {
|
|
1055
|
+
__typename?: 'LocalizedObject';
|
|
1056
|
+
en?: string | null;
|
|
1057
|
+
fi?: string | null;
|
|
1058
|
+
sv?: string | null;
|
|
1059
|
+
} | null;
|
|
1060
|
+
}>;
|
|
1061
|
+
location?: {
|
|
1062
|
+
__typename?: 'Place';
|
|
1063
|
+
id?: string | null;
|
|
1064
|
+
hasUpcomingEvents?: boolean | null;
|
|
1065
|
+
internalId: string;
|
|
1066
|
+
email?: string | null;
|
|
1067
|
+
postalCode?: string | null;
|
|
1068
|
+
divisions?: Array<{
|
|
1069
|
+
__typename?: 'Division';
|
|
1070
|
+
type: string;
|
|
1071
|
+
name?: {
|
|
1072
|
+
__typename?: 'LocalizedObject';
|
|
1073
|
+
en?: string | null;
|
|
1074
|
+
fi?: string | null;
|
|
1075
|
+
sv?: string | null;
|
|
1076
|
+
} | null;
|
|
1077
|
+
}> | null;
|
|
1078
|
+
infoUrl?: {
|
|
1079
|
+
__typename?: 'LocalizedObject';
|
|
1080
|
+
en?: string | null;
|
|
1081
|
+
fi?: string | null;
|
|
1082
|
+
sv?: string | null;
|
|
1083
|
+
} | null;
|
|
1084
|
+
name?: {
|
|
1085
|
+
__typename?: 'LocalizedObject';
|
|
1086
|
+
en?: string | null;
|
|
1087
|
+
fi?: string | null;
|
|
1088
|
+
sv?: string | null;
|
|
1089
|
+
} | null;
|
|
1090
|
+
addressLocality?: {
|
|
1091
|
+
__typename?: 'LocalizedObject';
|
|
1092
|
+
en?: string | null;
|
|
1093
|
+
fi?: string | null;
|
|
1094
|
+
sv?: string | null;
|
|
1095
|
+
} | null;
|
|
1096
|
+
streetAddress?: {
|
|
1097
|
+
__typename?: 'LocalizedObject';
|
|
1098
|
+
en?: string | null;
|
|
1099
|
+
fi?: string | null;
|
|
1100
|
+
sv?: string | null;
|
|
1101
|
+
} | null;
|
|
1102
|
+
position?: {
|
|
1103
|
+
__typename?: 'PlacePosition';
|
|
1104
|
+
coordinates: Array<number>;
|
|
1105
|
+
} | null;
|
|
1106
|
+
telephone?: {
|
|
1107
|
+
__typename?: 'LocalizedObject';
|
|
1108
|
+
en?: string | null;
|
|
1109
|
+
fi?: string | null;
|
|
1110
|
+
sv?: string | null;
|
|
1111
|
+
} | null;
|
|
1112
|
+
} | null;
|
|
1113
|
+
offers: Array<{
|
|
1114
|
+
__typename?: 'Offer';
|
|
1115
|
+
isFree?: boolean | null;
|
|
1116
|
+
price?: {
|
|
1117
|
+
__typename?: 'LocalizedObject';
|
|
1118
|
+
en?: string | null;
|
|
1119
|
+
fi?: string | null;
|
|
1120
|
+
sv?: string | null;
|
|
1121
|
+
} | null;
|
|
1122
|
+
description?: {
|
|
1123
|
+
__typename?: 'LocalizedObject';
|
|
1124
|
+
en?: string | null;
|
|
1125
|
+
fi?: string | null;
|
|
1126
|
+
sv?: string | null;
|
|
1127
|
+
} | null;
|
|
1128
|
+
infoUrl?: {
|
|
1129
|
+
__typename?: 'LocalizedObject';
|
|
1130
|
+
en?: string | null;
|
|
1131
|
+
fi?: string | null;
|
|
1132
|
+
sv?: string | null;
|
|
1133
|
+
} | null;
|
|
1134
|
+
}>;
|
|
1135
|
+
name: {
|
|
1136
|
+
__typename?: 'LocalizedObject';
|
|
1137
|
+
en?: string | null;
|
|
1138
|
+
fi?: string | null;
|
|
1139
|
+
sv?: string | null;
|
|
1140
|
+
};
|
|
1141
|
+
description?: {
|
|
1142
|
+
__typename?: 'LocalizedObject';
|
|
1143
|
+
en?: string | null;
|
|
1144
|
+
fi?: string | null;
|
|
1145
|
+
sv?: string | null;
|
|
1146
|
+
} | null;
|
|
1147
|
+
shortDescription?: {
|
|
1148
|
+
__typename?: 'LocalizedObject';
|
|
1149
|
+
en?: string | null;
|
|
1150
|
+
fi?: string | null;
|
|
1151
|
+
sv?: string | null;
|
|
1152
|
+
} | null;
|
|
1153
|
+
provider?: {
|
|
1154
|
+
__typename?: 'LocalizedObject';
|
|
1155
|
+
en?: string | null;
|
|
1156
|
+
fi?: string | null;
|
|
1157
|
+
sv?: string | null;
|
|
1158
|
+
} | null;
|
|
1159
|
+
infoUrl?: {
|
|
1160
|
+
__typename?: 'LocalizedObject';
|
|
1161
|
+
en?: string | null;
|
|
1162
|
+
fi?: string | null;
|
|
1163
|
+
sv?: string | null;
|
|
1164
|
+
} | null;
|
|
1165
|
+
audience: Array<{
|
|
1166
|
+
__typename?: 'Audience';
|
|
1167
|
+
id?: string | null;
|
|
1168
|
+
name?: {
|
|
1169
|
+
__typename?: 'LocalizedObject';
|
|
1170
|
+
en?: string | null;
|
|
1171
|
+
fi?: string | null;
|
|
1172
|
+
sv?: string | null;
|
|
1173
|
+
} | null;
|
|
1174
|
+
}>;
|
|
1175
|
+
registration?: {
|
|
1176
|
+
__typename?: 'Registration';
|
|
1177
|
+
enrolmentStartTime?: string | null;
|
|
1178
|
+
enrolmentEndTime?: string | null;
|
|
1179
|
+
remainingAttendeeCapacity?: number | null;
|
|
1180
|
+
audienceMinAge?: string | null;
|
|
1181
|
+
audienceMaxAge?: string | null;
|
|
1182
|
+
} | null;
|
|
1183
|
+
locationExtraInfo?: {
|
|
1184
|
+
__typename?: 'LocalizedObject';
|
|
1185
|
+
en?: string | null;
|
|
1186
|
+
fi?: string | null;
|
|
1187
|
+
sv?: string | null;
|
|
1188
|
+
} | null;
|
|
1189
|
+
}>;
|
|
1190
|
+
meta: {
|
|
1191
|
+
__typename?: 'Meta';
|
|
1192
|
+
count: number;
|
|
1193
|
+
next?: string | null;
|
|
1194
|
+
previous?: string | null;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
export declare const LocalizedCmsEventFieldsFragmentDoc: Apollo.DocumentNode;
|
|
1199
|
+
export declare const KeywordCmsEventFieldsFragmentDoc: Apollo.DocumentNode;
|
|
1200
|
+
export declare const PlaceCmsEventFieldsFragmentDoc: Apollo.DocumentNode;
|
|
1201
|
+
export declare const OfferCmsEventFieldsFragmentDoc: Apollo.DocumentNode;
|
|
1202
|
+
export declare const RegistrationCmsEventFieldsFragmentDoc: Apollo.DocumentNode;
|
|
1203
|
+
export declare const EventCmsEventFieldsFragmentDoc: Apollo.DocumentNode;
|
|
1204
|
+
export declare const EventListDocument: Apollo.DocumentNode;
|
|
1205
|
+
/**
|
|
1206
|
+
* __useEventListQuery__
|
|
1207
|
+
*
|
|
1208
|
+
* To run a query within a React component, call `useEventListQuery` and pass it any options that fit your needs.
|
|
1209
|
+
* When your component renders, `useEventListQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1210
|
+
* you can use to render your UI.
|
|
1211
|
+
*
|
|
1212
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1213
|
+
*
|
|
1214
|
+
* @example
|
|
1215
|
+
* const { data, loading, error } = useEventListQuery({
|
|
1216
|
+
* variables: {
|
|
1217
|
+
* eventType: // value for 'eventType'
|
|
1218
|
+
* internetBased: // value for 'internetBased'
|
|
1219
|
+
* suitableFor: // value for 'suitableFor'
|
|
1220
|
+
* allOngoing: // value for 'allOngoing'
|
|
1221
|
+
* allOngoingAnd: // value for 'allOngoingAnd'
|
|
1222
|
+
* division: // value for 'division'
|
|
1223
|
+
* end: // value for 'end'
|
|
1224
|
+
* endsAfter: // value for 'endsAfter'
|
|
1225
|
+
* endsBefore: // value for 'endsBefore'
|
|
1226
|
+
* inLanguage: // value for 'inLanguage'
|
|
1227
|
+
* include: // value for 'include'
|
|
1228
|
+
* isFree: // value for 'isFree'
|
|
1229
|
+
* keyword: // value for 'keyword'
|
|
1230
|
+
* keywordAnd: // value for 'keywordAnd'
|
|
1231
|
+
* keywordOrSet1: // value for 'keywordOrSet1'
|
|
1232
|
+
* keywordOrSet2: // value for 'keywordOrSet2'
|
|
1233
|
+
* keywordOrSet3: // value for 'keywordOrSet3'
|
|
1234
|
+
* keywordNot: // value for 'keywordNot'
|
|
1235
|
+
* language: // value for 'language'
|
|
1236
|
+
* localOngoingAnd: // value for 'localOngoingAnd'
|
|
1237
|
+
* location: // value for 'location'
|
|
1238
|
+
* page: // value for 'page'
|
|
1239
|
+
* pageSize: // value for 'pageSize'
|
|
1240
|
+
* publisher: // value for 'publisher'
|
|
1241
|
+
* sort: // value for 'sort'
|
|
1242
|
+
* start: // value for 'start'
|
|
1243
|
+
* startsAfter: // value for 'startsAfter'
|
|
1244
|
+
* startsBefore: // value for 'startsBefore'
|
|
1245
|
+
* superEvent: // value for 'superEvent'
|
|
1246
|
+
* superEventType: // value for 'superEventType'
|
|
1247
|
+
* text: // value for 'text'
|
|
1248
|
+
* translation: // value for 'translation'
|
|
1249
|
+
* },
|
|
1250
|
+
* });
|
|
1251
|
+
*/
|
|
1252
|
+
export declare function useEventListQuery(baseOptions?: Apollo.QueryHookOptions<EventListQuery, EventListQueryVariables>): Apollo.InteropQueryResult<EventListQuery, Exact<{
|
|
1253
|
+
eventType?: InputMaybe<Array<InputMaybe<EventTypeId>> | InputMaybe<EventTypeId>>;
|
|
1254
|
+
internetBased?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1255
|
+
suitableFor?: InputMaybe<Array<InputMaybe<Scalars["Int"]["input"]>> | InputMaybe<Scalars["Int"]["input"]>>;
|
|
1256
|
+
allOngoing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1257
|
+
allOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1258
|
+
division?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1259
|
+
end?: InputMaybe<Scalars["String"]["input"]>;
|
|
1260
|
+
endsAfter?: InputMaybe<Scalars["String"]["input"]>;
|
|
1261
|
+
endsBefore?: InputMaybe<Scalars["String"]["input"]>;
|
|
1262
|
+
inLanguage?: InputMaybe<Scalars["String"]["input"]>;
|
|
1263
|
+
include?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1264
|
+
isFree?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1265
|
+
keyword?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1266
|
+
keywordAnd?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1267
|
+
keywordOrSet1?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1268
|
+
keywordOrSet2?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1269
|
+
keywordOrSet3?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1270
|
+
keywordNot?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1271
|
+
language?: InputMaybe<Scalars["String"]["input"]>;
|
|
1272
|
+
localOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1273
|
+
location?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1274
|
+
page?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1275
|
+
pageSize?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1276
|
+
publisher?: InputMaybe<Scalars["ID"]["input"]>;
|
|
1277
|
+
sort?: InputMaybe<Scalars["String"]["input"]>;
|
|
1278
|
+
start?: InputMaybe<Scalars["String"]["input"]>;
|
|
1279
|
+
startsAfter?: InputMaybe<Scalars["String"]["input"]>;
|
|
1280
|
+
startsBefore?: InputMaybe<Scalars["String"]["input"]>;
|
|
1281
|
+
superEvent?: InputMaybe<Scalars["ID"]["input"]>;
|
|
1282
|
+
superEventType?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1283
|
+
text?: InputMaybe<Scalars["String"]["input"]>;
|
|
1284
|
+
translation?: InputMaybe<Scalars["String"]["input"]>;
|
|
1285
|
+
}>>;
|
|
1286
|
+
export declare function useEventListLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<EventListQuery, EventListQueryVariables>): Apollo.LazyQueryResultTuple<EventListQuery, Exact<{
|
|
1287
|
+
eventType?: InputMaybe<Array<InputMaybe<EventTypeId>> | InputMaybe<EventTypeId>>;
|
|
1288
|
+
internetBased?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1289
|
+
suitableFor?: InputMaybe<Array<InputMaybe<Scalars["Int"]["input"]>> | InputMaybe<Scalars["Int"]["input"]>>;
|
|
1290
|
+
allOngoing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1291
|
+
allOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1292
|
+
division?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1293
|
+
end?: InputMaybe<Scalars["String"]["input"]>;
|
|
1294
|
+
endsAfter?: InputMaybe<Scalars["String"]["input"]>;
|
|
1295
|
+
endsBefore?: InputMaybe<Scalars["String"]["input"]>;
|
|
1296
|
+
inLanguage?: InputMaybe<Scalars["String"]["input"]>;
|
|
1297
|
+
include?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1298
|
+
isFree?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1299
|
+
keyword?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1300
|
+
keywordAnd?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1301
|
+
keywordOrSet1?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1302
|
+
keywordOrSet2?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1303
|
+
keywordOrSet3?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1304
|
+
keywordNot?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1305
|
+
language?: InputMaybe<Scalars["String"]["input"]>;
|
|
1306
|
+
localOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1307
|
+
location?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1308
|
+
page?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1309
|
+
pageSize?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1310
|
+
publisher?: InputMaybe<Scalars["ID"]["input"]>;
|
|
1311
|
+
sort?: InputMaybe<Scalars["String"]["input"]>;
|
|
1312
|
+
start?: InputMaybe<Scalars["String"]["input"]>;
|
|
1313
|
+
startsAfter?: InputMaybe<Scalars["String"]["input"]>;
|
|
1314
|
+
startsBefore?: InputMaybe<Scalars["String"]["input"]>;
|
|
1315
|
+
superEvent?: InputMaybe<Scalars["ID"]["input"]>;
|
|
1316
|
+
superEventType?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1317
|
+
text?: InputMaybe<Scalars["String"]["input"]>;
|
|
1318
|
+
translation?: InputMaybe<Scalars["String"]["input"]>;
|
|
1319
|
+
}>>;
|
|
1320
|
+
export declare function useEventListSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<EventListQuery, EventListQueryVariables>): Apollo.UseSuspenseQueryResult<EventListQuery | undefined, Exact<{
|
|
1321
|
+
eventType?: InputMaybe<Array<InputMaybe<EventTypeId>> | InputMaybe<EventTypeId>>;
|
|
1322
|
+
internetBased?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1323
|
+
suitableFor?: InputMaybe<Array<InputMaybe<Scalars["Int"]["input"]>> | InputMaybe<Scalars["Int"]["input"]>>;
|
|
1324
|
+
allOngoing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1325
|
+
allOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1326
|
+
division?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1327
|
+
end?: InputMaybe<Scalars["String"]["input"]>;
|
|
1328
|
+
endsAfter?: InputMaybe<Scalars["String"]["input"]>;
|
|
1329
|
+
endsBefore?: InputMaybe<Scalars["String"]["input"]>;
|
|
1330
|
+
inLanguage?: InputMaybe<Scalars["String"]["input"]>;
|
|
1331
|
+
include?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1332
|
+
isFree?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
1333
|
+
keyword?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1334
|
+
keywordAnd?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1335
|
+
keywordOrSet1?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1336
|
+
keywordOrSet2?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1337
|
+
keywordOrSet3?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1338
|
+
keywordNot?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1339
|
+
language?: InputMaybe<Scalars["String"]["input"]>;
|
|
1340
|
+
localOngoingAnd?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1341
|
+
location?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1342
|
+
page?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1343
|
+
pageSize?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1344
|
+
publisher?: InputMaybe<Scalars["ID"]["input"]>;
|
|
1345
|
+
sort?: InputMaybe<Scalars["String"]["input"]>;
|
|
1346
|
+
start?: InputMaybe<Scalars["String"]["input"]>;
|
|
1347
|
+
startsAfter?: InputMaybe<Scalars["String"]["input"]>;
|
|
1348
|
+
startsBefore?: InputMaybe<Scalars["String"]["input"]>;
|
|
1349
|
+
superEvent?: InputMaybe<Scalars["ID"]["input"]>;
|
|
1350
|
+
superEventType?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1351
|
+
text?: InputMaybe<Scalars["String"]["input"]>;
|
|
1352
|
+
translation?: InputMaybe<Scalars["String"]["input"]>;
|
|
1353
|
+
}>>;
|
|
1354
|
+
export type EventListQueryHookResult = ReturnType<typeof useEventListQuery>;
|
|
1355
|
+
export type EventListLazyQueryHookResult = ReturnType<typeof useEventListLazyQuery>;
|
|
1356
|
+
export type EventListSuspenseQueryHookResult = ReturnType<typeof useEventListSuspenseQuery>;
|
|
1357
|
+
export type EventListQueryResult = Apollo.QueryResult<EventListQuery, EventListQueryVariables>;
|
|
1358
|
+
export declare const EventsByIdsDocument: Apollo.DocumentNode;
|
|
1359
|
+
/**
|
|
1360
|
+
* __useEventsByIdsQuery__
|
|
1361
|
+
*
|
|
1362
|
+
* To run a query within a React component, call `useEventsByIdsQuery` and pass it any options that fit your needs.
|
|
1363
|
+
* When your component renders, `useEventsByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1364
|
+
* you can use to render your UI.
|
|
1365
|
+
*
|
|
1366
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
1367
|
+
*
|
|
1368
|
+
* @example
|
|
1369
|
+
* const { data, loading, error } = useEventsByIdsQuery({
|
|
1370
|
+
* variables: {
|
|
1371
|
+
* ids: // value for 'ids'
|
|
1372
|
+
* eventType: // value for 'eventType'
|
|
1373
|
+
* include: // value for 'include'
|
|
1374
|
+
* sort: // value for 'sort'
|
|
1375
|
+
* pageSize: // value for 'pageSize'
|
|
1376
|
+
* page: // value for 'page'
|
|
1377
|
+
* start: // value for 'start'
|
|
1378
|
+
* end: // value for 'end'
|
|
1379
|
+
* },
|
|
1380
|
+
* });
|
|
1381
|
+
*/
|
|
1382
|
+
export declare function useEventsByIdsQuery(baseOptions: Apollo.QueryHookOptions<EventsByIdsQuery, EventsByIdsQueryVariables> & ({
|
|
1383
|
+
variables: EventsByIdsQueryVariables;
|
|
1384
|
+
skip?: boolean;
|
|
1385
|
+
} | {
|
|
1386
|
+
skip: boolean;
|
|
1387
|
+
})): Apollo.InteropQueryResult<EventsByIdsQuery, Exact<{
|
|
1388
|
+
ids: Array<Scalars["ID"]["input"]> | Scalars["ID"]["input"];
|
|
1389
|
+
eventType?: InputMaybe<Array<InputMaybe<EventTypeId>> | InputMaybe<EventTypeId>>;
|
|
1390
|
+
include?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1391
|
+
sort?: InputMaybe<Scalars["String"]["input"]>;
|
|
1392
|
+
pageSize?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1393
|
+
page?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1394
|
+
start?: InputMaybe<Scalars["String"]["input"]>;
|
|
1395
|
+
end?: InputMaybe<Scalars["String"]["input"]>;
|
|
1396
|
+
}>>;
|
|
1397
|
+
export declare function useEventsByIdsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<EventsByIdsQuery, EventsByIdsQueryVariables>): Apollo.LazyQueryResultTuple<EventsByIdsQuery, Exact<{
|
|
1398
|
+
ids: Array<Scalars["ID"]["input"]> | Scalars["ID"]["input"];
|
|
1399
|
+
eventType?: InputMaybe<Array<InputMaybe<EventTypeId>> | InputMaybe<EventTypeId>>;
|
|
1400
|
+
include?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1401
|
+
sort?: InputMaybe<Scalars["String"]["input"]>;
|
|
1402
|
+
pageSize?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1403
|
+
page?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1404
|
+
start?: InputMaybe<Scalars["String"]["input"]>;
|
|
1405
|
+
end?: InputMaybe<Scalars["String"]["input"]>;
|
|
1406
|
+
}>>;
|
|
1407
|
+
export declare function useEventsByIdsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<EventsByIdsQuery, EventsByIdsQueryVariables>): Apollo.UseSuspenseQueryResult<EventsByIdsQuery | undefined, Exact<{
|
|
1408
|
+
ids: Array<Scalars["ID"]["input"]> | Scalars["ID"]["input"];
|
|
1409
|
+
eventType?: InputMaybe<Array<InputMaybe<EventTypeId>> | InputMaybe<EventTypeId>>;
|
|
1410
|
+
include?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
|
|
1411
|
+
sort?: InputMaybe<Scalars["String"]["input"]>;
|
|
1412
|
+
pageSize?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1413
|
+
page?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1414
|
+
start?: InputMaybe<Scalars["String"]["input"]>;
|
|
1415
|
+
end?: InputMaybe<Scalars["String"]["input"]>;
|
|
1416
|
+
}>>;
|
|
1417
|
+
export type EventsByIdsQueryHookResult = ReturnType<typeof useEventsByIdsQuery>;
|
|
1418
|
+
export type EventsByIdsLazyQueryHookResult = ReturnType<typeof useEventsByIdsLazyQuery>;
|
|
1419
|
+
export type EventsByIdsSuspenseQueryHookResult = ReturnType<typeof useEventsByIdsSuspenseQuery>;
|
|
1420
|
+
export type EventsByIdsQueryResult = Apollo.QueryResult<EventsByIdsQuery, EventsByIdsQueryVariables>;
|