From 54504652a8ddd388c7e097f469361e68c5cb163e Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Tue, 27 Jul 2021 10:27:06 +0200 Subject: [PATCH 01/21] Fix some styles and add section title color changer --- backend/api/pages/models/pages.settings.json | 3 +- backend/components/blocks/project.json | 35 ++ .../components/section/projects-section.json | 22 + .../pageBlocks/FeatureListSectionBlock.tsx | 6 +- .../pageBlocks/ProjectListSectionBlock.tsx | 130 +++++ frontend/features/pageBlocks/index.ts | 9 +- frontend/features/plugins/usePagePlugin.ts | 38 +- frontend/features/sectionBlocks/CardBlock.tsx | 2 +- .../features/sectionBlocks/FeatureBlock.tsx | 2 +- .../features/sectionBlocks/ProjectBlock.tsx | 230 +++++++++ frontend/features/sectionBlocks/index.ts | 11 +- frontend/graphql.schema.json | 473 ++++++++++++++++++ frontend/graphql/GetPages.graphql | 19 + frontend/graphql/generated.ts | 85 +++- frontend/pages/[[...slug]].tsx | 36 +- 15 files changed, 1084 insertions(+), 17 deletions(-) create mode 100644 backend/components/blocks/project.json create mode 100644 backend/components/section/projects-section.json create mode 100644 frontend/features/pageBlocks/ProjectListSectionBlock.tsx create mode 100644 frontend/features/sectionBlocks/ProjectBlock.tsx diff --git a/backend/api/pages/models/pages.settings.json b/backend/api/pages/models/pages.settings.json index cda14565..fa27218d 100644 --- a/backend/api/pages/models/pages.settings.json +++ b/backend/api/pages/models/pages.settings.json @@ -45,7 +45,8 @@ "components": [ "section.card-section", "section.hero-section", - "section.single-feature-section" + "section.single-feature-section", + "section.projects-section" ] } } diff --git a/backend/components/blocks/project.json b/backend/components/blocks/project.json new file mode 100644 index 00000000..958d9782 --- /dev/null +++ b/backend/components/blocks/project.json @@ -0,0 +1,35 @@ +{ + "collectionName": "components_blocks_projects", + "info": { + "name": "project", + "icon": "american-sign-language-interpreting" + }, + "options": {}, + "attributes": { + "companyName": { + "type": "string" + }, + "projectType": { + "type": "string" + }, + "description": { + "type": "string" + }, + "linkName": { + "type": "string" + }, + "linkPath": { + "type": "string" + }, + "image": { + "model": "file", + "via": "related", + "allowedTypes": [ + "images" + ], + "plugin": "upload", + "required": false, + "pluginOptions": {} + } + } +} diff --git a/backend/components/section/projects-section.json b/backend/components/section/projects-section.json new file mode 100644 index 00000000..397c4dd8 --- /dev/null +++ b/backend/components/section/projects-section.json @@ -0,0 +1,22 @@ +{ + "collectionName": "components_section_projects_sections", + "info": { + "name": "projectsSection", + "icon": "air-freshener", + "description": "" + }, + "options": {}, + "attributes": { + "sectionTitle": { + "type": "string" + }, + "projects": { + "type": "component", + "repeatable": true, + "component": "blocks.project" + }, + "sectionTitleColor": { + "type": "string" + } + } +} diff --git a/frontend/features/pageBlocks/FeatureListSectionBlock.tsx b/frontend/features/pageBlocks/FeatureListSectionBlock.tsx index 0d35acba..7eb107b2 100644 --- a/frontend/features/pageBlocks/FeatureListSectionBlock.tsx +++ b/frontend/features/pageBlocks/FeatureListSectionBlock.tsx @@ -193,19 +193,19 @@ export const featureSectionBlock: Block = { subtitle: "Default section subtitle", blocks: [ { - _template: "ComponentBlocksSingleFeature", + _template: "singleFeature", title: "Default title", description: "Default description", url: "/", }, { - _template: "ComponentBlocksSingleFeature", + _template: "singleFeature", title: "Default title", description: "Default description", url: "/", }, { - _template: "ComponentBlocksSingleFeature", + _template: "singleFeature", title: "Default title", description: "Default description", url: "/", diff --git a/frontend/features/pageBlocks/ProjectListSectionBlock.tsx b/frontend/features/pageBlocks/ProjectListSectionBlock.tsx new file mode 100644 index 00000000..41f59152 --- /dev/null +++ b/frontend/features/pageBlocks/ProjectListSectionBlock.tsx @@ -0,0 +1,130 @@ +import { Box, Flex } from "@chakra-ui/react"; +import { PROJECT_BLOCK } from "@features/sectionBlocks"; +import { ProjectBlockData } from "@features/sectionBlocks/ProjectBlock"; +import React from "react"; +import { + BlockComponentProps, + Block, + BlocksControls, + InlineTextarea, + InlineBlocks, +} from "react-tinacms-inline"; +import { BlockTemplateData } from "./types"; + +export type ProjectListSectionData = BlockTemplateData< + "projectListSection", + { + id: string; + sectionTitle: Nullable; + sectionTitleColor: Nullable; + projects: ProjectBlockData[]; + } +>; + +interface ProjectListSectionProps { + sectionTitle: Nullable; + sectionTitleColor: Nullable; +} + +export function ProjectListSection({ + sectionTitle, + sectionTitleColor, +}: ProjectListSectionProps) { + return ( + + {sectionTitle == null ? ( + + + + ) : ( + + + + )} + div": { + w: "full", + }, + }} + py="14" + px="0"> + + + + ); +} + +function BlockComponent({ index, data }: BlockComponentProps) { + console.log("data", JSON.stringify(data, null, " ")); + + return ( + + + + ); +} + +export const projectListSectionBlock: Block = { + Component: BlockComponent, + template: { + label: "Project list section", + defaultItem: { + sectionTitle: "Default section title", + }, + fields: [ + { + name: "sectionTitleColor", + component: "color", + label: "Section title color", + }, + ], + }, +}; diff --git a/frontend/features/pageBlocks/index.ts b/frontend/features/pageBlocks/index.ts index 68904829..4a8a96ff 100644 --- a/frontend/features/pageBlocks/index.ts +++ b/frontend/features/pageBlocks/index.ts @@ -5,15 +5,20 @@ import { FeatureListSectionBlockData, } from "./FeatureListSectionBlock"; import { cardSectionBlock, CardSectionBlockData } from "./CardListSectionBlock"; +import { + projectListSectionBlock, + ProjectListSectionData, +} from "./ProjectListSectionBlock"; export const PAGE_SECTION_BLOCKS = { - /** We will define blocks here later */ heroSection: heroSectionBlock, featureSection: featureSectionBlock, cardSection: cardSectionBlock, + projectListSection: projectListSectionBlock, }; export type PageSectionBlockData = | HeroSectionBlockData | FeatureListSectionBlockData - | CardSectionBlockData; + | CardSectionBlockData + | ProjectListSectionData; diff --git a/frontend/features/plugins/usePagePlugin.ts b/frontend/features/plugins/usePagePlugin.ts index 8aede29b..20e16cad 100644 --- a/frontend/features/plugins/usePagePlugin.ts +++ b/frontend/features/plugins/usePagePlugin.ts @@ -17,6 +17,7 @@ import { import { assertNever, filterListNullableItems } from "@utils"; import { CardBlockData } from "@features/sectionBlocks/CardBlock"; import { FeatureBlockData } from "@features/sectionBlocks/FeatureBlock"; +import { ProjectBlockData } from "@features/sectionBlocks/ProjectBlock"; export interface PageData { id: string; title?: string; @@ -105,7 +106,7 @@ function getPageInput(data: PageData): UpdatePageInput { altText: card.image.altText || null, }, url: card.url || null, - _template: "ComponentBlocksCard", + _template: "card", }; } ) @@ -135,13 +136,46 @@ function getPageInput(data: PageData): UpdatePageInput { altText: feature.image.altText || null, }, url: feature.url || null, - _template: "ComponentBlocksSingleFeature", + _template: "singleFeature", }; } ) : [], }; } + + case "projectListSection": { + return { + __typename: "ComponentSectionProjectsSection", + id: section.id, + sectionTitle: section.sectionTitle, + sectionTitleColor: section.sectionTitleColor, + projects: section.projects + ? filterListNullableItems( + section.projects + ).map((project) => { + return { + _template: "project", + id: project.id, + companyName: project.companyName || null, + projectType: project.projectType || null, + description: project.description || null, + linkName: project.linkName || null, + linkPath: project.linkPath || null, + image: project.image + ? { + id: project.image.id, + url: project.image.url, + alternativeText: + project.image.alternativeText || null, + } + : null, + }; + }) + : [], + }; + } + default: return assertNever(section); } diff --git a/frontend/features/sectionBlocks/CardBlock.tsx b/frontend/features/sectionBlocks/CardBlock.tsx index d78ea1fc..e5f49f28 100644 --- a/frontend/features/sectionBlocks/CardBlock.tsx +++ b/frontend/features/sectionBlocks/CardBlock.tsx @@ -12,7 +12,7 @@ import { useCMS } from "tinacms"; import { BlockTemplateData } from "./types"; export type CardBlockData = BlockTemplateData< - "ComponentBlocksCard", + "card", { id: string; image?: Nullable; diff --git a/frontend/features/sectionBlocks/FeatureBlock.tsx b/frontend/features/sectionBlocks/FeatureBlock.tsx index 538e7df7..3eed2da5 100644 --- a/frontend/features/sectionBlocks/FeatureBlock.tsx +++ b/frontend/features/sectionBlocks/FeatureBlock.tsx @@ -13,7 +13,7 @@ import { useCMS } from "tinacms"; import { BlockTemplateData } from "./types"; export type FeatureBlockData = BlockTemplateData< - "ComponentBlocksSingleFeature", + "singleFeature", { id: string; image: Nullable; diff --git a/frontend/features/sectionBlocks/ProjectBlock.tsx b/frontend/features/sectionBlocks/ProjectBlock.tsx new file mode 100644 index 00000000..90dfa211 --- /dev/null +++ b/frontend/features/sectionBlocks/ProjectBlock.tsx @@ -0,0 +1,230 @@ +import { Box, Flex, Img, Text } from "@chakra-ui/react"; +import { STRAPI_URL } from "@config/env"; +import { BlockTemplateData } from "@features/pageBlocks"; +import Link from "next/link"; +import React from "react"; +import { + BlockComponentProps, + BlocksControls, + Block, + InlineTextarea, + InlineImage, +} from "react-tinacms-inline"; +import { useCMS } from "tinacms"; + +export type ProjectBlockData = BlockTemplateData< + "project", + { + id: string; + companyName: Nullable; + projectType: Nullable; + description: Nullable; + linkName: Nullable; + linkPath: Nullable; + image: Nullable; + } +>; + +interface ProjectBlockProps { + linkName: Nullable; + linkPath: Nullable; + image: Nullable; +} + +interface ProjectImage { + id: string; + url: string; + alternativeText: Nullable; +} + +interface ImageRenderProps { + src: { + url?: string; + previewSrc?: string; + }; +} + +export function ProjectBlock({ image, linkName, linkPath }: ProjectBlockProps) { + const cms = useCMS(); + return ( + + + + + + + + + + + + + + + {linkName} + + + + + + {cms.enabled ? ( + + "/"} + previewSrc={(imageSrc) => { + if (imageSrc === "") { + return "/images/default-image.png"; + } + + return imageSrc; + }} + parse={(media) => { + return media as any; + }}> + {(imageProps: any) => { + const { src } = imageProps as ImageRenderProps; + let imageSrc: string = src.previewSrc || src.url || ""; + if (imageSrc === "") { + imageSrc = "/images/default-image.png"; + } else if (!imageSrc.startsWith("http")) { + imageSrc = `${STRAPI_URL}${imageSrc}`; + } + + return ( + + Cover image + + ); + }} + + + ) : ( + + + + + + )} + + + ); +} + +function BlockComponent({ index, data }: BlockComponentProps) { + return ( + + + + ); +} + +export const projectBlock: Block = { + Component: BlockComponent, + template: { + label: "Project", + defaultItem: { + companyName: "Default title", + projectType: "Default type", + descritpion: "Default description", + linkName: "Deafult link", + linkPath: "/", + }, + fields: [ + { + name: "linkName", + label: "Link name", + component: "text", + }, + { + name: "linkPath", + label: "Link path", + component: "text", + }, + ], + }, +}; diff --git a/frontend/features/sectionBlocks/index.ts b/frontend/features/sectionBlocks/index.ts index 3717d2b5..2e5be639 100644 --- a/frontend/features/sectionBlocks/index.ts +++ b/frontend/features/sectionBlocks/index.ts @@ -1,13 +1,18 @@ export * from "./types"; import { cardBlock, CardBlockData } from "./CardBlock"; import { featureBlock, FeatureBlockData } from "./FeatureBlock"; +import { projectBlock, ProjectBlockData } from "./ProjectBlock"; export const FEATURE_BLOCK = { - ComponentBlocksSingleFeature: featureBlock, + singleFeature: featureBlock, }; export const CARD_BLOCK = { - ComponentBlocksCard: cardBlock, + card: cardBlock, }; -export type BlockData = CardBlockData | FeatureBlockData; +export const PROJECT_BLOCK = { + project: projectBlock, +}; + +export type BlockData = CardBlockData | FeatureBlockData | ProjectBlockData; diff --git a/frontend/graphql.schema.json b/frontend/graphql.schema.json index 988f1686..06e6fa71 100644 --- a/frontend/graphql.schema.json +++ b/frontend/graphql.schema.json @@ -249,6 +249,188 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "ComponentBlocksProject", + "description": null, + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyName", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projectType", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkName", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UploadFile", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ComponentBlocksProjectInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "companyName", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projectType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkName", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "ComponentBlocksSingleFeature", @@ -815,6 +997,124 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "ComponentSectionProjectsSection", + "description": null, + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sectionTitle", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projects", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ComponentBlocksProject", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sectionTitleColor", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ComponentSectionProjectsSectionInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "sectionTitle", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projects", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ComponentBlocksProjectInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sectionTitleColor", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "ComponentSectionSingleFeatureSection", @@ -1855,6 +2155,11 @@ "name": "ComponentBlocksCard", "ofType": null }, + { + "kind": "OBJECT", + "name": "ComponentBlocksProject", + "ofType": null + }, { "kind": "OBJECT", "name": "ComponentBlocksSingleFeature", @@ -1880,6 +2185,11 @@ "name": "ComponentSectionHeroSection", "ofType": null }, + { + "kind": "OBJECT", + "name": "ComponentSectionProjectsSection", + "ofType": null + }, { "kind": "OBJECT", "name": "ComponentSectionSingleFeatureSection", @@ -3397,6 +3707,11 @@ "kind": "OBJECT", "name": "ComponentSectionSingleFeatureSection", "ofType": null + }, + { + "kind": "OBJECT", + "name": "ComponentSectionProjectsSection", + "ofType": null } ] }, @@ -8002,6 +8317,101 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentBlocksProjectInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyName", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projectType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkName", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "editComponentBlocksSingleFeatureInput", @@ -8289,6 +8699,69 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentSectionProjectsSectionInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sectionTitle", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projects", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "editComponentBlocksProjectInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sectionTitleColor", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "editComponentSectionSingleFeatureSectionInput", diff --git a/frontend/graphql/GetPages.graphql b/frontend/graphql/GetPages.graphql index f8400ec9..4c72f663 100644 --- a/frontend/graphql/GetPages.graphql +++ b/frontend/graphql/GetPages.graphql @@ -53,6 +53,25 @@ query GetPages($where: JSON, $locale: String) { url } } + ... on ComponentSectionProjectsSection { + id + __typename + sectionTitleColor + sectionTitle + projects { + id + companyName + projectType + description + linkName + linkPath + image { + id + url + alternativeText + } + } + } } } } diff --git a/frontend/graphql/generated.ts b/frontend/graphql/generated.ts index 03b39896..360ff215 100644 --- a/frontend/graphql/generated.ts +++ b/frontend/graphql/generated.ts @@ -49,6 +49,26 @@ export type ComponentBlocksCardInput = { url?: Maybe; }; +export type ComponentBlocksProject = { + __typename?: 'ComponentBlocksProject'; + id: Scalars['ID']; + companyName?: Maybe; + projectType?: Maybe; + description?: Maybe; + linkName?: Maybe; + linkPath?: Maybe; + image?: Maybe; +}; + +export type ComponentBlocksProjectInput = { + companyName?: Maybe; + projectType?: Maybe; + description?: Maybe; + linkName?: Maybe; + linkPath?: Maybe; + image?: Maybe; +}; + export type ComponentBlocksSingleFeature = { __typename?: 'ComponentBlocksSingleFeature'; id: Scalars['ID']; @@ -117,6 +137,20 @@ export type ComponentSectionHeroSectionInput = { subtitle?: Maybe; }; +export type ComponentSectionProjectsSection = { + __typename?: 'ComponentSectionProjectsSection'; + id: Scalars['ID']; + sectionTitle?: Maybe; + projects?: Maybe>>; + sectionTitleColor?: Maybe; +}; + +export type ComponentSectionProjectsSectionInput = { + sectionTitle?: Maybe; + projects?: Maybe>>; + sectionTitleColor?: Maybe; +}; + export type ComponentSectionSingleFeatureSection = { __typename?: 'ComponentSectionSingleFeatureSection'; id: Scalars['ID']; @@ -183,7 +217,7 @@ export type LocaleInput = { }; -export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionPageName | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksSingleFeature | ComponentMenuLink | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionSingleFeatureSection; +export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionPageName | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksProject | ComponentBlocksSingleFeature | ComponentMenuLink | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSingleFeatureSection; export type Mutation = { __typename?: 'Mutation'; @@ -420,7 +454,7 @@ export type PagesGroupBy = { published_at?: Maybe>>; }; -export type PagesSectionsDynamicZone = ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionSingleFeatureSection; +export type PagesSectionsDynamicZone = ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionSingleFeatureSection | ComponentSectionProjectsSection; export enum PublicationState { @@ -1044,6 +1078,16 @@ export type EditComponentBlocksCardInput = { url?: Maybe; }; +export type EditComponentBlocksProjectInput = { + id?: Maybe; + companyName?: Maybe; + projectType?: Maybe; + description?: Maybe; + linkName?: Maybe; + linkPath?: Maybe; + image?: Maybe; +}; + export type EditComponentBlocksSingleFeatureInput = { id?: Maybe; description?: Maybe; @@ -1078,6 +1122,13 @@ export type EditComponentSectionHeroSectionInput = { subtitle?: Maybe; }; +export type EditComponentSectionProjectsSectionInput = { + id?: Maybe; + sectionTitle?: Maybe; + projects?: Maybe>>; + sectionTitleColor?: Maybe; +}; + export type EditComponentSectionSingleFeatureSectionInput = { id?: Maybe; title?: Maybe; @@ -1214,6 +1265,17 @@ export type GetPagesQuery = ( & Pick )> } )>>> } + ) | ( + { __typename: 'ComponentSectionProjectsSection' } + & Pick + & { projects?: Maybe + & { image?: Maybe<( + { __typename?: 'UploadFile' } + & Pick + )> } + )>>> } )>>> } )>>> } ); @@ -1306,6 +1368,25 @@ export const GetPages = ` url } } + ... on ComponentSectionProjectsSection { + id + __typename + sectionTitleColor + sectionTitle + projects { + id + companyName + projectType + description + linkName + linkPath + image { + id + url + alternativeText + } + } + } } } } diff --git a/frontend/pages/[[...slug]].tsx b/frontend/pages/[[...slug]].tsx index 52738538..92a3c02b 100644 --- a/frontend/pages/[[...slug]].tsx +++ b/frontend/pages/[[...slug]].tsx @@ -18,6 +18,7 @@ import { import { assertNever, filterListNullableItems } from "utils"; import { FeatureBlockData } from "@features/sectionBlocks/FeatureBlock"; import { CardBlockData } from "@features/sectionBlocks/CardBlock"; +import { ProjectBlockData } from "@features/sectionBlocks/ProjectBlock"; interface DynamicPageProps { path: string[]; @@ -207,7 +208,7 @@ function getPageData( altText: feature.image.alternativeText || null, }, url: feature.url || null, - _template: "ComponentBlocksSingleFeature", + _template: "singleFeature", }; }) : [], @@ -235,13 +236,44 @@ function getPageData( } : null, url: card.url || null, - _template: "ComponentBlocksCard", + _template: "card", }; } ) : [], }; } + case "ComponentSectionProjectsSection": { + return { + _template: "projectListSection", + id: section.id, + sectionTitle: section.sectionTitle || null, + sectionTitleColor: section.sectionTitleColor || null, + projects: section.projects + ? filterListNullableItems( + section.projects + ).map((project) => { + return { + _template: "project", + id: project.id, + companyName: project.companyName || null, + projectType: project.projectType || null, + description: project.description || null, + linkName: project.linkName || null, + linkPath: project.linkPath || null, + image: project.image + ? { + id: project.image.id, + url: project.image.url, + alternativeText: + project.image.alternativeText || null, + } + : null, + }; + }) + : [], + }; + } default: return assertNever(section); } From 82fc746e53f346063a10f0ac0051edede4b0b4d6 Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Tue, 27 Jul 2021 15:17:03 +0200 Subject: [PATCH 02/21] Fix section overlapping --- backend/api/pages/models/pages.settings.json | 2 +- .../pageBlocks/ProjectListSectionBlock.tsx | 20 +++- frontend/features/plugins/usePagePlugin.ts | 4 +- .../features/sectionBlocks/ProjectBlock.tsx | 102 +++++++++--------- frontend/graphql.schema.json | 22 ++-- frontend/graphql/GetPages.graphql | 2 +- frontend/graphql/generated.ts | 26 ++--- frontend/pages/[[...slug]].tsx | 2 +- 8 files changed, 98 insertions(+), 82 deletions(-) diff --git a/backend/api/pages/models/pages.settings.json b/backend/api/pages/models/pages.settings.json index fa27218d..f9ca3103 100644 --- a/backend/api/pages/models/pages.settings.json +++ b/backend/api/pages/models/pages.settings.json @@ -16,7 +16,7 @@ } }, "attributes": { - "pageName": { + "title": { "type": "string", "required": true, "unique": true, diff --git a/frontend/features/pageBlocks/ProjectListSectionBlock.tsx b/frontend/features/pageBlocks/ProjectListSectionBlock.tsx index 41f59152..582e4705 100644 --- a/frontend/features/pageBlocks/ProjectListSectionBlock.tsx +++ b/frontend/features/pageBlocks/ProjectListSectionBlock.tsx @@ -9,7 +9,7 @@ import { InlineTextarea, InlineBlocks, } from "react-tinacms-inline"; -import { BlockTemplateData } from "./types"; +import { BlockItemProps, BlockTemplateData } from "./types"; export type ProjectListSectionData = BlockTemplateData< "projectListSection", @@ -24,12 +24,19 @@ export type ProjectListSectionData = BlockTemplateData< interface ProjectListSectionProps { sectionTitle: Nullable; sectionTitleColor: Nullable; + preview: boolean; } export function ProjectListSection({ sectionTitle, sectionTitleColor, + preview, }: ProjectListSectionProps) { + const itemProps = React.useMemo(() => { + return { + isPreview: preview, + }; + }, [preview]); return ( div": { w: "full", + height: "fit-content", }, }} - py="14" px="0"> - + ); } function BlockComponent({ index, data }: BlockComponentProps) { - console.log("data", JSON.stringify(data, null, " ")); + console.log("datasection", JSON.stringify(data, null, " ")); return ( diff --git a/frontend/features/plugins/usePagePlugin.ts b/frontend/features/plugins/usePagePlugin.ts index 20e16cad..10c3ab63 100644 --- a/frontend/features/plugins/usePagePlugin.ts +++ b/frontend/features/plugins/usePagePlugin.ts @@ -71,7 +71,7 @@ function getPageInput(data: PageData): UpdatePageInput { return { where: { id: data.id }, data: { - pageName: data.title, + title: data.title, path: data.path, sections: data.sections.map((section) => { switch (section._template) { @@ -253,7 +253,7 @@ function getPageCreatorPlugin( function getPageCreateInput(input: PageDataCreateInput): CreatePageInput { return { data: { - pageName: input.title || "Default", + title: input.title || "Default", path: input.path, locale: input.locale, }, diff --git a/frontend/features/sectionBlocks/ProjectBlock.tsx b/frontend/features/sectionBlocks/ProjectBlock.tsx index 90dfa211..9e3295e4 100644 --- a/frontend/features/sectionBlocks/ProjectBlock.tsx +++ b/frontend/features/sectionBlocks/ProjectBlock.tsx @@ -1,4 +1,4 @@ -import { Box, Flex, Img, Text } from "@chakra-ui/react"; +import { Box, Flex, Img } from "@chakra-ui/react"; import { STRAPI_URL } from "@config/env"; import { BlockTemplateData } from "@features/pageBlocks"; import Link from "next/link"; @@ -48,6 +48,7 @@ export function ProjectBlock({ image, linkName, linkPath }: ProjectBlockProps) { const cms = useCMS(); return ( - - + {cms.enabled ? ( - - "/"} - previewSrc={(imageSrc) => { - if (imageSrc === "") { - return "/images/default-image.png"; - } + "/"} + previewSrc={(imageSrc) => { + if (imageSrc === "") { + return "/images/default-image.png"; + } - return imageSrc; - }} - parse={(media) => { - return media as any; - }}> - {(imageProps: any) => { - const { src } = imageProps as ImageRenderProps; - let imageSrc: string = src.previewSrc || src.url || ""; - if (imageSrc === "") { - imageSrc = "/images/default-image.png"; - } else if (!imageSrc.startsWith("http")) { - imageSrc = `${STRAPI_URL}${imageSrc}`; - } + return imageSrc; + }} + parse={(media) => { + return media as any; + }}> + {(imageProps: any) => { + const { src } = imageProps as ImageRenderProps; + let imageSrc: string = src.previewSrc || src.url || ""; + if (imageSrc === "") { + imageSrc = "/images/default-image.png"; + } else if (!imageSrc.startsWith("http")) { + imageSrc = `${STRAPI_URL}${imageSrc}`; + } - return ( - - Cover image - - ); - }} - - + return ( + + Cover image + + ); + }} + ) : ( - + @@ -210,7 +214,7 @@ export const projectBlock: Block = { defaultItem: { companyName: "Default title", projectType: "Default type", - descritpion: "Default description", + description: "Default description", linkName: "Deafult link", linkPath: "/", }, diff --git a/frontend/graphql.schema.json b/frontend/graphql.schema.json index 06e6fa71..efca2a20 100644 --- a/frontend/graphql.schema.json +++ b/frontend/graphql.schema.json @@ -1842,7 +1842,7 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionPageName", + "name": "PagesConnectionTitle", "ofType": null }, { @@ -2914,7 +2914,7 @@ "fields": null, "inputFields": [ { - "name": "pageName", + "name": "title", "description": null, "type": { "kind": "NON_NULL", @@ -3088,7 +3088,7 @@ "deprecationReason": null }, { - "name": "pageName", + "name": "title", "description": null, "args": [], "type": { @@ -3423,7 +3423,7 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionPageName", + "name": "PagesConnectionPath", "description": null, "fields": [ { @@ -3458,7 +3458,7 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionPath", + "name": "PagesConnectionPublished_at", "description": null, "fields": [ { @@ -3467,7 +3467,7 @@ "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -3493,7 +3493,7 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionPublished_at", + "name": "PagesConnectionTitle", "description": null, "fields": [ { @@ -3502,7 +3502,7 @@ "args": [], "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -3615,7 +3615,7 @@ "deprecationReason": null }, { - "name": "pageName", + "name": "title", "description": null, "args": [], "type": { @@ -3623,7 +3623,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PagesConnectionPageName", + "name": "PagesConnectionTitle", "ofType": null } }, @@ -9122,7 +9122,7 @@ "fields": null, "inputFields": [ { - "name": "pageName", + "name": "title", "description": null, "type": { "kind": "SCALAR", diff --git a/frontend/graphql/GetPages.graphql b/frontend/graphql/GetPages.graphql index 4c72f663..c892318b 100644 --- a/frontend/graphql/GetPages.graphql +++ b/frontend/graphql/GetPages.graphql @@ -2,7 +2,7 @@ query GetPages($where: JSON, $locale: String) { pages(where: $where, locale: $locale) { id path - pageName + title locale __typename sections { diff --git a/frontend/graphql/generated.ts b/frontend/graphql/generated.ts index 360ff215..c49272c0 100644 --- a/frontend/graphql/generated.ts +++ b/frontend/graphql/generated.ts @@ -217,7 +217,7 @@ export type LocaleInput = { }; -export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionPageName | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksProject | ComponentBlocksSingleFeature | ComponentMenuLink | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSingleFeatureSection; +export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionTitle | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksProject | ComponentBlocksSingleFeature | ComponentMenuLink | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSingleFeatureSection; export type Mutation = { __typename?: 'Mutation'; @@ -357,7 +357,7 @@ export type MutationEmailConfirmationArgs = { }; export type PageInput = { - pageName: Scalars['String']; + title: Scalars['String']; path: Scalars['String']; sections?: Maybe>; localizations?: Maybe>>; @@ -372,7 +372,7 @@ export type Pages = { id: Scalars['ID']; created_at: Scalars['DateTime']; updated_at: Scalars['DateTime']; - pageName: Scalars['String']; + title: Scalars['String']; path: Scalars['String']; sections?: Maybe>>; locale?: Maybe; @@ -419,12 +419,6 @@ export type PagesConnectionLocale = { connection?: Maybe; }; -export type PagesConnectionPageName = { - __typename?: 'PagesConnectionPageName'; - key?: Maybe; - connection?: Maybe; -}; - export type PagesConnectionPath = { __typename?: 'PagesConnectionPath'; key?: Maybe; @@ -437,6 +431,12 @@ export type PagesConnectionPublished_At = { connection?: Maybe; }; +export type PagesConnectionTitle = { + __typename?: 'PagesConnectionTitle'; + key?: Maybe; + connection?: Maybe; +}; + export type PagesConnectionUpdated_At = { __typename?: 'PagesConnectionUpdated_at'; key?: Maybe; @@ -448,7 +448,7 @@ export type PagesGroupBy = { id?: Maybe>>; created_at?: Maybe>>; updated_at?: Maybe>>; - pageName?: Maybe>>; + title?: Maybe>>; path?: Maybe>>; locale?: Maybe>>; published_at?: Maybe>>; @@ -1165,7 +1165,7 @@ export type EditLocaleInput = { }; export type EditPageInput = { - pageName?: Maybe; + title?: Maybe; path?: Maybe; sections?: Maybe>; localizations?: Maybe>>; @@ -1239,7 +1239,7 @@ export type GetPagesQuery = ( { __typename?: 'Query' } & { pages?: Maybe + & Pick & { sections?: Maybe @@ -1318,7 +1318,7 @@ export const GetPages = ` pages(where: $where, locale: $locale) { id path - pageName + title locale __typename sections { diff --git a/frontend/pages/[[...slug]].tsx b/frontend/pages/[[...slug]].tsx index 92a3c02b..586d6cd6 100644 --- a/frontend/pages/[[...slug]].tsx +++ b/frontend/pages/[[...slug]].tsx @@ -281,7 +281,7 @@ function getPageData( return { id: page.id, - title: page.pageName, + title: page.title, sections: sections, path: page.path || undefined, }; From 95f56635a86e2205c6f6317ed28f06739124131b Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Wed, 28 Jul 2021 16:55:35 +0200 Subject: [PATCH 03/21] Refactor --- backend/api/pages/models/pages.settings.json | 3 +- backend/api/projects/config/routes.json | 52 + backend/api/projects/controllers/projects.js | 8 + backend/api/projects/models/projects.js | 8 + .../projects/models/projects.settings.json | 82 + backend/api/projects/services/projects.js | 8 + backend/components/blocks/project.json | 6 +- frontend/features/pageBlocks/index.ts | 8 +- frontend/features/plugins/usePagePlugin.ts | 33 +- frontend/features/sectionBlocks/index.ts | 4 +- frontend/graphql.schema.json | 1976 ++++++++++++++++- frontend/graphql/GetPages.graphql | 19 - frontend/graphql/createProject.graphql | 7 + frontend/graphql/generated.ts | 360 ++- frontend/graphql/getProjects.graphql | 17 + frontend/graphql/updateProject.graphql | 7 + frontend/pages/[[...slug]].tsx | 33 +- frontend/pages/projects/[handle].tsx | 370 +++ frontend/pages/projects/index.tsx | 424 ++++ 19 files changed, 3233 insertions(+), 192 deletions(-) create mode 100644 backend/api/projects/config/routes.json create mode 100644 backend/api/projects/controllers/projects.js create mode 100644 backend/api/projects/models/projects.js create mode 100644 backend/api/projects/models/projects.settings.json create mode 100644 backend/api/projects/services/projects.js create mode 100644 frontend/graphql/createProject.graphql create mode 100644 frontend/graphql/getProjects.graphql create mode 100644 frontend/graphql/updateProject.graphql create mode 100644 frontend/pages/projects/[handle].tsx create mode 100644 frontend/pages/projects/index.tsx diff --git a/backend/api/pages/models/pages.settings.json b/backend/api/pages/models/pages.settings.json index f9ca3103..64fc4e5f 100644 --- a/backend/api/pages/models/pages.settings.json +++ b/backend/api/pages/models/pages.settings.json @@ -45,8 +45,7 @@ "components": [ "section.card-section", "section.hero-section", - "section.single-feature-section", - "section.projects-section" + "section.single-feature-section" ] } } diff --git a/backend/api/projects/config/routes.json b/backend/api/projects/config/routes.json new file mode 100644 index 00000000..482293ba --- /dev/null +++ b/backend/api/projects/config/routes.json @@ -0,0 +1,52 @@ +{ + "routes": [ + { + "method": "GET", + "path": "/projects", + "handler": "projects.find", + "config": { + "policies": [] + } + }, + { + "method": "GET", + "path": "/projects/count", + "handler": "projects.count", + "config": { + "policies": [] + } + }, + { + "method": "GET", + "path": "/projects/:id", + "handler": "projects.findOne", + "config": { + "policies": [] + } + }, + { + "method": "POST", + "path": "/projects", + "handler": "projects.create", + "config": { + "policies": [] + } + }, + { + "method": "PUT", + "path": "/projects/:id", + "handler": "projects.update", + "config": { + "policies": [] + } + }, + { + "method": "DELETE", + "path": "/projects/:id", + "handler": "projects.delete", + "config": { + "policies": [] + } + } + ] +} diff --git a/backend/api/projects/controllers/projects.js b/backend/api/projects/controllers/projects.js new file mode 100644 index 00000000..e8608953 --- /dev/null +++ b/backend/api/projects/controllers/projects.js @@ -0,0 +1,8 @@ +'use strict'; + +/** + * Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-controllers) + * to customize this controller + */ + +module.exports = {}; diff --git a/backend/api/projects/models/projects.js b/backend/api/projects/models/projects.js new file mode 100644 index 00000000..0054d33c --- /dev/null +++ b/backend/api/projects/models/projects.js @@ -0,0 +1,8 @@ +'use strict'; + +/** + * Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#lifecycle-hooks) + * to customize this model + */ + +module.exports = {}; diff --git a/backend/api/projects/models/projects.settings.json b/backend/api/projects/models/projects.settings.json new file mode 100644 index 00000000..494ead6d --- /dev/null +++ b/backend/api/projects/models/projects.settings.json @@ -0,0 +1,82 @@ +{ + "kind": "collectionType", + "collectionName": "projects", + "info": { + "name": "Project", + "description": "" + }, + "options": { + "increments": true, + "timestamps": true, + "draftAndPublish": true + }, + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "attributes": { + "companyName": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "string" + }, + "projectType": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "string" + }, + "description": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "string" + }, + "linkName": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "string" + }, + "linkPath": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "string" + }, + "path": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "string" + }, + "image": { + "model": "file", + "via": "related", + "allowedTypes": [ + "images" + ], + "plugin": "upload", + "required": false, + "pluginOptions": { + "i18n": { + "localized": true + } + } + } + } +} diff --git a/backend/api/projects/services/projects.js b/backend/api/projects/services/projects.js new file mode 100644 index 00000000..6538a8c8 --- /dev/null +++ b/backend/api/projects/services/projects.js @@ -0,0 +1,8 @@ +'use strict'; + +/** + * Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-services) + * to customize this service + */ + +module.exports = {}; diff --git a/backend/components/blocks/project.json b/backend/components/blocks/project.json index 958d9782..25a8bb88 100644 --- a/backend/components/blocks/project.json +++ b/backend/components/blocks/project.json @@ -2,7 +2,8 @@ "collectionName": "components_blocks_projects", "info": { "name": "project", - "icon": "american-sign-language-interpreting" + "icon": "american-sign-language-interpreting", + "description": "" }, "options": {}, "attributes": { @@ -30,6 +31,9 @@ "plugin": "upload", "required": false, "pluginOptions": {} + }, + "path": { + "type": "string" } } } diff --git a/frontend/features/pageBlocks/index.ts b/frontend/features/pageBlocks/index.ts index 4a8a96ff..3871e692 100644 --- a/frontend/features/pageBlocks/index.ts +++ b/frontend/features/pageBlocks/index.ts @@ -5,20 +5,14 @@ import { FeatureListSectionBlockData, } from "./FeatureListSectionBlock"; import { cardSectionBlock, CardSectionBlockData } from "./CardListSectionBlock"; -import { - projectListSectionBlock, - ProjectListSectionData, -} from "./ProjectListSectionBlock"; export const PAGE_SECTION_BLOCKS = { heroSection: heroSectionBlock, featureSection: featureSectionBlock, cardSection: cardSectionBlock, - projectListSection: projectListSectionBlock, }; export type PageSectionBlockData = | HeroSectionBlockData | FeatureListSectionBlockData - | CardSectionBlockData - | ProjectListSectionData; + | CardSectionBlockData; diff --git a/frontend/features/plugins/usePagePlugin.ts b/frontend/features/plugins/usePagePlugin.ts index 10c3ab63..7cb9d87d 100644 --- a/frontend/features/plugins/usePagePlugin.ts +++ b/frontend/features/plugins/usePagePlugin.ts @@ -144,38 +144,7 @@ function getPageInput(data: PageData): UpdatePageInput { }; } - case "projectListSection": { - return { - __typename: "ComponentSectionProjectsSection", - id: section.id, - sectionTitle: section.sectionTitle, - sectionTitleColor: section.sectionTitleColor, - projects: section.projects - ? filterListNullableItems( - section.projects - ).map((project) => { - return { - _template: "project", - id: project.id, - companyName: project.companyName || null, - projectType: project.projectType || null, - description: project.description || null, - linkName: project.linkName || null, - linkPath: project.linkPath || null, - image: project.image - ? { - id: project.image.id, - url: project.image.url, - alternativeText: - project.image.alternativeText || null, - } - : null, - }; - }) - : [], - }; - } - + default: return assertNever(section); } diff --git a/frontend/features/sectionBlocks/index.ts b/frontend/features/sectionBlocks/index.ts index 2e5be639..3dcb5065 100644 --- a/frontend/features/sectionBlocks/index.ts +++ b/frontend/features/sectionBlocks/index.ts @@ -1,7 +1,7 @@ export * from "./types"; import { cardBlock, CardBlockData } from "./CardBlock"; import { featureBlock, FeatureBlockData } from "./FeatureBlock"; -import { projectBlock, ProjectBlockData } from "./ProjectBlock"; +import { projectBlock } from "./ProjectBlock"; export const FEATURE_BLOCK = { singleFeature: featureBlock, @@ -15,4 +15,4 @@ export const PROJECT_BLOCK = { project: projectBlock, }; -export type BlockData = CardBlockData | FeatureBlockData | ProjectBlockData; +export type BlockData = CardBlockData | FeatureBlockData; diff --git a/frontend/graphql.schema.json b/frontend/graphql.schema.json index efca2a20..4ed3dfd5 100644 --- a/frontend/graphql.schema.json +++ b/frontend/graphql.schema.json @@ -341,6 +341,18 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "path", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -425,6 +437,18 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null } ], "interfaces": null, @@ -1875,6 +1899,101 @@ "name": "deletePagePayload", "ofType": null }, + { + "kind": "OBJECT", + "name": "Projects", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsAggregator", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsGroupBy", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionId", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionCreated_at", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionUpdated_at", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionCompanyName", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionProjectType", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionDescription", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionLinkName", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionLinkPath", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionPath", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionImage", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionLocale", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionPublished_at", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "createProjectPayload", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "updateProjectPayload", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "deleteProjectPayload", + "ofType": null + }, { "kind": "OBJECT", "name": "I18NLocale", @@ -2277,6 +2396,81 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "createProject", + "description": null, + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "createProjectInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "createProjectPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateProject", + "description": null, + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "updateProjectInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "updateProjectPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deleteProject", + "description": null, + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "deleteProjectInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "deleteProjectPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "deleteFile", "description": "Delete one file", @@ -2485,6 +2679,39 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "createProjectLocalization", + "description": null, + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "updateProjectInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Projects", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "upload", "description": null, @@ -3707,11 +3934,6 @@ "kind": "OBJECT", "name": "ComponentSectionSingleFeatureSection", "ofType": null - }, - { - "kind": "OBJECT", - "name": "ComponentSectionProjectsSection", - "ofType": null } ] }, @@ -3726,56 +3948,1229 @@ "possibleTypes": null }, { - "kind": "ENUM", - "name": "PublicationState", + "kind": "INPUT_OBJECT", + "name": "ProjectInput", "description": null, "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ + "inputFields": [ { - "name": "LIVE", + "name": "companyName", "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "PREVIEW", + "name": "projectType", "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Query", - "description": null, - "fields": [ + }, { - "name": "page", + "name": "description", "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "publicationState", - "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkName", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "localizations", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locale", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "published_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Projects", + "description": null, + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyName", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projectType", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkName", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UploadFile", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locale", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "published_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "localizations", + "description": null, + "args": [ + { + "name": "sort", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "limit", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "where", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Projects", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsAggregator", + "description": null, + "fields": [ + { + "name": "count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalCount", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnection", + "description": null, + "fields": [ + { + "name": "values", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Projects", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "groupBy", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsGroupBy", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsAggregator", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionCompanyName", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionCreated_at", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionDescription", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionId", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionImage", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionLinkName", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionLinkPath", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionLocale", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionPath", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionProjectType", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionPublished_at", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsConnectionUpdated_at", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectsConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectsGroupBy", + "description": null, + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionId", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionCreated_at", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionUpdated_at", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyName", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionCompanyName", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projectType", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionProjectType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionDescription", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkName", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionLinkName", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionLinkPath", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionPath", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionImage", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locale", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionLocale", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "published_at", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectsConnectionPublished_at", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "PublicationState", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "LIVE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PREVIEW", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Query", + "description": null, + "fields": [ + { + "name": "page", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publicationState", + "description": null, + "type": { + "kind": "ENUM", + "name": "PublicationState", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "Pages", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pages", + "description": null, + "args": [ + { + "name": "sort", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "limit", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "where", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publicationState", + "description": null, "type": { "kind": "ENUM", "name": "PublicationState", @@ -3784,18 +5179,148 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "locale", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Pages", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pagesConnection", + "description": null, + "args": [ + { + "name": "sort", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "limit", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "where", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locale", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null } ], "type": { "kind": "OBJECT", - "name": "Pages", + "name": "PagesConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "pages", + "name": "project", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publicationState", + "description": null, + "type": { + "kind": "ENUM", + "name": "PublicationState", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "Projects", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projects", "description": null, "args": [ { @@ -3876,7 +5401,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Pages", + "name": "Projects", "ofType": null } }, @@ -3884,7 +5409,7 @@ "deprecationReason": null }, { - "name": "pagesConnection", + "name": "projectsConnection", "description": null, "args": [ { @@ -3950,7 +5475,7 @@ ], "type": { "kind": "OBJECT", - "name": "PagesConnection", + "name": "ProjectsConnection", "ofType": null }, "isDeprecated": false, @@ -7970,6 +9495,52 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "createProjectInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "ProjectInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "createProjectPayload", + "description": null, + "fields": [ + { + "name": "project", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Projects", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "createRoleInput", @@ -7981,7 +9552,53 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "RoleInput", + "name": "RoleInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "createRolePayload", + "description": null, + "fields": [ + { + "name": "role", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsRole", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "createUserInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UserInput", "ofType": null }, "defaultValue": null, @@ -7995,16 +9612,16 @@ }, { "kind": "OBJECT", - "name": "createRolePayload", + "name": "createUserPayload", "description": null, "fields": [ { - "name": "role", + "name": "user", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "UsersPermissionsRole", + "name": "UsersPermissionsUser", "ofType": null }, "isDeprecated": false, @@ -8018,16 +9635,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "createUserInput", + "name": "deleteFileInput", "description": null, "fields": null, "inputFields": [ { - "name": "data", + "name": "where", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "UserInput", + "name": "InputID", "ofType": null }, "defaultValue": null, @@ -8041,16 +9658,16 @@ }, { "kind": "OBJECT", - "name": "createUserPayload", + "name": "deleteFilePayload", "description": null, "fields": [ { - "name": "user", + "name": "file", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "UsersPermissionsUser", + "name": "UploadFile", "ofType": null }, "isDeprecated": false, @@ -8064,7 +9681,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "deleteFileInput", + "name": "deletePageInput", "description": null, "fields": null, "inputFields": [ @@ -8087,16 +9704,16 @@ }, { "kind": "OBJECT", - "name": "deleteFilePayload", + "name": "deletePagePayload", "description": null, "fields": [ { - "name": "file", + "name": "page", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "UploadFile", + "name": "Pages", "ofType": null }, "isDeprecated": false, @@ -8110,7 +9727,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "deletePageInput", + "name": "deleteProjectInput", "description": null, "fields": null, "inputFields": [ @@ -8133,16 +9750,16 @@ }, { "kind": "OBJECT", - "name": "deletePagePayload", + "name": "deleteProjectPayload", "description": null, "fields": [ { - "name": "page", + "name": "project", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "Pages", + "name": "Projects", "ofType": null }, "isDeprecated": false, @@ -8406,6 +10023,18 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null } ], "interfaces": null, @@ -9234,6 +10863,165 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "editProjectInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "companyName", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projectType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkName", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "localizations", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locale", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "published_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "editRoleInput", @@ -9538,6 +11326,64 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "updateProjectInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "InputID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "data", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "editProjectInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "updateProjectPayload", + "description": null, + "fields": [ + { + "name": "project", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Projects", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "updateRoleInput", diff --git a/frontend/graphql/GetPages.graphql b/frontend/graphql/GetPages.graphql index c892318b..14303ab2 100644 --- a/frontend/graphql/GetPages.graphql +++ b/frontend/graphql/GetPages.graphql @@ -53,25 +53,6 @@ query GetPages($where: JSON, $locale: String) { url } } - ... on ComponentSectionProjectsSection { - id - __typename - sectionTitleColor - sectionTitle - projects { - id - companyName - projectType - description - linkName - linkPath - image { - id - url - alternativeText - } - } - } } } } diff --git a/frontend/graphql/createProject.graphql b/frontend/graphql/createProject.graphql new file mode 100644 index 00000000..ce694dbd --- /dev/null +++ b/frontend/graphql/createProject.graphql @@ -0,0 +1,7 @@ +mutation CreateProject($input: createProjectInput) { + createProject(input: $input) { + project { + id + } + } +} diff --git a/frontend/graphql/generated.ts b/frontend/graphql/generated.ts index c49272c0..7025ad7c 100644 --- a/frontend/graphql/generated.ts +++ b/frontend/graphql/generated.ts @@ -58,6 +58,7 @@ export type ComponentBlocksProject = { linkName?: Maybe; linkPath?: Maybe; image?: Maybe; + path?: Maybe; }; export type ComponentBlocksProjectInput = { @@ -67,6 +68,7 @@ export type ComponentBlocksProjectInput = { linkName?: Maybe; linkPath?: Maybe; image?: Maybe; + path?: Maybe; }; export type ComponentBlocksSingleFeature = { @@ -217,13 +219,16 @@ export type LocaleInput = { }; -export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionTitle | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksProject | ComponentBlocksSingleFeature | ComponentMenuLink | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSingleFeatureSection; +export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionTitle | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | Projects | ProjectsConnection | ProjectsAggregator | ProjectsGroupBy | ProjectsConnectionId | ProjectsConnectionCreated_At | ProjectsConnectionUpdated_At | ProjectsConnectionCompanyName | ProjectsConnectionProjectType | ProjectsConnectionDescription | ProjectsConnectionLinkName | ProjectsConnectionLinkPath | ProjectsConnectionPath | ProjectsConnectionImage | ProjectsConnectionLocale | ProjectsConnectionPublished_At | CreateProjectPayload | UpdateProjectPayload | DeleteProjectPayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksProject | ComponentBlocksSingleFeature | ComponentMenuLink | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSingleFeatureSection; export type Mutation = { __typename?: 'Mutation'; createPage?: Maybe; updatePage?: Maybe; deletePage?: Maybe; + createProject?: Maybe; + updateProject?: Maybe; + deleteProject?: Maybe; /** Delete one file */ deleteFile?: Maybe; /** Create a new role */ @@ -239,6 +244,7 @@ export type Mutation = { /** Delete an existing user */ deleteUser?: Maybe; createPageLocalization: Pages; + createProjectLocalization: Projects; upload: UploadFile; multipleUpload: Array>; updateFileInfo: UploadFile; @@ -265,6 +271,21 @@ export type MutationDeletePageArgs = { }; +export type MutationCreateProjectArgs = { + input?: Maybe; +}; + + +export type MutationUpdateProjectArgs = { + input?: Maybe; +}; + + +export type MutationDeleteProjectArgs = { + input?: Maybe; +}; + + export type MutationDeleteFileArgs = { input?: Maybe; }; @@ -305,6 +326,11 @@ export type MutationCreatePageLocalizationArgs = { }; +export type MutationCreateProjectLocalizationArgs = { + input: UpdateProjectInput; +}; + + export type MutationUploadArgs = { refId?: Maybe; ref?: Maybe; @@ -454,8 +480,149 @@ export type PagesGroupBy = { published_at?: Maybe>>; }; -export type PagesSectionsDynamicZone = ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionSingleFeatureSection | ComponentSectionProjectsSection; +export type PagesSectionsDynamicZone = ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionSingleFeatureSection; + + +export type ProjectInput = { + companyName?: Maybe; + projectType?: Maybe; + description?: Maybe; + linkName?: Maybe; + linkPath?: Maybe; + path?: Maybe; + image?: Maybe; + localizations?: Maybe>>; + locale?: Maybe; + published_at?: Maybe; + created_by?: Maybe; + updated_by?: Maybe; +}; + +export type Projects = { + __typename?: 'Projects'; + id: Scalars['ID']; + created_at: Scalars['DateTime']; + updated_at: Scalars['DateTime']; + companyName?: Maybe; + projectType?: Maybe; + description?: Maybe; + linkName?: Maybe; + linkPath?: Maybe; + path?: Maybe; + image?: Maybe; + locale?: Maybe; + published_at?: Maybe; + localizations?: Maybe>>; +}; + +export type ProjectsLocalizationsArgs = { + sort?: Maybe; + limit?: Maybe; + start?: Maybe; + where?: Maybe; +}; + +export type ProjectsAggregator = { + __typename?: 'ProjectsAggregator'; + count?: Maybe; + totalCount?: Maybe; +}; + +export type ProjectsConnection = { + __typename?: 'ProjectsConnection'; + values?: Maybe>>; + groupBy?: Maybe; + aggregate?: Maybe; +}; + +export type ProjectsConnectionCompanyName = { + __typename?: 'ProjectsConnectionCompanyName'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionCreated_At = { + __typename?: 'ProjectsConnectionCreated_at'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionDescription = { + __typename?: 'ProjectsConnectionDescription'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionId = { + __typename?: 'ProjectsConnectionId'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionImage = { + __typename?: 'ProjectsConnectionImage'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionLinkName = { + __typename?: 'ProjectsConnectionLinkName'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionLinkPath = { + __typename?: 'ProjectsConnectionLinkPath'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionLocale = { + __typename?: 'ProjectsConnectionLocale'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionPath = { + __typename?: 'ProjectsConnectionPath'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionProjectType = { + __typename?: 'ProjectsConnectionProjectType'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionPublished_At = { + __typename?: 'ProjectsConnectionPublished_at'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsConnectionUpdated_At = { + __typename?: 'ProjectsConnectionUpdated_at'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectsGroupBy = { + __typename?: 'ProjectsGroupBy'; + id?: Maybe>>; + created_at?: Maybe>>; + updated_at?: Maybe>>; + companyName?: Maybe>>; + projectType?: Maybe>>; + description?: Maybe>>; + linkName?: Maybe>>; + linkPath?: Maybe>>; + path?: Maybe>>; + image?: Maybe>>; + locale?: Maybe>>; + published_at?: Maybe>>; +}; export enum PublicationState { Live = 'LIVE', @@ -467,6 +634,9 @@ export type Query = { page?: Maybe; pages?: Maybe>>; pagesConnection?: Maybe; + project?: Maybe; + projects?: Maybe>>; + projectsConnection?: Maybe; files?: Maybe>>; filesConnection?: Maybe; role?: Maybe; @@ -505,6 +675,31 @@ export type QueryPagesConnectionArgs = { }; +export type QueryProjectArgs = { + id: Scalars['ID']; + publicationState?: Maybe; +}; + + +export type QueryProjectsArgs = { + sort?: Maybe; + limit?: Maybe; + start?: Maybe; + where?: Maybe; + publicationState?: Maybe; + locale?: Maybe; +}; + + +export type QueryProjectsConnectionArgs = { + sort?: Maybe; + limit?: Maybe; + start?: Maybe; + where?: Maybe; + locale?: Maybe; +}; + + export type QueryFilesArgs = { sort?: Maybe; limit?: Maybe; @@ -1016,6 +1211,15 @@ export type CreatePagePayload = { page?: Maybe; }; +export type CreateProjectInput = { + data?: Maybe; +}; + +export type CreateProjectPayload = { + __typename?: 'createProjectPayload'; + project?: Maybe; +}; + export type CreateRoleInput = { data?: Maybe; }; @@ -1052,6 +1256,15 @@ export type DeletePagePayload = { page?: Maybe; }; +export type DeleteProjectInput = { + where?: Maybe; +}; + +export type DeleteProjectPayload = { + __typename?: 'deleteProjectPayload'; + project?: Maybe; +}; + export type DeleteRoleInput = { where?: Maybe; }; @@ -1086,6 +1299,7 @@ export type EditComponentBlocksProjectInput = { linkName?: Maybe; linkPath?: Maybe; image?: Maybe; + path?: Maybe; }; export type EditComponentBlocksSingleFeatureInput = { @@ -1175,6 +1389,21 @@ export type EditPageInput = { updated_by?: Maybe; }; +export type EditProjectInput = { + companyName?: Maybe; + projectType?: Maybe; + description?: Maybe; + linkName?: Maybe; + linkPath?: Maybe; + path?: Maybe; + image?: Maybe; + localizations?: Maybe>>; + locale?: Maybe; + published_at?: Maybe; + created_by?: Maybe; + updated_by?: Maybe; +}; + export type EditRoleInput = { name?: Maybe; description?: Maybe; @@ -1209,6 +1438,16 @@ export type UpdatePagePayload = { page?: Maybe; }; +export type UpdateProjectInput = { + where?: Maybe; + data?: Maybe; +}; + +export type UpdateProjectPayload = { + __typename?: 'updateProjectPayload'; + project?: Maybe; +}; + export type UpdateRoleInput = { where?: Maybe; data?: Maybe; @@ -1265,17 +1504,6 @@ export type GetPagesQuery = ( & Pick )> } )>>> } - ) | ( - { __typename: 'ComponentSectionProjectsSection' } - & Pick - & { projects?: Maybe - & { image?: Maybe<( - { __typename?: 'UploadFile' } - & Pick - )> } - )>>> } )>>> } )>>> } ); @@ -1296,6 +1524,40 @@ export type CreatePageMutation = ( )> } ); +export type CreateProjectMutationVariables = Exact<{ + input?: Maybe; +}>; + + +export type CreateProjectMutation = ( + { __typename?: 'Mutation' } + & { createProject?: Maybe<( + { __typename?: 'createProjectPayload' } + & { project?: Maybe<( + { __typename?: 'Projects' } + & Pick + )> } + )> } +); + +export type GetProjectsQueryVariables = Exact<{ + where?: Maybe; + locale?: Maybe; +}>; + + +export type GetProjectsQuery = ( + { __typename?: 'Query' } + & { projects?: Maybe + & { image?: Maybe<( + { __typename?: 'UploadFile' } + & Pick + )> } + )>>> } +); + export type UpdatePageMutationVariables = Exact<{ input?: Maybe; }>; @@ -1312,6 +1574,22 @@ export type UpdatePageMutation = ( )> } ); +export type UpdateProjectMutationVariables = Exact<{ + input?: Maybe; +}>; + + +export type UpdateProjectMutation = ( + { __typename?: 'Mutation' } + & { updateProject?: Maybe<( + { __typename?: 'updateProjectPayload' } + & { project?: Maybe<( + { __typename?: 'Projects' } + & Pick + )> } + )> } +); + export const GetPages = ` query GetPages($where: JSON, $locale: String) { @@ -1368,25 +1646,6 @@ export const GetPages = ` url } } - ... on ComponentSectionProjectsSection { - id - __typename - sectionTitleColor - sectionTitle - projects { - id - companyName - projectType - description - linkName - linkPath - image { - id - url - alternativeText - } - } - } } } } @@ -1400,6 +1659,34 @@ export const CreatePage = ` } } `; +export const CreateProject = ` + mutation CreateProject($input: createProjectInput) { + createProject(input: $input) { + project { + id + } + } +} + `; +export const GetProjects = ` + query GetProjects($where: JSON, $locale: String) { + projects(where: $where, locale: $locale) { + id + locale + path + projectType + companyName + description + linkName + linkPath + image { + id + url + alternativeText + } + } +} + `; export const UpdatePage = ` mutation UpdatePage($input: updatePageInput) { updatePage(input: $input) { @@ -1407,5 +1694,14 @@ export const UpdatePage = ` id } } +} + `; +export const UpdateProject = ` + mutation UpdateProject($input: updateProjectInput) { + updateProject(input: $input) { + project { + id + } + } } `; \ No newline at end of file diff --git a/frontend/graphql/getProjects.graphql b/frontend/graphql/getProjects.graphql new file mode 100644 index 00000000..976fd777 --- /dev/null +++ b/frontend/graphql/getProjects.graphql @@ -0,0 +1,17 @@ +query GetProjects($where: JSON, $locale: String) { + projects(where: $where, locale: $locale) { + id + locale + path + projectType + companyName + description + linkName + linkPath + image { + id + url + alternativeText + } + } +} diff --git a/frontend/graphql/updateProject.graphql b/frontend/graphql/updateProject.graphql new file mode 100644 index 00000000..3eaa2875 --- /dev/null +++ b/frontend/graphql/updateProject.graphql @@ -0,0 +1,7 @@ +mutation UpdateProject($input: updateProjectInput) { + updateProject(input: $input) { + project { + id + } + } +} diff --git a/frontend/pages/[[...slug]].tsx b/frontend/pages/[[...slug]].tsx index 586d6cd6..f8905522 100644 --- a/frontend/pages/[[...slug]].tsx +++ b/frontend/pages/[[...slug]].tsx @@ -18,7 +18,6 @@ import { import { assertNever, filterListNullableItems } from "utils"; import { FeatureBlockData } from "@features/sectionBlocks/FeatureBlock"; import { CardBlockData } from "@features/sectionBlocks/CardBlock"; -import { ProjectBlockData } from "@features/sectionBlocks/ProjectBlock"; interface DynamicPageProps { path: string[]; @@ -243,37 +242,7 @@ function getPageData( : [], }; } - case "ComponentSectionProjectsSection": { - return { - _template: "projectListSection", - id: section.id, - sectionTitle: section.sectionTitle || null, - sectionTitleColor: section.sectionTitleColor || null, - projects: section.projects - ? filterListNullableItems( - section.projects - ).map((project) => { - return { - _template: "project", - id: project.id, - companyName: project.companyName || null, - projectType: project.projectType || null, - description: project.description || null, - linkName: project.linkName || null, - linkPath: project.linkPath || null, - image: project.image - ? { - id: project.image.id, - url: project.image.url, - alternativeText: - project.image.alternativeText || null, - } - : null, - }; - }) - : [], - }; - } + default: return assertNever(section); } diff --git a/frontend/pages/projects/[handle].tsx b/frontend/pages/projects/[handle].tsx new file mode 100644 index 00000000..ce416993 --- /dev/null +++ b/frontend/pages/projects/[handle].tsx @@ -0,0 +1,370 @@ +import { Box, Flex, Img } from "@chakra-ui/react"; +import Link from "next/link"; +import { BlockTemplateData } from "@features/pageBlocks"; +import { + GetProjects, + GetProjectsQuery, + GetProjectsQueryVariables, +} from "@graphql/generated"; +import { fetchGraphQL } from "@graphql/utils"; +import { filterListNullableItems } from "@utils"; +import { GetStaticPaths, GetStaticProps } from "next"; +import React from "react"; + +interface DynamicPageProps { + path: string[]; + locale: string; + preview: boolean; + project: ProjectData; +} + +export type ProjectData = BlockTemplateData< + "project", + { + id: string; + companyName: Nullable; + projectType: Nullable; + description: Nullable; + linkName: Nullable; + linkPath: Nullable; + image: Nullable; + } +>; + +interface ProjectImage { + id: string; + url: string; + alternativeText: Nullable; +} + +export default function DynamicPage({ + project, + path, + locale, + preview, +}: DynamicPageProps) { + console.log(path, locale, preview); + + console.log("Project", JSON.stringify(project, null, " ")); + return ( + + + + {project.companyName} + + + {project.projectType} + + + {project.description} + + + + + {project.linkName} + + + + + + {project.image ? ( + Cover image + ) : ( + Cover image + )} + + + ); +} +export const getStaticPaths: GetStaticPaths = async (context) => { + if (context.locales == null) { + throw new Error("No locale has been defined!"); + } + const allProjectsRequests = context.locales.map(async (locale) => { + const localeProjects = await fetchGraphQL< + GetProjectsQuery, + GetProjectsQueryVariables + >(GetProjects, { + locale, + }); + + if (localeProjects.projects) { + return filterListNullableItems(localeProjects.projects); + } + return []; + }); + + const allProjects = await Promise.all(allProjectsRequests); + const projects = allProjects.flat(); + + const paths = projects.map((project) => { + const pagePath = project.path?.replace(/^\/+/, "") || ""; + + return { + params: { handle: pagePath }, + locale: project.locale!, + }; + }); + console.log("paths", JSON.stringify(paths, null, " ")); + + return { paths, fallback: true }; +}; + +function wrap(value: T | T[]): T[] { + if (Array.isArray(value)) { + return value; + } + return [value]; +} + +export const getStaticProps: GetStaticProps< + DynamicPageProps | { notFound: boolean } +> = async (context) => { + const pathParts = wrap(context.params?.handle || []); + console.log("pathParts", pathParts); + + const path = `/${pathParts.join("/")}`; + console.log("path", path); + + const locale = context.locale; + if (locale == null) { + throw new Error(`Path "${pathParts.join("/")}" has no locale!`); + } + const preview = context.preview === true; + + const localeProjects = await fetchGraphQL< + GetProjectsQuery, + GetProjectsQueryVariables + >(GetProjects, { + locale, + }); + + if (localeProjects.projects == null) { + return { + notFound: true, + }; + } + + const availableProjects = await fetchGraphQL< + GetProjectsQuery, + GetProjectsQueryVariables + >(GetProjects, { + locale, + where: { + path, + }, + }); + + if (availableProjects.projects == null) { + return { + notFound: true, + }; + } + + const projectData = getProjectData(availableProjects.projects, locale); + + if (projectData == null) { + return { + notFound: true, + }; + } + + if (preview) { + return { + props: { + project: projectData, + path: pathParts, + locale, + preview, + previewData: context.previewData, + }, + }; + } + + return { + props: { + project: projectData, + path: pathParts, + locale, + preview, + }, + }; +}; + +function getProjectData( + projects: GetProjectsQuery["projects"], + locale: string +): ProjectData | undefined { + const project = projects?.find((page) => page?.locale === locale); + if (project != null) { + return { + _template: "project", + id: project.id, + companyName: project.companyName || null, + projectType: project.projectType || null, + description: project.description || null, + linkName: project.linkName || null, + linkPath: project.linkPath || null, + image: project.image + ? { + id: project.image.id, + url: project.image.url, + alternativeText: project.image.alternativeText || null, + } + : null, + }; + } + return undefined; +} + +/* +case "ComponentSectionProjectsSection": { + return { + _template: "projectListSection", + id: section.id, + sectionTitle: section.sectionTitle || null, + sectionTitleColor: section.sectionTitleColor || null, + projects: section.projects + ? filterListNullableItems( + section.projects + ).map((project) => { + return { + _template: "project", + id: project.id, + companyName: project.companyName || null, + projectType: project.projectType || null, + description: project.description || null, + linkName: project.linkName || null, + linkPath: project.linkPath || null, + image: project.image + ? { + id: project.image.id, + url: project.image.url, + alternativeText: + project.image.alternativeText || null, + } + : null, + }; + }) + : [], + }; + } + + + + case "projectListSection": { + return { + __typename: "ComponentSectionProjectsSection", + id: section.id, + sectionTitle: section.sectionTitle, + sectionTitleColor: section.sectionTitleColor, + projects: section.projects + ? filterListNullableItems( + section.projects + ).map((project) => { + return { + _template: "project", + id: project.id, + companyName: project.companyName || null, + projectType: project.projectType || null, + description: project.description || null, + linkName: project.linkName || null, + linkPath: project.linkPath || null, + image: project.image + ? { + id: project.image.id, + url: project.image.url, + alternativeText: + project.image.alternativeText || null, + } + : null, + }; + }) + : [], + }; + } + +*/ diff --git a/frontend/pages/projects/index.tsx b/frontend/pages/projects/index.tsx new file mode 100644 index 00000000..5921a4de --- /dev/null +++ b/frontend/pages/projects/index.tsx @@ -0,0 +1,424 @@ +import { Box } from "@chakra-ui/react"; +import { PROJECT_BLOCK } from "@features/sectionBlocks"; +import { + CreateProject, + CreateProjectInput, + GetProjects, + GetProjectsQuery, + GetProjectsQueryVariables, + UpdateProject, + UpdateProjectInput, +} from "@graphql/generated"; +import { fetchGraphQL } from "@graphql/utils"; +import { useRouter } from "next/router"; +import React from "react"; +import { InlineBlocks, InlineForm } from "react-tinacms-inline"; +import { ContentCreatorPlugin, useForm, usePlugin } from "tinacms"; +import { Form, FormOptions, useCMS } from "tinacms"; +import { ProjectData } from "./[handle]"; + +export interface ProjectDataCreateInput { + companyName: string; + projectType: string; + description: string; + linkName: string; + linkPath: string; + path: string; + locale: string; +} + +export default async function Index() { + const router = useRouter(); + const locale = router.locale; + const path = router.asPath; + + const availableProjects = await fetchGraphQL< + GetProjectsQuery, + GetProjectsQueryVariables + >(GetProjects, { + locale, + where: { + path, + }, + }); + const projectData = getProjectData(availableProjects.projects, locale!); + const [_, form] = useProjectPlugin(projectData); + + return ( + + + + + + ); +} + +function getProjectData( + projects: GetProjectsQuery["projects"], + locale: string +): ProjectData | undefined { + const project = projects?.find((page) => page?.locale === locale); + if (project != null) { + return { + _template: "project", + id: project?.id, + companyName: project?.companyName || null, + projectType: project?.projectType || null, + description: project?.description || null, + linkName: project?.linkName || null, + linkPath: project?.linkPath || null, + image: project?.image + ? { + id: project.image.id, + url: project.image.url, + alternativeText: project.image.alternativeText || null, + } + : null, + }; + } + return undefined; +} + +function useProjectPlugin(data: ProjectData): [ProjectData, Form] { + const cms = useCMS(); + const formConfig: FormOptions = { + id: data, + label: "Page", + initialValues: data, + onSubmit: async (values) => { + const input = getProjectInput(values); + try { + const response = await cms.api.strapi.fetchGraphql(UpdateProject, { + input, + }); + if (response.data) { + cms.alerts.success("Changes saved!"); + } else { + cms.alerts.error("Error while saving changes"); + } + } catch (error) { + console.log(error); + cms.alerts.error("Error while saving changes"); + } + }, + fields: [], + }; + const [projects, form] = useForm(formConfig); + usePlugin(form); + + return [projects, form]; +} + +function getProjectInput(data: ProjectData): UpdateProjectInput { + return { + where: { id: data.id }, + data: { + companyName: data.companyName, + description: data.description, + linkName: data.linkName, + linkPath: data.linkPath, + projectType: data.projectType, + image: data.image + ? { + id: data.image?.id, + url: data.image.url, + alternativeText: data.image.alternativeText, + } + : null, + }, + }; +} + +interface ProjectCreatorPluginOptions { + locales: string[]; +} + +function getProjectCreatorPlugin( + options: ProjectCreatorPluginOptions +): ContentCreatorPlugin { + return { + __type: "content-creator", + name: "Add new project", + fields: [ + { + label: "Company name", + name: "companyName", + component: "text", + validate(title: string) { + if (!title) return "Required."; + }, + }, + { + label: "Path", + name: "path", + component: "text", + description: "The path to the page ( e.g. /about )", + validate(path: string) { + if (!path) { + return "Required."; + } + if (!path.startsWith("/")) { + return "Path should start with /"; + } + }, + }, + { + label: "Locale", + name: "locale", + component: "select", + description: "Select a locale for this page", + defaultValue: "en", + // @ts-ignore + options: options.locales, + }, + ], + onSubmit: async (values, cms) => { + const input = getPageCreateInput(values); + try { + const response = await cms.api.strapi.fetchGraphql(CreateProject, { + input, + }); + if (response.data) { + // @ts-ignore + cms.alerts.success("Changes saved!"); + window.location.href = `/${values.locale}${values.path}`; + } else { + // @ts-ignore + cms.alerts.error("Error while saving changes"); + } + } catch (error) { + console.log(error); + // @ts-ignore + cms.alerts.error("Error while saving changes"); + } + }, + }; +} + +function getPageCreateInput(input: ProjectDataCreateInput): CreateProjectInput { + return { + data: { + companyName: input.companyName, + description: input.description, + projectType: input.projectType, + linkName: input.linkName, + linkPath: input.linkPath, + path: input.path, + locale: input.locale, + }, + }; +} + +/* import { Box } from "@chakra-ui/react"; +import { BlockTemplateData } from "@features/pageBlocks"; +import { + GetProjects, + GetProjectsQuery, + GetProjectsQueryVariables, +} from "@graphql/generated"; +import { fetchGraphQL } from "@graphql/utils"; +import { filterListNullableItems } from "@utils"; +import { GetStaticPaths, GetStaticProps } from "next"; +import React from "react"; + +interface DynamicPageProps { + path: string[]; + locale: string; + preview: boolean; + Project: ProjectBlockData; +} + +export type ProjectBlockData = BlockTemplateData< + "project", + { + id: string; + path: string; + companyName: Nullable; + projectType: Nullable; + description: Nullable; + linkName: Nullable; + linkPath: Nullable; + image: Nullable; + } +>; + +interface ProjectImage { + id: string; + url: string; + alternativeText: Nullable; +} + +export default function DynamicPage({ Project }: DynamicPageProps) { + return {Project}; +} + +export const getStaticPaths: GetStaticPaths = async (context) => { + if (context.locales == null) { + throw new Error("No locale has been defined!"); + } + const allProjectsRequests = context.locales.map(async (locale) => { + const localeProjects = await fetchGraphQL< + GetProjectsQuery, + GetProjectsQueryVariables + >(GetProjects, { + locale, + }); + + if (localeProjects.projects) { + return filterListNullableItems(localeProjects.projects); + } + return []; + }); + + const allProjects = await Promise.all(allProjectsRequests); + const projects = allProjects.flat(); + + const paths = projects.map((project) => { + const pagePath = project.path?.replace(/^\/+/, "") || ""; + const slugArray: any = pagePath.length > 0 ? pagePath.split("/") : false; + return { + params: { slug: slugArray }, + locale: project.locale!, + }; + }); + + return { paths, fallback: true }; +}; + +function wrap(value: T | T[]): T[] { + if (Array.isArray(value)) { + return value; + } + return [value]; +} + +export const getStaticProps: GetStaticProps< + DynamicPageProps | { notFound: boolean } +> = async (context) => { + const pathParts = wrap(context.params?.slug || []); + const path = `/${pathParts.join("/")}`; + const locale = context.locale; + if (locale == null) { + throw new Error(`Path "${pathParts.join("/")}" has no locale!`); + } + const preview = context.preview === true; + + const localeProjects = await fetchGraphQL< + GetProjectsQuery, + GetProjectsQueryVariables + >(GetProjects, { + locale, + }); + + if (localeProjects.projects == null) { + return { + notFound: true, + }; + } + + const ProjectsList = await fetchGraphQL< + GetProjectsQuery, + GetProjectsQueryVariables + >(GetProjects, { + locale, + where: { + path, + }, + }); + + if (ProjectsList.projects == null) { + return { + notFound: true, + }; + } + + if (preview) { + return { + props: { + ProjectsList, + path: pathParts, + locale, + preview, + previewData: context.previewData, + }, + }; + } + + return { + props: { + ProjectsList, + path: pathParts, + locale, + preview, + }, + }; +}; + +/* +case "ComponentSectionProjectsSection": { + return { + _template: "projectListSection", + id: section.id, + sectionTitle: section.sectionTitle || null, + sectionTitleColor: section.sectionTitleColor || null, + projects: section.projects + ? filterListNullableItems( + section.projects + ).map((project) => { + return { + _template: "project", + id: project.id, + companyName: project.companyName || null, + projectType: project.projectType || null, + description: project.description || null, + linkName: project.linkName || null, + linkPath: project.linkPath || null, + image: project.image + ? { + id: project.image.id, + url: project.image.url, + alternativeText: + project.image.alternativeText || null, + } + : null, + }; + }) + : [], + }; + } + + + + case "projectListSection": { + return { + __typename: "ComponentSectionProjectsSection", + id: section.id, + sectionTitle: section.sectionTitle, + sectionTitleColor: section.sectionTitleColor, + projects: section.projects + ? filterListNullableItems( + section.projects + ).map((project) => { + return { + _template: "project", + id: project.id, + companyName: project.companyName || null, + projectType: project.projectType || null, + description: project.description || null, + linkName: project.linkName || null, + linkPath: project.linkPath || null, + image: project.image + ? { + id: project.image.id, + url: project.image.url, + alternativeText: + project.image.alternativeText || null, + } + : null, + }; + }) + : [], + }; + } + +*/ From ad7c78cf6ed11123bdda5b13de9250327407035a Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Thu, 29 Jul 2021 08:09:46 +0200 Subject: [PATCH 04/21] fixs --- frontend/pages/projects/index.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/pages/projects/index.tsx b/frontend/pages/projects/index.tsx index 5921a4de..e839b01b 100644 --- a/frontend/pages/projects/index.tsx +++ b/frontend/pages/projects/index.tsx @@ -61,13 +61,13 @@ function getProjectData( if (project != null) { return { _template: "project", - id: project?.id, - companyName: project?.companyName || null, - projectType: project?.projectType || null, - description: project?.description || null, - linkName: project?.linkName || null, - linkPath: project?.linkPath || null, - image: project?.image + id: project.id, + companyName: project.companyName || null, + projectType: project.projectType || null, + description: project.description || null, + linkName: project.linkName || null, + linkPath: project.linkPath || null, + image: project.image ? { id: project.image.id, url: project.image.url, From d270afa6793260bae091c79b483def40db611c9b Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Mon, 9 Aug 2021 16:47:19 +0200 Subject: [PATCH 05/21] Fixes --- .../projects/models/projects.settings.json | 60 +- .../pageBlocks/ProjectListSectionBlock.tsx | 1 - frontend/graphql.schema.json | 702 ++---------------- frontend/graphql/generated.ts | 110 +-- frontend/graphql/getProjects.graphql | 22 +- frontend/pages/projects/[handle].tsx | 12 +- frontend/pages/projects/index.tsx | 113 ++- 7 files changed, 193 insertions(+), 827 deletions(-) diff --git a/backend/api/projects/models/projects.settings.json b/backend/api/projects/models/projects.settings.json index 494ead6d..a0cf7430 100644 --- a/backend/api/projects/models/projects.settings.json +++ b/backend/api/projects/models/projects.settings.json @@ -16,67 +16,15 @@ } }, "attributes": { - "companyName": { + "projects": { + "type": "component", + "repeatable": true, "pluginOptions": { "i18n": { "localized": true } }, - "type": "string" - }, - "projectType": { - "pluginOptions": { - "i18n": { - "localized": true - } - }, - "type": "string" - }, - "description": { - "pluginOptions": { - "i18n": { - "localized": true - } - }, - "type": "string" - }, - "linkName": { - "pluginOptions": { - "i18n": { - "localized": true - } - }, - "type": "string" - }, - "linkPath": { - "pluginOptions": { - "i18n": { - "localized": true - } - }, - "type": "string" - }, - "path": { - "pluginOptions": { - "i18n": { - "localized": true - } - }, - "type": "string" - }, - "image": { - "model": "file", - "via": "related", - "allowedTypes": [ - "images" - ], - "plugin": "upload", - "required": false, - "pluginOptions": { - "i18n": { - "localized": true - } - } + "component": "blocks.project" } } } diff --git a/frontend/features/pageBlocks/ProjectListSectionBlock.tsx b/frontend/features/pageBlocks/ProjectListSectionBlock.tsx index 582e4705..e9c8a0ff 100644 --- a/frontend/features/pageBlocks/ProjectListSectionBlock.tsx +++ b/frontend/features/pageBlocks/ProjectListSectionBlock.tsx @@ -39,7 +39,6 @@ export function ProjectListSection({ }, [preview]); return ( ; - projectType?: Maybe; - description?: Maybe; - linkName?: Maybe; - linkPath?: Maybe; - path?: Maybe; - image?: Maybe; + projects?: Maybe>>; localizations?: Maybe>>; locale?: Maybe; published_at?: Maybe; @@ -503,13 +497,7 @@ export type Projects = { id: Scalars['ID']; created_at: Scalars['DateTime']; updated_at: Scalars['DateTime']; - companyName?: Maybe; - projectType?: Maybe; - description?: Maybe; - linkName?: Maybe; - linkPath?: Maybe; - path?: Maybe; - image?: Maybe; + projects?: Maybe>>; locale?: Maybe; published_at?: Maybe; localizations?: Maybe>>; @@ -536,66 +524,24 @@ export type ProjectsConnection = { aggregate?: Maybe; }; -export type ProjectsConnectionCompanyName = { - __typename?: 'ProjectsConnectionCompanyName'; - key?: Maybe; - connection?: Maybe; -}; - export type ProjectsConnectionCreated_At = { __typename?: 'ProjectsConnectionCreated_at'; key?: Maybe; connection?: Maybe; }; -export type ProjectsConnectionDescription = { - __typename?: 'ProjectsConnectionDescription'; - key?: Maybe; - connection?: Maybe; -}; - export type ProjectsConnectionId = { __typename?: 'ProjectsConnectionId'; key?: Maybe; connection?: Maybe; }; -export type ProjectsConnectionImage = { - __typename?: 'ProjectsConnectionImage'; - key?: Maybe; - connection?: Maybe; -}; - -export type ProjectsConnectionLinkName = { - __typename?: 'ProjectsConnectionLinkName'; - key?: Maybe; - connection?: Maybe; -}; - -export type ProjectsConnectionLinkPath = { - __typename?: 'ProjectsConnectionLinkPath'; - key?: Maybe; - connection?: Maybe; -}; - export type ProjectsConnectionLocale = { __typename?: 'ProjectsConnectionLocale'; key?: Maybe; connection?: Maybe; }; -export type ProjectsConnectionPath = { - __typename?: 'ProjectsConnectionPath'; - key?: Maybe; - connection?: Maybe; -}; - -export type ProjectsConnectionProjectType = { - __typename?: 'ProjectsConnectionProjectType'; - key?: Maybe; - connection?: Maybe; -}; - export type ProjectsConnectionPublished_At = { __typename?: 'ProjectsConnectionPublished_at'; key?: Maybe; @@ -613,13 +559,6 @@ export type ProjectsGroupBy = { id?: Maybe>>; created_at?: Maybe>>; updated_at?: Maybe>>; - companyName?: Maybe>>; - projectType?: Maybe>>; - description?: Maybe>>; - linkName?: Maybe>>; - linkPath?: Maybe>>; - path?: Maybe>>; - image?: Maybe>>; locale?: Maybe>>; published_at?: Maybe>>; }; @@ -1390,13 +1329,7 @@ export type EditPageInput = { }; export type EditProjectInput = { - companyName?: Maybe; - projectType?: Maybe; - description?: Maybe; - linkName?: Maybe; - linkPath?: Maybe; - path?: Maybe; - image?: Maybe; + projects?: Maybe>>; localizations?: Maybe>>; locale?: Maybe; published_at?: Maybe; @@ -1550,11 +1483,15 @@ export type GetProjectsQuery = ( { __typename?: 'Query' } & { projects?: Maybe - & { image?: Maybe<( - { __typename?: 'UploadFile' } - & Pick - )> } + & Pick + & { projects?: Maybe + & { image?: Maybe<( + { __typename?: 'UploadFile' } + & Pick + )> } + )>>> } )>>> } ); @@ -1673,16 +1610,19 @@ export const GetProjects = ` projects(where: $where, locale: $locale) { id locale - path - projectType - companyName - description - linkName - linkPath - image { + projects { id - url - alternativeText + path + projectType + companyName + description + linkName + linkPath + image { + id + url + alternativeText + } } } } diff --git a/frontend/graphql/getProjects.graphql b/frontend/graphql/getProjects.graphql index 976fd777..4017d110 100644 --- a/frontend/graphql/getProjects.graphql +++ b/frontend/graphql/getProjects.graphql @@ -2,16 +2,20 @@ query GetProjects($where: JSON, $locale: String) { projects(where: $where, locale: $locale) { id locale - path - projectType - companyName - description - linkName - linkPath - image { + + projects { id - url - alternativeText + path + projectType + companyName + description + linkName + linkPath + image { + id + url + alternativeText + } } } } diff --git a/frontend/pages/projects/[handle].tsx b/frontend/pages/projects/[handle].tsx index ce416993..cc37ff09 100644 --- a/frontend/pages/projects/[handle].tsx +++ b/frontend/pages/projects/[handle].tsx @@ -37,15 +37,7 @@ interface ProjectImage { alternativeText: Nullable; } -export default function DynamicPage({ - project, - path, - locale, - preview, -}: DynamicPageProps) { - console.log(path, locale, preview); - - console.log("Project", JSON.stringify(project, null, " ")); +export default function DynamicPage({ project }: DynamicPageProps) { return ( { return { paths, fallback: true }; }; -function wrap(value: T | T[]): T[] { +export function wrap(value: T | T[]): T[] { if (Array.isArray(value)) { return value; } diff --git a/frontend/pages/projects/index.tsx b/frontend/pages/projects/index.tsx index e839b01b..20b12dbb 100644 --- a/frontend/pages/projects/index.tsx +++ b/frontend/pages/projects/index.tsx @@ -10,12 +10,12 @@ import { UpdateProjectInput, } from "@graphql/generated"; import { fetchGraphQL } from "@graphql/utils"; -import { useRouter } from "next/router"; +import { GetStaticProps } from "next"; import React from "react"; import { InlineBlocks, InlineForm } from "react-tinacms-inline"; import { ContentCreatorPlugin, useForm, usePlugin } from "tinacms"; import { Form, FormOptions, useCMS } from "tinacms"; -import { ProjectData } from "./[handle]"; +import { ProjectData, wrap } from "./[handle]"; export interface ProjectDataCreateInput { companyName: string; @@ -27,22 +27,21 @@ export interface ProjectDataCreateInput { locale: string; } -export default async function Index() { - const router = useRouter(); - const locale = router.locale; - const path = router.asPath; +type ProjectsListData = { + id?: string; + projects: ProjectData[]; +}; - const availableProjects = await fetchGraphQL< - GetProjectsQuery, - GetProjectsQueryVariables - >(GetProjects, { - locale, - where: { - path, - }, - }); - const projectData = getProjectData(availableProjects.projects, locale!); - const [_, form] = useProjectPlugin(projectData); +interface DynamicPageProps { + locale: string; + preview: boolean; + projects: ProjectData[]; +} + +export default async function Index({ projects }: DynamicPageProps) { + const [_, form] = useProjectPlugin(projects); + + console.log("projects", JSON.stringify(projects, null, " ")); return ( @@ -53,6 +52,86 @@ export default async function Index() { ); } +export const getStaticProps: GetStaticProps< + DynamicPageProps | { notFound: boolean } +> = async (context) => { + const pathParts = wrap(context.params?.handle || []); + + const locale = context.locale; + if (locale == null) { + throw new Error(`Path "${pathParts.join("/")}" has no locale!`); + } + const preview = context.preview === true; + + const localeProjects = await fetchGraphQL< + GetProjectsQuery, + GetProjectsQueryVariables + >(GetProjects, { + locale, + }); + + console.log("localeProjects", JSON.stringify(localeProjects, null, " ")); + + if (localeProjects.projects == null) { + return { + notFound: true, + }; + } + + const projectData = getProjectsListData(localeProjects.projects, locale); + + console.log("projectData", JSON.stringify(projectData, null, " ")); + + if (projectData == null) { + return { + notFound: true, + }; + } + + if (preview) { + return { + props: { + projects: projectData, + locale, + preview, + previewData: context.previewData, + }, + }; + } + + return { + props: { + projects: projectData, + locale, + preview, + }, + }; +}; + +function getProjectsListData( + projects: GetProjectsQuery["projects"], + locale: string +): ProjectData[] | undefined { + const projectsList = projects?.find((list) => list?.locale === locale); + if (projectsList) { + return { + id: projectsList?.id, + companyName: projectsList.companyName || null, + projectType: projectsList.projectType || null, + description: projectsList.description || null, + linkName: projectsList.linkName || null, + linkPath: projectsList.linkPath || null, + image: projectsList.image + ? { + id: projectsList.image.id, + url: projectsList.image.url, + alternativeText: projectsList.image.alternativeText || null, + } + : null, + }; + } +} + function getProjectData( projects: GetProjectsQuery["projects"], locale: string From 5a7cc813eae382e84b09bc826ead3b0a0d0b0e84 Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Thu, 19 Aug 2021 08:24:12 +0200 Subject: [PATCH 06/21] Index page shows every project --- .../config/routes.json | 24 +- .../controllers/projects-list.js} | 0 .../models/projects-list.js} | 0 .../models/projects-list.settings.json} | 8 +- .../services/projects-list.js} | 0 frontend/codegen.yml | 2 +- frontend/graphql.schema.json | 318 +++++++++--------- frontend/graphql/createProject.graphql | 7 - frontend/graphql/generated.ts | 226 ++++++------- ...getProjects.graphql => getProject.graphql} | 7 +- frontend/graphql/getProjectsList.graphql | 20 ++ frontend/graphql/updateProject.graphql | 7 - frontend/graphql/updateProjectsList.graphql | 7 + frontend/package-lock.json | 223 ++++++++---- frontend/package.json | 17 +- frontend/pages/projects/[handle].tsx | 50 +-- frontend/pages/projects/index.tsx | 235 ++++--------- 17 files changed, 562 insertions(+), 589 deletions(-) rename backend/api/{projects => projects-list}/config/routes.json (53%) rename backend/api/{projects/controllers/projects.js => projects-list/controllers/projects-list.js} (100%) rename backend/api/{projects/models/projects.js => projects-list/models/projects-list.js} (100%) rename backend/api/{projects/models/projects.settings.json => projects-list/models/projects-list.settings.json} (78%) rename backend/api/{projects/services/projects.js => projects-list/services/projects-list.js} (100%) delete mode 100644 frontend/graphql/createProject.graphql rename frontend/graphql/{getProjects.graphql => getProject.graphql} (69%) create mode 100644 frontend/graphql/getProjectsList.graphql delete mode 100644 frontend/graphql/updateProject.graphql create mode 100644 frontend/graphql/updateProjectsList.graphql diff --git a/backend/api/projects/config/routes.json b/backend/api/projects-list/config/routes.json similarity index 53% rename from backend/api/projects/config/routes.json rename to backend/api/projects-list/config/routes.json index 482293ba..30c32470 100644 --- a/backend/api/projects/config/routes.json +++ b/backend/api/projects-list/config/routes.json @@ -2,48 +2,48 @@ "routes": [ { "method": "GET", - "path": "/projects", - "handler": "projects.find", + "path": "/projects-lists", + "handler": "projects-list.find", "config": { "policies": [] } }, { "method": "GET", - "path": "/projects/count", - "handler": "projects.count", + "path": "/projects-lists/count", + "handler": "projects-list.count", "config": { "policies": [] } }, { "method": "GET", - "path": "/projects/:id", - "handler": "projects.findOne", + "path": "/projects-lists/:id", + "handler": "projects-list.findOne", "config": { "policies": [] } }, { "method": "POST", - "path": "/projects", - "handler": "projects.create", + "path": "/projects-lists", + "handler": "projects-list.create", "config": { "policies": [] } }, { "method": "PUT", - "path": "/projects/:id", - "handler": "projects.update", + "path": "/projects-lists/:id", + "handler": "projects-list.update", "config": { "policies": [] } }, { "method": "DELETE", - "path": "/projects/:id", - "handler": "projects.delete", + "path": "/projects-lists/:id", + "handler": "projects-list.delete", "config": { "policies": [] } diff --git a/backend/api/projects/controllers/projects.js b/backend/api/projects-list/controllers/projects-list.js similarity index 100% rename from backend/api/projects/controllers/projects.js rename to backend/api/projects-list/controllers/projects-list.js diff --git a/backend/api/projects/models/projects.js b/backend/api/projects-list/models/projects-list.js similarity index 100% rename from backend/api/projects/models/projects.js rename to backend/api/projects-list/models/projects-list.js diff --git a/backend/api/projects/models/projects.settings.json b/backend/api/projects-list/models/projects-list.settings.json similarity index 78% rename from backend/api/projects/models/projects.settings.json rename to backend/api/projects-list/models/projects-list.settings.json index a0cf7430..fd58eb23 100644 --- a/backend/api/projects/models/projects.settings.json +++ b/backend/api/projects-list/models/projects-list.settings.json @@ -1,8 +1,8 @@ { "kind": "collectionType", - "collectionName": "projects", + "collectionName": "projects_lists", "info": { - "name": "Project", + "name": "ProjectsList", "description": "" }, "options": { @@ -19,12 +19,12 @@ "projects": { "type": "component", "repeatable": true, + "component": "blocks.project", "pluginOptions": { "i18n": { "localized": true } - }, - "component": "blocks.project" + } } } } diff --git a/backend/api/projects/services/projects.js b/backend/api/projects-list/services/projects-list.js similarity index 100% rename from backend/api/projects/services/projects.js rename to backend/api/projects-list/services/projects-list.js diff --git a/frontend/codegen.yml b/frontend/codegen.yml index 56145d4e..5e948684 100644 --- a/frontend/codegen.yml +++ b/frontend/codegen.yml @@ -6,7 +6,7 @@ generates: plugins: - "typescript" - "typescript-operations" - - typescript-document-nodes + - "typescript-document-nodes" config: documentMode: "string" ./graphql.schema.json: diff --git a/frontend/graphql.schema.json b/frontend/graphql.schema.json index 7e7ec2fd..8ed3a4ea 100644 --- a/frontend/graphql.schema.json +++ b/frontend/graphql.schema.json @@ -1901,62 +1901,62 @@ }, { "kind": "OBJECT", - "name": "Projects", + "name": "ProjectsList", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsConnection", + "name": "ProjectsListConnection", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsAggregator", + "name": "ProjectsListAggregator", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsGroupBy", + "name": "ProjectsListGroupBy", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsConnectionId", + "name": "ProjectsListConnectionId", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsConnectionCreated_at", + "name": "ProjectsListConnectionCreated_at", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsConnectionUpdated_at", + "name": "ProjectsListConnectionUpdated_at", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsConnectionLocale", + "name": "ProjectsListConnectionLocale", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsConnectionPublished_at", + "name": "ProjectsListConnectionPublished_at", "ofType": null }, { "kind": "OBJECT", - "name": "createProjectPayload", + "name": "createProjectsListPayload", "ofType": null }, { "kind": "OBJECT", - "name": "updateProjectPayload", + "name": "updateProjectsListPayload", "ofType": null }, { "kind": "OBJECT", - "name": "deleteProjectPayload", + "name": "deleteProjectsListPayload", "ofType": null }, { @@ -2362,7 +2362,7 @@ "deprecationReason": null }, { - "name": "createProject", + "name": "createProjectsList", "description": null, "args": [ { @@ -2370,7 +2370,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "createProjectInput", + "name": "createProjectsListInput", "ofType": null }, "defaultValue": null, @@ -2380,14 +2380,14 @@ ], "type": { "kind": "OBJECT", - "name": "createProjectPayload", + "name": "createProjectsListPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updateProject", + "name": "updateProjectsList", "description": null, "args": [ { @@ -2395,7 +2395,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "updateProjectInput", + "name": "updateProjectsListInput", "ofType": null }, "defaultValue": null, @@ -2405,14 +2405,14 @@ ], "type": { "kind": "OBJECT", - "name": "updateProjectPayload", + "name": "updateProjectsListPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "deleteProject", + "name": "deleteProjectsList", "description": null, "args": [ { @@ -2420,7 +2420,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "deleteProjectInput", + "name": "deleteProjectsListInput", "ofType": null }, "defaultValue": null, @@ -2430,7 +2430,7 @@ ], "type": { "kind": "OBJECT", - "name": "deleteProjectPayload", + "name": "deleteProjectsListPayload", "ofType": null }, "isDeprecated": false, @@ -2645,7 +2645,7 @@ "deprecationReason": null }, { - "name": "createProjectLocalization", + "name": "createProjectsListLocalization", "description": null, "args": [ { @@ -2656,7 +2656,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "updateProjectInput", + "name": "updateProjectsListInput", "ofType": null } }, @@ -2670,7 +2670,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Projects", + "name": "ProjectsList", "ofType": null } }, @@ -3912,100 +3912,9 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "ProjectInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "projects", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ComponentBlocksProjectInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "localizations", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "published_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_by", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_by", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", - "name": "Projects", + "name": "ProjectsList", "description": null, "fields": [ { @@ -4154,7 +4063,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Projects", + "name": "ProjectsList", "ofType": null } }, @@ -4169,7 +4078,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsAggregator", + "name": "ProjectsListAggregator", "description": null, "fields": [ { @@ -4204,7 +4113,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsConnection", + "name": "ProjectsListConnection", "description": null, "fields": [ { @@ -4216,7 +4125,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Projects", + "name": "ProjectsList", "ofType": null } }, @@ -4229,7 +4138,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsGroupBy", + "name": "ProjectsListGroupBy", "ofType": null }, "isDeprecated": false, @@ -4241,7 +4150,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsAggregator", + "name": "ProjectsListAggregator", "ofType": null }, "isDeprecated": false, @@ -4255,7 +4164,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsConnectionCreated_at", + "name": "ProjectsListConnectionCreated_at", "description": null, "fields": [ { @@ -4276,7 +4185,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsConnection", + "name": "ProjectsListConnection", "ofType": null }, "isDeprecated": false, @@ -4290,7 +4199,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsConnectionId", + "name": "ProjectsListConnectionId", "description": null, "fields": [ { @@ -4311,7 +4220,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsConnection", + "name": "ProjectsListConnection", "ofType": null }, "isDeprecated": false, @@ -4325,7 +4234,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsConnectionLocale", + "name": "ProjectsListConnectionLocale", "description": null, "fields": [ { @@ -4346,7 +4255,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsConnection", + "name": "ProjectsListConnection", "ofType": null }, "isDeprecated": false, @@ -4360,7 +4269,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsConnectionPublished_at", + "name": "ProjectsListConnectionPublished_at", "description": null, "fields": [ { @@ -4381,7 +4290,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsConnection", + "name": "ProjectsListConnection", "ofType": null }, "isDeprecated": false, @@ -4395,7 +4304,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsConnectionUpdated_at", + "name": "ProjectsListConnectionUpdated_at", "description": null, "fields": [ { @@ -4416,7 +4325,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsConnection", + "name": "ProjectsListConnection", "ofType": null }, "isDeprecated": false, @@ -4430,7 +4339,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsGroupBy", + "name": "ProjectsListGroupBy", "description": null, "fields": [ { @@ -4442,7 +4351,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsConnectionId", + "name": "ProjectsListConnectionId", "ofType": null } }, @@ -4458,7 +4367,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsConnectionCreated_at", + "name": "ProjectsListConnectionCreated_at", "ofType": null } }, @@ -4474,7 +4383,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsConnectionUpdated_at", + "name": "ProjectsListConnectionUpdated_at", "ofType": null } }, @@ -4490,7 +4399,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsConnectionLocale", + "name": "ProjectsListConnectionLocale", "ofType": null } }, @@ -4506,7 +4415,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsConnectionPublished_at", + "name": "ProjectsListConnectionPublished_at", "ofType": null } }, @@ -4519,6 +4428,97 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "ProjectsListInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "projects", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ComponentBlocksProjectInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "localizations", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locale", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "published_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "ENUM", "name": "PublicationState", @@ -4751,7 +4751,7 @@ "deprecationReason": null }, { - "name": "project", + "name": "projectsList", "description": null, "args": [ { @@ -4785,14 +4785,14 @@ ], "type": { "kind": "OBJECT", - "name": "Projects", + "name": "ProjectsList", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "projects", + "name": "projectsLists", "description": null, "args": [ { @@ -4873,7 +4873,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Projects", + "name": "ProjectsList", "ofType": null } }, @@ -4881,7 +4881,7 @@ "deprecationReason": null }, { - "name": "projectsConnection", + "name": "projectsListsConnection", "description": null, "args": [ { @@ -4947,7 +4947,7 @@ ], "type": { "kind": "OBJECT", - "name": "ProjectsConnection", + "name": "ProjectsListConnection", "ofType": null }, "isDeprecated": false, @@ -8969,7 +8969,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "createProjectInput", + "name": "createProjectsListInput", "description": null, "fields": null, "inputFields": [ @@ -8978,7 +8978,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "ProjectInput", + "name": "ProjectsListInput", "ofType": null }, "defaultValue": null, @@ -8992,16 +8992,16 @@ }, { "kind": "OBJECT", - "name": "createProjectPayload", + "name": "createProjectsListPayload", "description": null, "fields": [ { - "name": "project", + "name": "projectsList", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "Projects", + "name": "ProjectsList", "ofType": null }, "isDeprecated": false, @@ -9199,7 +9199,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "deleteProjectInput", + "name": "deleteProjectsListInput", "description": null, "fields": null, "inputFields": [ @@ -9222,16 +9222,16 @@ }, { "kind": "OBJECT", - "name": "deleteProjectPayload", + "name": "deleteProjectsListPayload", "description": null, "fields": [ { - "name": "project", + "name": "projectsList", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "Projects", + "name": "ProjectsList", "ofType": null }, "isDeprecated": false, @@ -10337,7 +10337,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "editProjectInput", + "name": "editProjectsListInput", "description": null, "fields": null, "inputFields": [ @@ -10732,7 +10732,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "updateProjectInput", + "name": "updateProjectsListInput", "description": null, "fields": null, "inputFields": [ @@ -10753,7 +10753,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "editProjectInput", + "name": "editProjectsListInput", "ofType": null }, "defaultValue": null, @@ -10767,16 +10767,16 @@ }, { "kind": "OBJECT", - "name": "updateProjectPayload", + "name": "updateProjectsListPayload", "description": null, "fields": [ { - "name": "project", + "name": "projectsList", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "Projects", + "name": "ProjectsList", "ofType": null }, "isDeprecated": false, diff --git a/frontend/graphql/createProject.graphql b/frontend/graphql/createProject.graphql deleted file mode 100644 index ce694dbd..00000000 --- a/frontend/graphql/createProject.graphql +++ /dev/null @@ -1,7 +0,0 @@ -mutation CreateProject($input: createProjectInput) { - createProject(input: $input) { - project { - id - } - } -} diff --git a/frontend/graphql/generated.ts b/frontend/graphql/generated.ts index 6b46b661..a804f4f5 100644 --- a/frontend/graphql/generated.ts +++ b/frontend/graphql/generated.ts @@ -219,16 +219,16 @@ export type LocaleInput = { }; -export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionTitle | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | Projects | ProjectsConnection | ProjectsAggregator | ProjectsGroupBy | ProjectsConnectionId | ProjectsConnectionCreated_At | ProjectsConnectionUpdated_At | ProjectsConnectionLocale | ProjectsConnectionPublished_At | CreateProjectPayload | UpdateProjectPayload | DeleteProjectPayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksProject | ComponentBlocksSingleFeature | ComponentMenuLink | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSingleFeatureSection; +export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionTitle | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | ProjectsList | ProjectsListConnection | ProjectsListAggregator | ProjectsListGroupBy | ProjectsListConnectionId | ProjectsListConnectionCreated_At | ProjectsListConnectionUpdated_At | ProjectsListConnectionLocale | ProjectsListConnectionPublished_At | CreateProjectsListPayload | UpdateProjectsListPayload | DeleteProjectsListPayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksProject | ComponentBlocksSingleFeature | ComponentMenuLink | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSingleFeatureSection; export type Mutation = { __typename?: 'Mutation'; createPage?: Maybe; updatePage?: Maybe; deletePage?: Maybe; - createProject?: Maybe; - updateProject?: Maybe; - deleteProject?: Maybe; + createProjectsList?: Maybe; + updateProjectsList?: Maybe; + deleteProjectsList?: Maybe; /** Delete one file */ deleteFile?: Maybe; /** Create a new role */ @@ -244,7 +244,7 @@ export type Mutation = { /** Delete an existing user */ deleteUser?: Maybe; createPageLocalization: Pages; - createProjectLocalization: Projects; + createProjectsListLocalization: ProjectsList; upload: UploadFile; multipleUpload: Array>; updateFileInfo: UploadFile; @@ -271,18 +271,18 @@ export type MutationDeletePageArgs = { }; -export type MutationCreateProjectArgs = { - input?: Maybe; +export type MutationCreateProjectsListArgs = { + input?: Maybe; }; -export type MutationUpdateProjectArgs = { - input?: Maybe; +export type MutationUpdateProjectsListArgs = { + input?: Maybe; }; -export type MutationDeleteProjectArgs = { - input?: Maybe; +export type MutationDeleteProjectsListArgs = { + input?: Maybe; }; @@ -326,8 +326,8 @@ export type MutationCreatePageLocalizationArgs = { }; -export type MutationCreateProjectLocalizationArgs = { - input: UpdateProjectInput; +export type MutationCreateProjectsListLocalizationArgs = { + input: UpdateProjectsListInput; }; @@ -483,84 +483,84 @@ export type PagesGroupBy = { export type PagesSectionsDynamicZone = ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionSingleFeatureSection; -export type ProjectInput = { - projects?: Maybe>>; - localizations?: Maybe>>; - locale?: Maybe; - published_at?: Maybe; - created_by?: Maybe; - updated_by?: Maybe; -}; - -export type Projects = { - __typename?: 'Projects'; +export type ProjectsList = { + __typename?: 'ProjectsList'; id: Scalars['ID']; created_at: Scalars['DateTime']; updated_at: Scalars['DateTime']; projects?: Maybe>>; locale?: Maybe; published_at?: Maybe; - localizations?: Maybe>>; + localizations?: Maybe>>; }; -export type ProjectsLocalizationsArgs = { +export type ProjectsListLocalizationsArgs = { sort?: Maybe; limit?: Maybe; start?: Maybe; where?: Maybe; }; -export type ProjectsAggregator = { - __typename?: 'ProjectsAggregator'; +export type ProjectsListAggregator = { + __typename?: 'ProjectsListAggregator'; count?: Maybe; totalCount?: Maybe; }; -export type ProjectsConnection = { - __typename?: 'ProjectsConnection'; - values?: Maybe>>; - groupBy?: Maybe; - aggregate?: Maybe; +export type ProjectsListConnection = { + __typename?: 'ProjectsListConnection'; + values?: Maybe>>; + groupBy?: Maybe; + aggregate?: Maybe; }; -export type ProjectsConnectionCreated_At = { - __typename?: 'ProjectsConnectionCreated_at'; +export type ProjectsListConnectionCreated_At = { + __typename?: 'ProjectsListConnectionCreated_at'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsConnectionId = { - __typename?: 'ProjectsConnectionId'; +export type ProjectsListConnectionId = { + __typename?: 'ProjectsListConnectionId'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsConnectionLocale = { - __typename?: 'ProjectsConnectionLocale'; +export type ProjectsListConnectionLocale = { + __typename?: 'ProjectsListConnectionLocale'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsConnectionPublished_At = { - __typename?: 'ProjectsConnectionPublished_at'; +export type ProjectsListConnectionPublished_At = { + __typename?: 'ProjectsListConnectionPublished_at'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsConnectionUpdated_At = { - __typename?: 'ProjectsConnectionUpdated_at'; +export type ProjectsListConnectionUpdated_At = { + __typename?: 'ProjectsListConnectionUpdated_at'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; +}; + +export type ProjectsListGroupBy = { + __typename?: 'ProjectsListGroupBy'; + id?: Maybe>>; + created_at?: Maybe>>; + updated_at?: Maybe>>; + locale?: Maybe>>; + published_at?: Maybe>>; }; -export type ProjectsGroupBy = { - __typename?: 'ProjectsGroupBy'; - id?: Maybe>>; - created_at?: Maybe>>; - updated_at?: Maybe>>; - locale?: Maybe>>; - published_at?: Maybe>>; +export type ProjectsListInput = { + projects?: Maybe>>; + localizations?: Maybe>>; + locale?: Maybe; + published_at?: Maybe; + created_by?: Maybe; + updated_by?: Maybe; }; export enum PublicationState { @@ -573,9 +573,9 @@ export type Query = { page?: Maybe; pages?: Maybe>>; pagesConnection?: Maybe; - project?: Maybe; - projects?: Maybe>>; - projectsConnection?: Maybe; + projectsList?: Maybe; + projectsLists?: Maybe>>; + projectsListsConnection?: Maybe; files?: Maybe>>; filesConnection?: Maybe; role?: Maybe; @@ -614,13 +614,13 @@ export type QueryPagesConnectionArgs = { }; -export type QueryProjectArgs = { +export type QueryProjectsListArgs = { id: Scalars['ID']; publicationState?: Maybe; }; -export type QueryProjectsArgs = { +export type QueryProjectsListsArgs = { sort?: Maybe; limit?: Maybe; start?: Maybe; @@ -630,7 +630,7 @@ export type QueryProjectsArgs = { }; -export type QueryProjectsConnectionArgs = { +export type QueryProjectsListsConnectionArgs = { sort?: Maybe; limit?: Maybe; start?: Maybe; @@ -1150,13 +1150,13 @@ export type CreatePagePayload = { page?: Maybe; }; -export type CreateProjectInput = { - data?: Maybe; +export type CreateProjectsListInput = { + data?: Maybe; }; -export type CreateProjectPayload = { - __typename?: 'createProjectPayload'; - project?: Maybe; +export type CreateProjectsListPayload = { + __typename?: 'createProjectsListPayload'; + projectsList?: Maybe; }; export type CreateRoleInput = { @@ -1195,13 +1195,13 @@ export type DeletePagePayload = { page?: Maybe; }; -export type DeleteProjectInput = { +export type DeleteProjectsListInput = { where?: Maybe; }; -export type DeleteProjectPayload = { - __typename?: 'deleteProjectPayload'; - project?: Maybe; +export type DeleteProjectsListPayload = { + __typename?: 'deleteProjectsListPayload'; + projectsList?: Maybe; }; export type DeleteRoleInput = { @@ -1328,7 +1328,7 @@ export type EditPageInput = { updated_by?: Maybe; }; -export type EditProjectInput = { +export type EditProjectsListInput = { projects?: Maybe>>; localizations?: Maybe>>; locale?: Maybe; @@ -1371,14 +1371,14 @@ export type UpdatePagePayload = { page?: Maybe; }; -export type UpdateProjectInput = { +export type UpdateProjectsListInput = { where?: Maybe; - data?: Maybe; + data?: Maybe; }; -export type UpdateProjectPayload = { - __typename?: 'updateProjectPayload'; - project?: Maybe; +export type UpdateProjectsListPayload = { + __typename?: 'updateProjectsListPayload'; + projectsList?: Maybe; }; export type UpdateRoleInput = { @@ -1457,42 +1457,23 @@ export type CreatePageMutation = ( )> } ); -export type CreateProjectMutationVariables = Exact<{ - input?: Maybe; -}>; - - -export type CreateProjectMutation = ( - { __typename?: 'Mutation' } - & { createProject?: Maybe<( - { __typename?: 'createProjectPayload' } - & { project?: Maybe<( - { __typename?: 'Projects' } - & Pick - )> } - )> } -); - -export type GetProjectsQueryVariables = Exact<{ - where?: Maybe; - locale?: Maybe; -}>; +export type GetProjectsListQueryVariables = Exact<{ [key: string]: never; }>; -export type GetProjectsQuery = ( +export type GetProjectsListQuery = ( { __typename?: 'Query' } - & { projects?: Maybe + & { projectsList?: Maybe<( + { __typename?: 'ProjectsList' } + & Pick & { projects?: Maybe + & Pick & { image?: Maybe<( { __typename?: 'UploadFile' } & Pick )> } )>>> } - )>>> } + )> } ); export type UpdatePageMutationVariables = Exact<{ @@ -1511,18 +1492,18 @@ export type UpdatePageMutation = ( )> } ); -export type UpdateProjectMutationVariables = Exact<{ - input?: Maybe; +export type UpdateProjectsListMutationVariables = Exact<{ + input?: Maybe; }>; -export type UpdateProjectMutation = ( +export type UpdateProjectsListMutation = ( { __typename?: 'Mutation' } - & { updateProject?: Maybe<( - { __typename?: 'updateProjectPayload' } - & { project?: Maybe<( - { __typename?: 'Projects' } - & Pick + & { updateProjectsList?: Maybe<( + { __typename?: 'updateProjectsListPayload' } + & { projectsList?: Maybe<( + { __typename?: 'ProjectsList' } + & Pick )> } )> } ); @@ -1596,25 +1577,16 @@ export const CreatePage = ` } } `; -export const CreateProject = ` - mutation CreateProject($input: createProjectInput) { - createProject(input: $input) { - project { - id - } - } -} - `; -export const GetProjects = ` - query GetProjects($where: JSON, $locale: String) { - projects(where: $where, locale: $locale) { +export const GetProjectsList = ` + query getProjectsList { + projectsList(id: 1) { id locale projects { id path - projectType companyName + projectType description linkName linkPath @@ -1636,10 +1608,10 @@ export const UpdatePage = ` } } `; -export const UpdateProject = ` - mutation UpdateProject($input: updateProjectInput) { - updateProject(input: $input) { - project { +export const UpdateProjectsList = ` + mutation UpdateProjectsList($input: updateProjectsListInput) { + updateProjectsList(input: $input) { + projectsList { id } } diff --git a/frontend/graphql/getProjects.graphql b/frontend/graphql/getProject.graphql similarity index 69% rename from frontend/graphql/getProjects.graphql rename to frontend/graphql/getProject.graphql index 4017d110..ad775074 100644 --- a/frontend/graphql/getProjects.graphql +++ b/frontend/graphql/getProject.graphql @@ -1,13 +1,12 @@ -query GetProjects($where: JSON, $locale: String) { - projects(where: $where, locale: $locale) { +query getProjectsList { + projectsList(id: 1) { id locale - projects { id path - projectType companyName + projectType description linkName linkPath diff --git a/frontend/graphql/getProjectsList.graphql b/frontend/graphql/getProjectsList.graphql new file mode 100644 index 00000000..ad775074 --- /dev/null +++ b/frontend/graphql/getProjectsList.graphql @@ -0,0 +1,20 @@ +query getProjectsList { + projectsList(id: 1) { + id + locale + projects { + id + path + companyName + projectType + description + linkName + linkPath + image { + id + url + alternativeText + } + } + } +} diff --git a/frontend/graphql/updateProject.graphql b/frontend/graphql/updateProject.graphql deleted file mode 100644 index 3eaa2875..00000000 --- a/frontend/graphql/updateProject.graphql +++ /dev/null @@ -1,7 +0,0 @@ -mutation UpdateProject($input: updateProjectInput) { - updateProject(input: $input) { - project { - id - } - } -} diff --git a/frontend/graphql/updateProjectsList.graphql b/frontend/graphql/updateProjectsList.graphql new file mode 100644 index 00000000..d77b960b --- /dev/null +++ b/frontend/graphql/updateProjectsList.graphql @@ -0,0 +1,7 @@ +mutation UpdateProjectsList($input: updateProjectsListInput) { + updateProjectsList(input: $input) { + projectsList { + id + } + } +} diff --git a/frontend/package-lock.json b/frontend/package-lock.json index b427c0e9..9aa713e6 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1354,9 +1354,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -1447,9 +1447,9 @@ "dev": true }, "yargs": { - "version": "17.0.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.0.1.tgz", - "integrity": "sha512-xBBulfCc8Y6gLFcrPvtqKz9hz8SO0l1Ni8GgDekvBX2ro0HRQImDGnikfc33cgzcYUSncapnNcZDjVFIH3f6KQ==", + "version": "17.1.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.1.1.tgz", + "integrity": "sha512-c2k48R0PwKIqKhPMWjeiF6y2xY/gPMUlro0sgxqXpbOIohWiLNXWslsootttv7E1e73QPAMQSg5FeySbVcpsPQ==", "dev": true, "requires": { "cliui": "^7.0.2", @@ -1697,6 +1697,12 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", "dev": true + }, + "value-or-promise": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.6.tgz", + "integrity": "sha512-9r0wQsWD8z/BxPOvnwbPf05ZvFngXyouE9EKB+5GbYix+BYnAwrIChCUyFIinfbf2FL/U71z+CPpbnmTdxrwBg==", + "dev": true } } }, @@ -1734,11 +1740,28 @@ "value-or-promise": "1.0.6" }, "dependencies": { + "@graphql-tools/schema": { + "version": "7.1.5", + "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-7.1.5.tgz", + "integrity": "sha512-uyn3HSNSckf4mvQSq0Q07CPaVZMNFCYEVxroApOaw802m9DcZPgf9XVPy/gda5GWj9AhbijfRYVTZQgHnJ4CXA==", + "dev": true, + "requires": { + "@graphql-tools/utils": "^7.1.2", + "tslib": "~2.2.0", + "value-or-promise": "1.0.6" + } + }, "tslib": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", "dev": true + }, + "value-or-promise": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.6.tgz", + "integrity": "sha512-9r0wQsWD8z/BxPOvnwbPf05ZvFngXyouE9EKB+5GbYix+BYnAwrIChCUyFIinfbf2FL/U71z+CPpbnmTdxrwBg==", + "dev": true } } }, @@ -1941,21 +1964,24 @@ } }, "@graphql-tools/merge": { - "version": "6.2.14", - "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-6.2.14.tgz", - "integrity": "sha512-RWT4Td0ROJai2eR66NHejgf8UwnXJqZxXgDWDI+7hua5vNA2OW8Mf9K1Wav1ZkjWnuRp4ztNtkZGie5ISw55ow==", + "version": "6.2.17", + "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-6.2.17.tgz", + "integrity": "sha512-G5YrOew39fZf16VIrc49q3c8dBqQDD0ax5LYPiNja00xsXDi0T9zsEWVt06ApjtSdSF6HDddlu5S12QjeN8Tow==", "dev": true, "requires": { - "@graphql-tools/schema": "^7.0.0", - "@graphql-tools/utils": "^7.7.0", - "tslib": "~2.2.0" + "@graphql-tools/schema": "^8.0.2", + "@graphql-tools/utils": "8.0.2", + "tslib": "~2.3.0" }, "dependencies": { - "tslib": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", - "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", - "dev": true + "@graphql-tools/utils": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.0.2.tgz", + "integrity": "sha512-gzkavMOgbhnwkHJYg32Adv6f+LxjbQmmbdD5Hty0+CWxvaiuJq+nU6tzb/7VSU4cwhbNLx/lGu2jbCPEW1McZQ==", + "dev": true, + "requires": { + "tslib": "~2.3.0" + } } } }, @@ -2013,9 +2039,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -2078,21 +2104,35 @@ } }, "@graphql-tools/schema": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-7.1.5.tgz", - "integrity": "sha512-uyn3HSNSckf4mvQSq0Q07CPaVZMNFCYEVxroApOaw802m9DcZPgf9XVPy/gda5GWj9AhbijfRYVTZQgHnJ4CXA==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-8.1.1.tgz", + "integrity": "sha512-u+0kxPtuP+GcKnGNt459Ob7iIpzesIJeJTmPPailaG7ZhB5hkXIizl4uHrzEIAh2Ja1P/VA8sEBYpu1N0n6Mmg==", "dev": true, "requires": { - "@graphql-tools/utils": "^7.1.2", - "tslib": "~2.2.0", - "value-or-promise": "1.0.6" + "@graphql-tools/merge": "8.0.1", + "@graphql-tools/utils": "8.1.1", + "tslib": "~2.3.0", + "value-or-promise": "1.0.10" }, "dependencies": { - "tslib": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", - "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", - "dev": true + "@graphql-tools/merge": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.0.1.tgz", + "integrity": "sha512-YAozogbjC2Oun+UcwG0LZFumhlCiHBmqe68OIf7bqtBdp4pbPAiVuK/J9oJqRVJmzvUqugo6RD9zz1qDTKZaiQ==", + "dev": true, + "requires": { + "@graphql-tools/utils": "8.1.1", + "tslib": "~2.3.0" + } + }, + "@graphql-tools/utils": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.1.1.tgz", + "integrity": "sha512-QbFNoBmBiZ+ej4y6mOv8Ba4lNhcrTEKXAhZ0f74AhdEXi7b9xbGUH/slO5JaSyp85sGQYIPmxjRPpXBjLklbmw==", + "dev": true, + "requires": { + "tslib": "~2.3.0" + } } } }, @@ -2161,11 +2201,28 @@ "value-or-promise": "1.0.6" }, "dependencies": { + "@graphql-tools/schema": { + "version": "7.1.5", + "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-7.1.5.tgz", + "integrity": "sha512-uyn3HSNSckf4mvQSq0Q07CPaVZMNFCYEVxroApOaw802m9DcZPgf9XVPy/gda5GWj9AhbijfRYVTZQgHnJ4CXA==", + "dev": true, + "requires": { + "@graphql-tools/utils": "^7.1.2", + "tslib": "~2.2.0", + "value-or-promise": "1.0.6" + } + }, "tslib": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", "dev": true + }, + "value-or-promise": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.6.tgz", + "integrity": "sha512-9r0wQsWD8z/BxPOvnwbPf05ZvFngXyouE9EKB+5GbYix+BYnAwrIChCUyFIinfbf2FL/U71z+CPpbnmTdxrwBg==", + "dev": true } } }, @@ -2558,15 +2615,15 @@ "integrity": "sha512-+oY0FDTO2GYKEV0YPvSshGq9t7YozVkgvXLty7zogQNuCxBhT9/3INX9Q7H1aRZ4SUDRXAKlJuA4EA5nTt7SNw==" }, "@types/js-yaml": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.1.tgz", - "integrity": "sha512-xdOvNmXmrZqqPy3kuCQ+fz6wA0xU5pji9cd1nDrflWaAWtYLLGk5ykW0H6yg5TVyehHP1pfmuuSaZkhP+kspVA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.2.tgz", + "integrity": "sha512-KbeHS/Y4R+k+5sWXEYzAZKuB1yQlZtEghuhRxrVRLaqhtoG5+26JwQsa4HyS3AWX8v1Uwukma5HheduUDskasA==", "dev": true }, "@types/json-stable-stringify": { - "version": "1.0.32", - "resolved": "https://registry.npmjs.org/@types/json-stable-stringify/-/json-stable-stringify-1.0.32.tgz", - "integrity": "sha512-q9Q6+eUEGwQkv4Sbst3J4PNgDOvpuVuKj79Hl/qnmBMEIPzB5QoFRUtjcgcg2xNUZyYUGXBk5wYIBKHt0A+Mxw==", + "version": "1.0.33", + "resolved": "https://registry.npmjs.org/@types/json-stable-stringify/-/json-stable-stringify-1.0.33.tgz", + "integrity": "sha512-qEWiQff6q2tA5gcJGWwzplQcXdJtm+0oy6IHGHzlOf3eFAkGE/FIPXZK9ofWgNSHVp8AFFI33PJJshS0ei3Gvw==", "dev": true }, "@types/json5": { @@ -2576,9 +2633,9 @@ "dev": true }, "@types/jsonwebtoken": { - "version": "8.5.2", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.2.tgz", - "integrity": "sha512-X8BOCkp+WJVNYCYIBugREtVZa4Y09Or9HDx6xqRZem5F8jJV8FuJgNessXyMuv9+U8pjnvdezASwU28uw+1scw==", + "version": "8.5.4", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.4.tgz", + "integrity": "sha512-4L8msWK31oXwdtC81RmRBAULd0ShnAHjBuKT9MRQpjP0piNrZdXyTRcKY9/UIfhGeKIT4PvF5amOOUbbT/9Wpg==", "dev": true, "requires": { "@types/node": "*" @@ -3280,9 +3337,9 @@ "dev": true }, "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, "buffer-xor": { @@ -5541,16 +5598,16 @@ } }, "graphql-config": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/graphql-config/-/graphql-config-3.3.0.tgz", - "integrity": "sha512-mSQIsPMssr7QrgqhnjI+CyVH6oQgCrgS6irHsTvwf7RFDRnR2k9kqpQOQgVoOytBSn0DOYryS0w0SAg9xor/Jw==", + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/graphql-config/-/graphql-config-3.4.1.tgz", + "integrity": "sha512-g9WyK4JZl1Ko++FSyE5Ir2g66njfxGzrDDhBOwnkoWf/t3TnnZG6BBkWP+pkqVJ5pqMJGPKHNrbew8jRxStjhw==", "dev": true, "requires": { "@endemolshinegroup/cosmiconfig-typescript-loader": "3.0.2", "@graphql-tools/graphql-file-loader": "^6.0.0", "@graphql-tools/json-file-loader": "^6.0.0", "@graphql-tools/load": "^6.0.0", - "@graphql-tools/merge": "^6.0.0", + "@graphql-tools/merge": "6.0.0 - 6.2.14", "@graphql-tools/url-loader": "^6.0.0", "@graphql-tools/utils": "^7.0.0", "cosmiconfig": "7.0.0", @@ -5559,6 +5616,28 @@ "string-env-interpolation": "1.0.1" }, "dependencies": { + "@graphql-tools/merge": { + "version": "6.2.14", + "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-6.2.14.tgz", + "integrity": "sha512-RWT4Td0ROJai2eR66NHejgf8UwnXJqZxXgDWDI+7hua5vNA2OW8Mf9K1Wav1ZkjWnuRp4ztNtkZGie5ISw55ow==", + "dev": true, + "requires": { + "@graphql-tools/schema": "^7.0.0", + "@graphql-tools/utils": "^7.7.0", + "tslib": "~2.2.0" + } + }, + "@graphql-tools/schema": { + "version": "7.1.5", + "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-7.1.5.tgz", + "integrity": "sha512-uyn3HSNSckf4mvQSq0Q07CPaVZMNFCYEVxroApOaw802m9DcZPgf9XVPy/gda5GWj9AhbijfRYVTZQgHnJ4CXA==", + "dev": true, + "requires": { + "@graphql-tools/utils": "^7.1.2", + "tslib": "~2.2.0", + "value-or-promise": "1.0.6" + } + }, "cosmiconfig": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", @@ -5571,13 +5650,25 @@ "path-type": "^4.0.0", "yaml": "^1.10.0" } + }, + "tslib": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz", + "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w==", + "dev": true + }, + "value-or-promise": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.6.tgz", + "integrity": "sha512-9r0wQsWD8z/BxPOvnwbPf05ZvFngXyouE9EKB+5GbYix+BYnAwrIChCUyFIinfbf2FL/U71z+CPpbnmTdxrwBg==", + "dev": true } } }, "graphql-request": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-3.4.0.tgz", - "integrity": "sha512-acrTzidSlwAj8wBNO7Q/UQHS8T+z5qRGquCQRv9J1InwR01BBWV9ObnoE+JS5nCCEj8wSGS0yrDXVDoRiKZuOg==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-3.5.0.tgz", + "integrity": "sha512-Io89QpfU4rqiMbqM/KwMBzKaDLOppi8FU8sEccCE4JqCgz95W9Q8bvxQ4NfPALLSMvg9nafgg8AkYRmgKSlukA==", "dev": true, "requires": { "cross-fetch": "^3.0.6", @@ -5901,9 +5992,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -6795,9 +6886,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -7074,18 +7165,18 @@ } }, "mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", + "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", "dev": true }, "mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "version": "2.1.32", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", + "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", "dev": true, "requires": { - "mime-db": "1.48.0" + "mime-db": "1.49.0" } }, "mimic-fn": { @@ -9907,9 +9998,9 @@ } }, "value-or-promise": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.6.tgz", - "integrity": "sha512-9r0wQsWD8z/BxPOvnwbPf05ZvFngXyouE9EKB+5GbYix+BYnAwrIChCUyFIinfbf2FL/U71z+CPpbnmTdxrwBg==", + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.10.tgz", + "integrity": "sha512-1OwTzvcfXkAfabk60UVr5NdjtjJ0Fg0T5+B1bhxtrOEwSH2fe8y4DnLgoksfCyd8yZCOQQHB0qLMQnwgCjbXLQ==", "dev": true }, "vm-browserify": { diff --git a/frontend/package.json b/frontend/package.json index 9d23efb6..b4682b5b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -7,7 +7,8 @@ "build": "next build", "start": "next start", "lint": "next lint", - "codegen": "graphql-codegen --config codegen.yml" + "codegen": "graphql-codegen --config codegen.yml", + "npm run codegen": "graphql-codegen --config codegen.yml" }, "dependencies": { "@chakra-ui/icons": "1.0.13", @@ -16,7 +17,7 @@ "@emotion/styled": "11.3.0", "@graphql-codegen/typescript-document-nodes": "1.17.13", "framer-motion": "4.1.17", - "graphql": "15.5.1", + "graphql": "^15.5.1", "graphql-codegen": "0.4.0", "next": "11.0.0", "react": "17.0.2", @@ -27,14 +28,14 @@ "tinacms": "0.41.1" }, "devDependencies": { - "@graphql-codegen/cli": "1.21.5", - "@graphql-codegen/introspection": "1.18.2", - "@graphql-codegen/typescript": "1.22.3", - "@graphql-codegen/typescript-operations": "1.18.2", - "@graphql-codegen/typescript-react-apollo": "2.2.7", + "@graphql-codegen/cli": "2.0.1", + "@graphql-codegen/introspection": "2.0.0", + "@graphql-codegen/typescript": "2.0.0", + "@graphql-codegen/typescript-operations": "2.0.1", + "@graphql-codegen/typescript-react-apollo": "3.0.0", "@types/styled-components": "5.1.10", "eslint": "7.29.0", "eslint-config-next": "11.0.0", "typescript": "4.3.4" } -} +} \ No newline at end of file diff --git a/frontend/pages/projects/[handle].tsx b/frontend/pages/projects/[handle].tsx index cc37ff09..b4298cc3 100644 --- a/frontend/pages/projects/[handle].tsx +++ b/frontend/pages/projects/[handle].tsx @@ -1,15 +1,16 @@ import { Box, Flex, Img } from "@chakra-ui/react"; import Link from "next/link"; import { BlockTemplateData } from "@features/pageBlocks"; -import { - GetProjects, - GetProjectsQuery, - GetProjectsQueryVariables, -} from "@graphql/generated"; + import { fetchGraphQL } from "@graphql/utils"; import { filterListNullableItems } from "@utils"; import { GetStaticPaths, GetStaticProps } from "next"; import React from "react"; +import { + GetProjectsListQuery, + GetProjectsListQueryVariables, + GetProjectsList, +} from "@graphql/generated"; interface DynamicPageProps { path: string[]; @@ -28,6 +29,7 @@ export type ProjectData = BlockTemplateData< linkName: Nullable; linkPath: Nullable; image: Nullable; + path: Nullable; } >; @@ -44,7 +46,8 @@ export default function DynamicPage({ project }: DynamicPageProps) { flexDir={{ base: "column-reverse", lg: "row", - }}> + }} + > + boxSizing="border-box" + > + as="h3" + > {project.companyName} + color="rgb(5,195,182)" + > {project.projectType} + lineHeight="1.8em" + > {project.description} @@ -110,7 +117,8 @@ export default function DynamicPage({ project }: DynamicPageProps) { _after: { paddingLeft: "20px", }, - }}> + }} + > {project.linkName} @@ -121,7 +129,8 @@ export default function DynamicPage({ project }: DynamicPageProps) { base: "full", lg: "60%", }} - h="350px"> + h="350px" + > {project.image ? ( { } const allProjectsRequests = context.locales.map(async (locale) => { const localeProjects = await fetchGraphQL< - GetProjectsQuery, - GetProjectsQueryVariables - >(GetProjects, { - locale, - }); + GetProjectsListQuery, + GetProjectsListQueryVariables + >(GetProjectsList); - if (localeProjects.projects) { - return filterListNullableItems(localeProjects.projects); - } - return []; + }); const allProjects = await Promise.all(allProjectsRequests); @@ -265,7 +269,7 @@ export const getStaticProps: GetStaticProps< }, }; }; - +/* function getProjectData( projects: GetProjectsQuery["projects"], locale: string @@ -292,7 +296,7 @@ function getProjectData( return undefined; } -/* + case "ComponentSectionProjectsSection": { return { _template: "projectListSection", diff --git a/frontend/pages/projects/index.tsx b/frontend/pages/projects/index.tsx index 20b12dbb..4d70cacc 100644 --- a/frontend/pages/projects/index.tsx +++ b/frontend/pages/projects/index.tsx @@ -1,19 +1,18 @@ -import { Box } from "@chakra-ui/react"; import { PROJECT_BLOCK } from "@features/sectionBlocks"; import { - CreateProject, - CreateProjectInput, - GetProjects, - GetProjectsQuery, - GetProjectsQueryVariables, - UpdateProject, - UpdateProjectInput, + GetProjectsList, + GetProjectsListQuery, + GetProjectsListQueryVariables, + UpdateProjectsList, + UpdateProjectsListInput, } from "@graphql/generated"; import { fetchGraphQL } from "@graphql/utils"; +import { DefaultLayout } from "@layouts/defaultLayout"; +import { filterListNullableItems } from "@utils"; import { GetStaticProps } from "next"; import React from "react"; import { InlineBlocks, InlineForm } from "react-tinacms-inline"; -import { ContentCreatorPlugin, useForm, usePlugin } from "tinacms"; +import { useForm, usePlugin } from "tinacms"; import { Form, FormOptions, useCMS } from "tinacms"; import { ProjectData, wrap } from "./[handle]"; @@ -28,27 +27,25 @@ export interface ProjectDataCreateInput { } type ProjectsListData = { - id?: string; - projects: ProjectData[]; + id: string; + projects?: ProjectData[]; }; interface DynamicPageProps { locale: string; preview: boolean; - projects: ProjectData[]; + projects: ProjectsListData; } -export default async function Index({ projects }: DynamicPageProps) { +export default function Index({ projects }: DynamicPageProps) { const [_, form] = useProjectPlugin(projects); - console.log("projects", JSON.stringify(projects, null, " ")); - return ( - + - + ); } @@ -63,24 +60,18 @@ export const getStaticProps: GetStaticProps< } const preview = context.preview === true; - const localeProjects = await fetchGraphQL< - GetProjectsQuery, - GetProjectsQueryVariables - >(GetProjects, { - locale, - }); + const localeProjectsList = await fetchGraphQL< + GetProjectsListQuery, + GetProjectsListQueryVariables + >(GetProjectsList); - console.log("localeProjects", JSON.stringify(localeProjects, null, " ")); - - if (localeProjects.projects == null) { + if (localeProjectsList.projectsList == null) { return { notFound: true, }; } - const projectData = getProjectsListData(localeProjects.projects, locale); - - console.log("projectData", JSON.stringify(projectData, null, " ")); + const projectData = getProjectsListData(localeProjectsList.projectsList); if (projectData == null) { return { @@ -109,65 +100,47 @@ export const getStaticProps: GetStaticProps< }; function getProjectsListData( - projects: GetProjectsQuery["projects"], - locale: string -): ProjectData[] | undefined { - const projectsList = projects?.find((list) => list?.locale === locale); - if (projectsList) { - return { - id: projectsList?.id, - companyName: projectsList.companyName || null, - projectType: projectsList.projectType || null, - description: projectsList.description || null, - linkName: projectsList.linkName || null, - linkPath: projectsList.linkPath || null, - image: projectsList.image - ? { - id: projectsList.image.id, - url: projectsList.image.url, - alternativeText: projectsList.image.alternativeText || null, - } - : null, - }; - } -} - -function getProjectData( - projects: GetProjectsQuery["projects"], - locale: string -): ProjectData | undefined { - const project = projects?.find((page) => page?.locale === locale); - if (project != null) { - return { - _template: "project", - id: project.id, - companyName: project.companyName || null, - projectType: project.projectType || null, - description: project.description || null, - linkName: project.linkName || null, - linkPath: project.linkPath || null, - image: project.image - ? { - id: project.image.id, - url: project.image.url, - alternativeText: project.image.alternativeText || null, - } - : null, - }; + projectsList: GetProjectsListQuery["projectsList"] +): ProjectsListData | undefined { + if (projectsList == null) { + return undefined; } - return undefined; + return { + id: projectsList.id, + projects: projectsList.projects + ? filterListNullableItems(projectsList.projects).map((project) => { + return { + _template: "project", + id: project.id, + companyName: project.companyName || null, + projectType: project.projectType || null, + linkName: project.linkName || null, + linkPath: project.linkPath || null, + description: project.description || null, + image: project.image + ? { + id: project.image.id, + url: project.image.url, + alternativeText: project.image.alternativeText || null, + } + : null, + path: project.path || null, + }; + }) + : [], + }; } -function useProjectPlugin(data: ProjectData): [ProjectData, Form] { +function useProjectPlugin(data: ProjectsListData): [ProjectsListData, Form] { const cms = useCMS(); - const formConfig: FormOptions = { + const formConfig: FormOptions = { id: data, label: "Page", initialValues: data, onSubmit: async (values) => { const input = getProjectInput(values); try { - const response = await cms.api.strapi.fetchGraphql(UpdateProject, { + const response = await cms.api.strapi.fetchGraphql(UpdateProjectsList, { input, }); if (response.data) { @@ -188,102 +161,22 @@ function useProjectPlugin(data: ProjectData): [ProjectData, Form] { return [projects, form]; } -function getProjectInput(data: ProjectData): UpdateProjectInput { +function getProjectInput(data: ProjectsListData): UpdateProjectsListInput { return { where: { id: data.id }, data: { - companyName: data.companyName, - description: data.description, - linkName: data.linkName, - linkPath: data.linkPath, - projectType: data.projectType, - image: data.image - ? { - id: data.image?.id, - url: data.image.url, - alternativeText: data.image.alternativeText, - } - : null, - }, - }; -} - -interface ProjectCreatorPluginOptions { - locales: string[]; -} - -function getProjectCreatorPlugin( - options: ProjectCreatorPluginOptions -): ContentCreatorPlugin { - return { - __type: "content-creator", - name: "Add new project", - fields: [ - { - label: "Company name", - name: "companyName", - component: "text", - validate(title: string) { - if (!title) return "Required."; - }, - }, - { - label: "Path", - name: "path", - component: "text", - description: "The path to the page ( e.g. /about )", - validate(path: string) { - if (!path) { - return "Required."; - } - if (!path.startsWith("/")) { - return "Path should start with /"; - } - }, - }, - { - label: "Locale", - name: "locale", - component: "select", - description: "Select a locale for this page", - defaultValue: "en", - // @ts-ignore - options: options.locales, - }, - ], - onSubmit: async (values, cms) => { - const input = getPageCreateInput(values); - try { - const response = await cms.api.strapi.fetchGraphql(CreateProject, { - input, - }); - if (response.data) { - // @ts-ignore - cms.alerts.success("Changes saved!"); - window.location.href = `/${values.locale}${values.path}`; - } else { - // @ts-ignore - cms.alerts.error("Error while saving changes"); - } - } catch (error) { - console.log(error); - // @ts-ignore - cms.alerts.error("Error while saving changes"); - } - }, - }; -} - -function getPageCreateInput(input: ProjectDataCreateInput): CreateProjectInput { - return { - data: { - companyName: input.companyName, - description: input.description, - projectType: input.projectType, - linkName: input.linkName, - linkPath: input.linkPath, - path: input.path, - locale: input.locale, + projects: data.projects?.map((project) => { + return { + id: project.id, + companyName: project.companyName, + description: project.description, + linkName: project.linkName, + linkPath: project.linkPath, + path: project.path, + projectType: project.projectType, + image: project.image ? project.image.id : null, + }; + }), }, }; } From c67c63372e56cc7dbb73391e578c1ba0f4d7e60d Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Fri, 20 Aug 2021 16:17:36 +0200 Subject: [PATCH 07/21] Modify projects structure --- .../config/routes.json | 24 +++++++++---------- .../controllers/projects-collection.js} | 0 .../models/projects-collection.js} | 0 .../models/projects-collection.settings.json} | 8 +++---- .../services/projects-collection.js | 8 +++++++ 5 files changed, 24 insertions(+), 16 deletions(-) rename backend/api/{projects-list => projects-collection}/config/routes.json (50%) rename backend/api/{projects-list/controllers/projects-list.js => projects-collection/controllers/projects-collection.js} (100%) rename backend/api/{projects-list/models/projects-list.js => projects-collection/models/projects-collection.js} (100%) rename backend/api/{projects-list/models/projects-list.settings.json => projects-collection/models/projects-collection.settings.json} (73%) create mode 100644 backend/api/projects-collection/services/projects-collection.js diff --git a/backend/api/projects-list/config/routes.json b/backend/api/projects-collection/config/routes.json similarity index 50% rename from backend/api/projects-list/config/routes.json rename to backend/api/projects-collection/config/routes.json index 30c32470..57e86b6a 100644 --- a/backend/api/projects-list/config/routes.json +++ b/backend/api/projects-collection/config/routes.json @@ -2,48 +2,48 @@ "routes": [ { "method": "GET", - "path": "/projects-lists", - "handler": "projects-list.find", + "path": "/projects-collections", + "handler": "projects-collection.find", "config": { "policies": [] } }, { "method": "GET", - "path": "/projects-lists/count", - "handler": "projects-list.count", + "path": "/projects-collections/count", + "handler": "projects-collection.count", "config": { "policies": [] } }, { "method": "GET", - "path": "/projects-lists/:id", - "handler": "projects-list.findOne", + "path": "/projects-collections/:id", + "handler": "projects-collection.findOne", "config": { "policies": [] } }, { "method": "POST", - "path": "/projects-lists", - "handler": "projects-list.create", + "path": "/projects-collections", + "handler": "projects-collection.create", "config": { "policies": [] } }, { "method": "PUT", - "path": "/projects-lists/:id", - "handler": "projects-list.update", + "path": "/projects-collections/:id", + "handler": "projects-collection.update", "config": { "policies": [] } }, { "method": "DELETE", - "path": "/projects-lists/:id", - "handler": "projects-list.delete", + "path": "/projects-collections/:id", + "handler": "projects-collection.delete", "config": { "policies": [] } diff --git a/backend/api/projects-list/controllers/projects-list.js b/backend/api/projects-collection/controllers/projects-collection.js similarity index 100% rename from backend/api/projects-list/controllers/projects-list.js rename to backend/api/projects-collection/controllers/projects-collection.js diff --git a/backend/api/projects-list/models/projects-list.js b/backend/api/projects-collection/models/projects-collection.js similarity index 100% rename from backend/api/projects-list/models/projects-list.js rename to backend/api/projects-collection/models/projects-collection.js diff --git a/backend/api/projects-list/models/projects-list.settings.json b/backend/api/projects-collection/models/projects-collection.settings.json similarity index 73% rename from backend/api/projects-list/models/projects-list.settings.json rename to backend/api/projects-collection/models/projects-collection.settings.json index fd58eb23..5dcad961 100644 --- a/backend/api/projects-list/models/projects-list.settings.json +++ b/backend/api/projects-collection/models/projects-collection.settings.json @@ -1,8 +1,8 @@ { "kind": "collectionType", - "collectionName": "projects_lists", + "collectionName": "projects_collections", "info": { - "name": "ProjectsList", + "name": "ProjectsCollection", "description": "" }, "options": { @@ -16,10 +16,10 @@ } }, "attributes": { - "projects": { + "projectsList": { "type": "component", "repeatable": true, - "component": "blocks.project", + "component": "section.projects-section", "pluginOptions": { "i18n": { "localized": true diff --git a/backend/api/projects-collection/services/projects-collection.js b/backend/api/projects-collection/services/projects-collection.js new file mode 100644 index 00000000..6538a8c8 --- /dev/null +++ b/backend/api/projects-collection/services/projects-collection.js @@ -0,0 +1,8 @@ +'use strict'; + +/** + * Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-services) + * to customize this service + */ + +module.exports = {}; From 7b4cfe0b62893367ebaf64761088acd43cd78d0e Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Fri, 20 Aug 2021 16:18:15 +0200 Subject: [PATCH 08/21] Create queries and mutation --- frontend/graphql.schema.json | 150 ++++++------ frontend/graphql/generated.ts | 219 +++++++++--------- frontend/graphql/getProject.graphql | 20 -- frontend/graphql/getProjects.graphql | 25 ++ .../graphql/getProjectsCollection.graphql | 25 ++ frontend/graphql/getProjectsList.graphql | 20 -- frontend/graphql/updateProjectsList.graphql | 6 +- 7 files changed, 242 insertions(+), 223 deletions(-) delete mode 100644 frontend/graphql/getProject.graphql create mode 100644 frontend/graphql/getProjects.graphql create mode 100644 frontend/graphql/getProjectsCollection.graphql delete mode 100644 frontend/graphql/getProjectsList.graphql diff --git a/frontend/graphql.schema.json b/frontend/graphql.schema.json index e92686fc..7f8a2756 100644 --- a/frontend/graphql.schema.json +++ b/frontend/graphql.schema.json @@ -3133,62 +3133,62 @@ }, { "kind": "OBJECT", - "name": "ProjectsList", + "name": "ProjectsCollection", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsListConnection", + "name": "ProjectsCollectionConnection", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsListAggregator", + "name": "ProjectsCollectionAggregator", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsListGroupBy", + "name": "ProjectsCollectionGroupBy", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsListConnectionId", + "name": "ProjectsCollectionConnectionId", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsListConnectionCreated_at", + "name": "ProjectsCollectionConnectionCreated_at", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsListConnectionUpdated_at", + "name": "ProjectsCollectionConnectionUpdated_at", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsListConnectionLocale", + "name": "ProjectsCollectionConnectionLocale", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsListConnectionPublished_at", + "name": "ProjectsCollectionConnectionPublished_at", "ofType": null }, { "kind": "OBJECT", - "name": "createProjectsListPayload", + "name": "createProjectsCollectionPayload", "ofType": null }, { "kind": "OBJECT", - "name": "updateProjectsListPayload", + "name": "updateProjectsCollectionPayload", "ofType": null }, { "kind": "OBJECT", - "name": "deleteProjectsListPayload", + "name": "deleteProjectsCollectionPayload", "ofType": null }, { @@ -3746,7 +3746,7 @@ "deprecationReason": null }, { - "name": "createProjectsList", + "name": "createProjectsCollection", "description": null, "args": [ { @@ -3754,7 +3754,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "createProjectsListInput", + "name": "createProjectsCollectionInput", "ofType": null }, "defaultValue": null, @@ -3764,14 +3764,14 @@ ], "type": { "kind": "OBJECT", - "name": "createProjectsListPayload", + "name": "createProjectsCollectionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updateProjectsList", + "name": "updateProjectsCollection", "description": null, "args": [ { @@ -3779,7 +3779,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "updateProjectsListInput", + "name": "updateProjectsCollectionInput", "ofType": null }, "defaultValue": null, @@ -3789,14 +3789,14 @@ ], "type": { "kind": "OBJECT", - "name": "updateProjectsListPayload", + "name": "updateProjectsCollectionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "deleteProjectsList", + "name": "deleteProjectsCollection", "description": null, "args": [ { @@ -3804,7 +3804,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "deleteProjectsListInput", + "name": "deleteProjectsCollectionInput", "ofType": null }, "defaultValue": null, @@ -3814,7 +3814,7 @@ ], "type": { "kind": "OBJECT", - "name": "deleteProjectsListPayload", + "name": "deleteProjectsCollectionPayload", "ofType": null }, "isDeprecated": false, @@ -4062,7 +4062,7 @@ "deprecationReason": null }, { - "name": "createProjectsListLocalization", + "name": "createProjectsCollectionLocalization", "description": null, "args": [ { @@ -4073,7 +4073,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "updateProjectsListInput", + "name": "updateProjectsCollectionInput", "ofType": null } }, @@ -4087,7 +4087,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsList", + "name": "ProjectsCollection", "ofType": null } }, @@ -5332,7 +5332,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsList", + "name": "ProjectsCollection", "description": null, "fields": [ { @@ -5384,7 +5384,7 @@ "deprecationReason": null }, { - "name": "projects", + "name": "projectsList", "description": null, "args": [], "type": { @@ -5392,7 +5392,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ComponentBlocksProject", + "name": "ComponentSectionProjectsSection", "ofType": null } }, @@ -5481,7 +5481,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsList", + "name": "ProjectsCollection", "ofType": null } }, @@ -5496,7 +5496,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsListAggregator", + "name": "ProjectsCollectionAggregator", "description": null, "fields": [ { @@ -5531,7 +5531,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsListConnection", + "name": "ProjectsCollectionConnection", "description": null, "fields": [ { @@ -5543,7 +5543,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsList", + "name": "ProjectsCollection", "ofType": null } }, @@ -5556,7 +5556,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsListGroupBy", + "name": "ProjectsCollectionGroupBy", "ofType": null }, "isDeprecated": false, @@ -5568,7 +5568,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsListAggregator", + "name": "ProjectsCollectionAggregator", "ofType": null }, "isDeprecated": false, @@ -5582,7 +5582,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsListConnectionCreated_at", + "name": "ProjectsCollectionConnectionCreated_at", "description": null, "fields": [ { @@ -5603,7 +5603,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsListConnection", + "name": "ProjectsCollectionConnection", "ofType": null }, "isDeprecated": false, @@ -5617,7 +5617,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsListConnectionId", + "name": "ProjectsCollectionConnectionId", "description": null, "fields": [ { @@ -5638,7 +5638,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsListConnection", + "name": "ProjectsCollectionConnection", "ofType": null }, "isDeprecated": false, @@ -5652,7 +5652,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsListConnectionLocale", + "name": "ProjectsCollectionConnectionLocale", "description": null, "fields": [ { @@ -5673,7 +5673,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsListConnection", + "name": "ProjectsCollectionConnection", "ofType": null }, "isDeprecated": false, @@ -5687,7 +5687,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsListConnectionPublished_at", + "name": "ProjectsCollectionConnectionPublished_at", "description": null, "fields": [ { @@ -5708,7 +5708,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsListConnection", + "name": "ProjectsCollectionConnection", "ofType": null }, "isDeprecated": false, @@ -5722,7 +5722,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsListConnectionUpdated_at", + "name": "ProjectsCollectionConnectionUpdated_at", "description": null, "fields": [ { @@ -5743,7 +5743,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsListConnection", + "name": "ProjectsCollectionConnection", "ofType": null }, "isDeprecated": false, @@ -5757,7 +5757,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsListGroupBy", + "name": "ProjectsCollectionGroupBy", "description": null, "fields": [ { @@ -5769,7 +5769,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsListConnectionId", + "name": "ProjectsCollectionConnectionId", "ofType": null } }, @@ -5785,7 +5785,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsListConnectionCreated_at", + "name": "ProjectsCollectionConnectionCreated_at", "ofType": null } }, @@ -5801,7 +5801,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsListConnectionUpdated_at", + "name": "ProjectsCollectionConnectionUpdated_at", "ofType": null } }, @@ -5817,7 +5817,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsListConnectionLocale", + "name": "ProjectsCollectionConnectionLocale", "ofType": null } }, @@ -5833,7 +5833,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsListConnectionPublished_at", + "name": "ProjectsCollectionConnectionPublished_at", "ofType": null } }, @@ -5848,19 +5848,19 @@ }, { "kind": "INPUT_OBJECT", - "name": "ProjectsListInput", + "name": "ProjectsCollectionInput", "description": null, "fields": null, "inputFields": [ { - "name": "projects", + "name": "projectsList", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "ComponentBlocksProjectInput", + "name": "ComponentSectionProjectsSectionInput", "ofType": null } }, @@ -6385,7 +6385,7 @@ "deprecationReason": null }, { - "name": "projectsList", + "name": "projectsCollection", "description": null, "args": [ { @@ -6419,14 +6419,14 @@ ], "type": { "kind": "OBJECT", - "name": "ProjectsList", + "name": "ProjectsCollection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "projectsLists", + "name": "projectsCollections", "description": null, "args": [ { @@ -6507,7 +6507,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsList", + "name": "ProjectsCollection", "ofType": null } }, @@ -6515,7 +6515,7 @@ "deprecationReason": null }, { - "name": "projectsListsConnection", + "name": "projectsCollectionsConnection", "description": null, "args": [ { @@ -6581,7 +6581,7 @@ ], "type": { "kind": "OBJECT", - "name": "ProjectsListConnection", + "name": "ProjectsCollectionConnection", "ofType": null }, "isDeprecated": false, @@ -10639,7 +10639,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "createProjectsListInput", + "name": "createProjectsCollectionInput", "description": null, "fields": null, "inputFields": [ @@ -10648,7 +10648,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "ProjectsListInput", + "name": "ProjectsCollectionInput", "ofType": null }, "defaultValue": null, @@ -10662,16 +10662,16 @@ }, { "kind": "OBJECT", - "name": "createProjectsListPayload", + "name": "createProjectsCollectionPayload", "description": null, "fields": [ { - "name": "projectsList", + "name": "projectsCollection", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsList", + "name": "ProjectsCollection", "ofType": null }, "isDeprecated": false, @@ -10938,7 +10938,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "deleteProjectsListInput", + "name": "deleteProjectsCollectionInput", "description": null, "fields": null, "inputFields": [ @@ -10961,16 +10961,16 @@ }, { "kind": "OBJECT", - "name": "deleteProjectsListPayload", + "name": "deleteProjectsCollectionPayload", "description": null, "fields": [ { - "name": "projectsList", + "name": "projectsCollection", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsList", + "name": "ProjectsCollection", "ofType": null }, "isDeprecated": false, @@ -12415,19 +12415,19 @@ }, { "kind": "INPUT_OBJECT", - "name": "editProjectsListInput", + "name": "editProjectsCollectionInput", "description": null, "fields": null, "inputFields": [ { - "name": "projects", + "name": "projectsList", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "editComponentBlocksProjectInput", + "name": "editComponentSectionProjectsSectionInput", "ofType": null } }, @@ -12914,7 +12914,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "updateProjectsListInput", + "name": "updateProjectsCollectionInput", "description": null, "fields": null, "inputFields": [ @@ -12935,7 +12935,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "editProjectsListInput", + "name": "editProjectsCollectionInput", "ofType": null }, "defaultValue": null, @@ -12949,16 +12949,16 @@ }, { "kind": "OBJECT", - "name": "updateProjectsListPayload", + "name": "updateProjectsCollectionPayload", "description": null, "fields": [ { - "name": "projectsList", + "name": "projectsCollection", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsList", + "name": "ProjectsCollection", "ofType": null }, "isDeprecated": false, diff --git a/frontend/graphql/generated.ts b/frontend/graphql/generated.ts index 9f611b66..fac3541e 100644 --- a/frontend/graphql/generated.ts +++ b/frontend/graphql/generated.ts @@ -360,7 +360,7 @@ export type MenuInput = { updated_by?: Maybe; }; -export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Global | UpdateGlobalPayload | DeleteGlobalPayload | Menu | MenuConnection | MenuAggregator | MenuGroupBy | MenuConnectionId | MenuConnectionCreated_At | MenuConnectionUpdated_At | MenuConnectionTitle | MenuConnectionPublished_At | CreateMenuPayload | UpdateMenuPayload | DeleteMenuPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionTitle | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | ProjectsList | ProjectsListConnection | ProjectsListAggregator | ProjectsListGroupBy | ProjectsListConnectionId | ProjectsListConnectionCreated_At | ProjectsListConnectionUpdated_At | ProjectsListConnectionLocale | ProjectsListConnectionPublished_At | CreateProjectsListPayload | UpdateProjectsListPayload | DeleteProjectsListPayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksNavigationBlock | ComponentBlocksProject | ComponentBlocksSingleFeature | ComponentGlobalTopbar | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionFooterSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSimpleSection | ComponentSectionSingleFeatureSection; +export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Global | UpdateGlobalPayload | DeleteGlobalPayload | Menu | MenuConnection | MenuAggregator | MenuGroupBy | MenuConnectionId | MenuConnectionCreated_At | MenuConnectionUpdated_At | MenuConnectionTitle | MenuConnectionPublished_At | CreateMenuPayload | UpdateMenuPayload | DeleteMenuPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionTitle | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | ProjectsCollection | ProjectsCollectionConnection | ProjectsCollectionAggregator | ProjectsCollectionGroupBy | ProjectsCollectionConnectionId | ProjectsCollectionConnectionCreated_At | ProjectsCollectionConnectionUpdated_At | ProjectsCollectionConnectionLocale | ProjectsCollectionConnectionPublished_At | CreateProjectsCollectionPayload | UpdateProjectsCollectionPayload | DeleteProjectsCollectionPayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksNavigationBlock | ComponentBlocksProject | ComponentBlocksSingleFeature | ComponentGlobalTopbar | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionFooterSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSimpleSection | ComponentSectionSingleFeatureSection; export type Mutation = { __typename?: 'Mutation'; @@ -372,9 +372,9 @@ export type Mutation = { createPage?: Maybe; updatePage?: Maybe; deletePage?: Maybe; - createProjectsList?: Maybe; - updateProjectsList?: Maybe; - deleteProjectsList?: Maybe; + createProjectsCollection?: Maybe; + updateProjectsCollection?: Maybe; + deleteProjectsCollection?: Maybe; /** Delete one file */ deleteFile?: Maybe; /** Create a new role */ @@ -391,7 +391,7 @@ export type Mutation = { deleteUser?: Maybe; createGlobalLocalization: Global; createPageLocalization: Pages; - createProjectsListLocalization: ProjectsList; + createProjectsCollectionLocalization: ProjectsCollection; upload: UploadFile; multipleUpload: Array>; updateFileInfo: UploadFile; @@ -444,18 +444,18 @@ export type MutationDeletePageArgs = { }; -export type MutationCreateProjectsListArgs = { - input?: Maybe; +export type MutationCreateProjectsCollectionArgs = { + input?: Maybe; }; -export type MutationUpdateProjectsListArgs = { - input?: Maybe; +export type MutationUpdateProjectsCollectionArgs = { + input?: Maybe; }; -export type MutationDeleteProjectsListArgs = { - input?: Maybe; +export type MutationDeleteProjectsCollectionArgs = { + input?: Maybe; }; @@ -504,8 +504,8 @@ export type MutationCreatePageLocalizationArgs = { }; -export type MutationCreateProjectsListLocalizationArgs = { - input: UpdateProjectsListInput; +export type MutationCreateProjectsCollectionLocalizationArgs = { + input: UpdateProjectsCollectionInput; }; @@ -661,79 +661,79 @@ export type PagesGroupBy = { export type PagesSectionsDynamicZone = ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionSingleFeatureSection | ComponentSectionSimpleSection; -export type ProjectsList = { - __typename?: 'ProjectsList'; +export type ProjectsCollection = { + __typename?: 'ProjectsCollection'; id: Scalars['ID']; created_at: Scalars['DateTime']; updated_at: Scalars['DateTime']; - projects?: Maybe>>; + projectsList?: Maybe>>; locale?: Maybe; published_at?: Maybe; - localizations?: Maybe>>; + localizations?: Maybe>>; }; -export type ProjectsListLocalizationsArgs = { +export type ProjectsCollectionLocalizationsArgs = { sort?: Maybe; limit?: Maybe; start?: Maybe; where?: Maybe; }; -export type ProjectsListAggregator = { - __typename?: 'ProjectsListAggregator'; +export type ProjectsCollectionAggregator = { + __typename?: 'ProjectsCollectionAggregator'; count?: Maybe; totalCount?: Maybe; }; -export type ProjectsListConnection = { - __typename?: 'ProjectsListConnection'; - values?: Maybe>>; - groupBy?: Maybe; - aggregate?: Maybe; +export type ProjectsCollectionConnection = { + __typename?: 'ProjectsCollectionConnection'; + values?: Maybe>>; + groupBy?: Maybe; + aggregate?: Maybe; }; -export type ProjectsListConnectionCreated_At = { - __typename?: 'ProjectsListConnectionCreated_at'; +export type ProjectsCollectionConnectionCreated_At = { + __typename?: 'ProjectsCollectionConnectionCreated_at'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsListConnectionId = { - __typename?: 'ProjectsListConnectionId'; +export type ProjectsCollectionConnectionId = { + __typename?: 'ProjectsCollectionConnectionId'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsListConnectionLocale = { - __typename?: 'ProjectsListConnectionLocale'; +export type ProjectsCollectionConnectionLocale = { + __typename?: 'ProjectsCollectionConnectionLocale'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsListConnectionPublished_At = { - __typename?: 'ProjectsListConnectionPublished_at'; +export type ProjectsCollectionConnectionPublished_At = { + __typename?: 'ProjectsCollectionConnectionPublished_at'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsListConnectionUpdated_At = { - __typename?: 'ProjectsListConnectionUpdated_at'; +export type ProjectsCollectionConnectionUpdated_At = { + __typename?: 'ProjectsCollectionConnectionUpdated_at'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsListGroupBy = { - __typename?: 'ProjectsListGroupBy'; - id?: Maybe>>; - created_at?: Maybe>>; - updated_at?: Maybe>>; - locale?: Maybe>>; - published_at?: Maybe>>; +export type ProjectsCollectionGroupBy = { + __typename?: 'ProjectsCollectionGroupBy'; + id?: Maybe>>; + created_at?: Maybe>>; + updated_at?: Maybe>>; + locale?: Maybe>>; + published_at?: Maybe>>; }; -export type ProjectsListInput = { - projects?: Maybe>>; +export type ProjectsCollectionInput = { + projectsList?: Maybe>>; localizations?: Maybe>>; locale?: Maybe; published_at?: Maybe; @@ -755,9 +755,9 @@ export type Query = { page?: Maybe; pages?: Maybe>>; pagesConnection?: Maybe; - projectsList?: Maybe; - projectsLists?: Maybe>>; - projectsListsConnection?: Maybe; + projectsCollection?: Maybe; + projectsCollections?: Maybe>>; + projectsCollectionsConnection?: Maybe; files?: Maybe>>; filesConnection?: Maybe; role?: Maybe; @@ -825,13 +825,13 @@ export type QueryPagesConnectionArgs = { }; -export type QueryProjectsListArgs = { +export type QueryProjectsCollectionArgs = { id: Scalars['ID']; publicationState?: Maybe; }; -export type QueryProjectsListsArgs = { +export type QueryProjectsCollectionsArgs = { sort?: Maybe; limit?: Maybe; start?: Maybe; @@ -841,7 +841,7 @@ export type QueryProjectsListsArgs = { }; -export type QueryProjectsListsConnectionArgs = { +export type QueryProjectsCollectionsConnectionArgs = { sort?: Maybe; limit?: Maybe; start?: Maybe; @@ -1370,13 +1370,13 @@ export type CreatePagePayload = { page?: Maybe; }; -export type CreateProjectsListInput = { - data?: Maybe; +export type CreateProjectsCollectionInput = { + data?: Maybe; }; -export type CreateProjectsListPayload = { - __typename?: 'createProjectsListPayload'; - projectsList?: Maybe; +export type CreateProjectsCollectionPayload = { + __typename?: 'createProjectsCollectionPayload'; + projectsCollection?: Maybe; }; export type CreateRoleInput = { @@ -1429,13 +1429,13 @@ export type DeletePagePayload = { page?: Maybe; }; -export type DeleteProjectsListInput = { +export type DeleteProjectsCollectionInput = { where?: Maybe; }; -export type DeleteProjectsListPayload = { - __typename?: 'deleteProjectsListPayload'; - projectsList?: Maybe; +export type DeleteProjectsCollectionPayload = { + __typename?: 'deleteProjectsCollectionPayload'; + projectsCollection?: Maybe; }; export type DeleteRoleInput = { @@ -1600,8 +1600,8 @@ export type EditPageInput = { updated_by?: Maybe; }; -export type EditProjectsListInput = { - projects?: Maybe>>; +export type EditProjectsCollectionInput = { + projectsList?: Maybe>>; localizations?: Maybe>>; locale?: Maybe; published_at?: Maybe; @@ -1662,14 +1662,14 @@ export type UpdatePagePayload = { page?: Maybe; }; -export type UpdateProjectsListInput = { +export type UpdateProjectsCollectionInput = { where?: Maybe; - data?: Maybe; + data?: Maybe; }; -export type UpdateProjectsListPayload = { - __typename?: 'updateProjectsListPayload'; - projectsList?: Maybe; +export type UpdateProjectsCollectionPayload = { + __typename?: 'updateProjectsCollectionPayload'; + projectsCollection?: Maybe; }; export type UpdateRoleInput = { @@ -1777,21 +1777,25 @@ export type GetGlobalQuery = ( )> } ); -export type GetProjectsListQueryVariables = Exact<{ [key: string]: never; }>; +export type GetProjectsCollectionQueryVariables = Exact<{ [key: string]: never; }>; -export type GetProjectsListQuery = ( +export type GetProjectsCollectionQuery = ( { __typename?: 'Query' } - & { projectsList?: Maybe<( - { __typename?: 'ProjectsList' } - & Pick - & { projects?: Maybe - & { image?: Maybe<( - { __typename?: 'UploadFile' } - & Pick - )> } + & { projectsCollection?: Maybe<( + { __typename?: 'ProjectsCollection' } + & Pick + & { projectsList?: Maybe + & { projects?: Maybe + & { image?: Maybe<( + { __typename?: 'UploadFile' } + & Pick + )> } + )>>> } )>>> } )> } ); @@ -1836,17 +1840,17 @@ export type UpdateGlobalMutation = ( ); export type UpdateProjectsListMutationVariables = Exact<{ - input?: Maybe; + input?: Maybe; }>; export type UpdateProjectsListMutation = ( { __typename?: 'Mutation' } - & { updateProjectsList?: Maybe<( - { __typename?: 'updateProjectsListPayload' } - & { projectsList?: Maybe<( - { __typename?: 'ProjectsList' } - & Pick + & { updateProjectsCollection?: Maybe<( + { __typename?: 'updateProjectsCollectionPayload' } + & { projectsCollection?: Maybe<( + { __typename?: 'ProjectsCollection' } + & Pick )> } )> } ); @@ -1957,23 +1961,28 @@ export const GetGlobal = ` } } `; -export const GetProjectsList = ` - query getProjectsList { - projectsList(id: 1) { +export const GetProjectsCollection = ` + query getProjectsCollection { + projectsCollection(id: 1) { id locale - projects { + projectsList { id - path - companyName - projectType - description - linkName - linkPath - image { + sectionTitle + sectionTitleColor + projects { id - url - alternativeText + path + companyName + projectType + description + linkName + linkPath + image { + id + url + alternativeText + } } } } @@ -2003,9 +2012,9 @@ export const UpdateGlobal = ` } `; export const UpdateProjectsList = ` - mutation UpdateProjectsList($input: updateProjectsListInput) { - updateProjectsList(input: $input) { - projectsList { + mutation UpdateProjectsList($input: updateProjectsCollectionInput) { + updateProjectsCollection(input: $input) { + projectsCollection { id } } diff --git a/frontend/graphql/getProject.graphql b/frontend/graphql/getProject.graphql deleted file mode 100644 index ad775074..00000000 --- a/frontend/graphql/getProject.graphql +++ /dev/null @@ -1,20 +0,0 @@ -query getProjectsList { - projectsList(id: 1) { - id - locale - projects { - id - path - companyName - projectType - description - linkName - linkPath - image { - id - url - alternativeText - } - } - } -} diff --git a/frontend/graphql/getProjects.graphql b/frontend/graphql/getProjects.graphql new file mode 100644 index 00000000..adf0d173 --- /dev/null +++ b/frontend/graphql/getProjects.graphql @@ -0,0 +1,25 @@ +query getProjects($locale: string) { + projectsCollections(locale: $locale) { + id + locale + projectsList { + id + sectionTitle + sectionTitleColor + projects { + id + path + companyName + projectType + description + linkName + linkPath + image { + id + url + alternativeText + } + } + } + } +} diff --git a/frontend/graphql/getProjectsCollection.graphql b/frontend/graphql/getProjectsCollection.graphql new file mode 100644 index 00000000..818a437f --- /dev/null +++ b/frontend/graphql/getProjectsCollection.graphql @@ -0,0 +1,25 @@ +query getProjectsCollection { + projectsCollection(id: 1) { + id + locale + projectsList { + id + sectionTitle + sectionTitleColor + projects { + id + path + companyName + projectType + description + linkName + linkPath + image { + id + url + alternativeText + } + } + } + } +} diff --git a/frontend/graphql/getProjectsList.graphql b/frontend/graphql/getProjectsList.graphql deleted file mode 100644 index ad775074..00000000 --- a/frontend/graphql/getProjectsList.graphql +++ /dev/null @@ -1,20 +0,0 @@ -query getProjectsList { - projectsList(id: 1) { - id - locale - projects { - id - path - companyName - projectType - description - linkName - linkPath - image { - id - url - alternativeText - } - } - } -} diff --git a/frontend/graphql/updateProjectsList.graphql b/frontend/graphql/updateProjectsList.graphql index d77b960b..6d4671fd 100644 --- a/frontend/graphql/updateProjectsList.graphql +++ b/frontend/graphql/updateProjectsList.graphql @@ -1,6 +1,6 @@ -mutation UpdateProjectsList($input: updateProjectsListInput) { - updateProjectsList(input: $input) { - projectsList { +mutation UpdateProjectsList($input: updateProjectsCollectionInput) { + updateProjectsCollection(input: $input) { + projectsCollection { id } } From 54b861b922fa1da2497f60b300eb7a4d4858c7a6 Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Fri, 20 Aug 2021 16:18:40 +0200 Subject: [PATCH 09/21] Fix projects list --- .../projects-list/services/projects-list.js | 8 - frontend/features/page/index.ts | 5 + .../ProjectsListSectionBlock.tsx} | 23 +- .../block}/ProjectBlock.tsx | 34 +- frontend/features/page/sections/index.ts | 10 +- frontend/pages/[[...slug]].tsx | 7 +- frontend/pages/projects/[handle].tsx | 2 +- frontend/pages/projects/index.tsx | 352 +++++------------- 8 files changed, 144 insertions(+), 297 deletions(-) delete mode 100644 backend/api/projects-list/services/projects-list.js rename frontend/features/{pageBlocks/ProjectListSectionBlock.tsx => page/sections/ProjectsListSection/ProjectsListSectionBlock.tsx} (88%) rename frontend/features/page/sections/{CardListSection/blocks => ProjectsListSection/block}/ProjectBlock.tsx (93%) diff --git a/backend/api/projects-list/services/projects-list.js b/backend/api/projects-list/services/projects-list.js deleted file mode 100644 index 6538a8c8..00000000 --- a/backend/api/projects-list/services/projects-list.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -/** - * Read the documentation (https://strapi.io/documentation/developer-docs/latest/development/backend-customization.html#core-services) - * to customize this service - */ - -module.exports = {}; diff --git a/frontend/features/page/index.ts b/frontend/features/page/index.ts index e64a73a9..fac79985 100644 --- a/frontend/features/page/index.ts +++ b/frontend/features/page/index.ts @@ -14,6 +14,7 @@ import { SimpleSectionBlockData, simpleSectionBlock, } from "./sections/SimpleSection/blocks/SimpleSectionBlock"; +import { projectListSectionBlock } from "./sections/ProjectsListSection/ProjectsListSectionBlock"; export const SECTION_PAGE_BLOCKS = { heroSection: heroSectionBlock, @@ -22,6 +23,10 @@ export const SECTION_PAGE_BLOCKS = { simpleSection: simpleSectionBlock, }; +export const PROJECTS_LIST_BLOCK = { + projectsList: projectListSectionBlock, +}; + export type SectionBlockData = | HeroSectionBlockData | FeatureListSectionBlockData diff --git a/frontend/features/pageBlocks/ProjectListSectionBlock.tsx b/frontend/features/page/sections/ProjectsListSection/ProjectsListSectionBlock.tsx similarity index 88% rename from frontend/features/pageBlocks/ProjectListSectionBlock.tsx rename to frontend/features/page/sections/ProjectsListSection/ProjectsListSectionBlock.tsx index e9c8a0ff..0c7b2cd1 100644 --- a/frontend/features/pageBlocks/ProjectListSectionBlock.tsx +++ b/frontend/features/page/sections/ProjectsListSection/ProjectsListSectionBlock.tsx @@ -1,6 +1,5 @@ import { Box, Flex } from "@chakra-ui/react"; -import { PROJECT_BLOCK } from "@features/sectionBlocks"; -import { ProjectBlockData } from "@features/sectionBlocks/ProjectBlock"; + import React from "react"; import { BlockComponentProps, @@ -9,10 +8,11 @@ import { InlineTextarea, InlineBlocks, } from "react-tinacms-inline"; -import { BlockItemProps, BlockTemplateData } from "./types"; +import { PROJECT_BLOCK } from ".."; +import { ProjectBlockData } from "./block/ProjectBlock"; export type ProjectListSectionData = BlockTemplateData< - "projectListSection", + "projectsList", { id: string; sectionTitle: Nullable; @@ -52,7 +52,8 @@ export function ProjectListSection({ m={{ base: "0 auto", }} - pos="relative"> + pos="relative" + > {sectionTitle == null ? ( + lineHeight="1.15em" + > ) : ( @@ -90,7 +92,8 @@ export function ProjectListSection({ backgroundColor: `${ sectionTitleColor ? sectionTitleColor : "black" }`, - }}> + }} + > )} @@ -101,9 +104,9 @@ export function ProjectListSection({ height: "fit-content", }, }} - px="0"> + px="0" + > diff --git a/frontend/features/page/sections/CardListSection/blocks/ProjectBlock.tsx b/frontend/features/page/sections/ProjectsListSection/block/ProjectBlock.tsx similarity index 93% rename from frontend/features/page/sections/CardListSection/blocks/ProjectBlock.tsx rename to frontend/features/page/sections/ProjectsListSection/block/ProjectBlock.tsx index 9e3295e4..23e87f31 100644 --- a/frontend/features/page/sections/CardListSection/blocks/ProjectBlock.tsx +++ b/frontend/features/page/sections/ProjectsListSection/block/ProjectBlock.tsx @@ -1,6 +1,5 @@ import { Box, Flex, Img } from "@chakra-ui/react"; import { STRAPI_URL } from "@config/env"; -import { BlockTemplateData } from "@features/pageBlocks"; import Link from "next/link"; import React from "react"; import { @@ -22,6 +21,7 @@ export type ProjectBlockData = BlockTemplateData< linkName: Nullable; linkPath: Nullable; image: Nullable; + path: Nullable; } >; @@ -52,7 +52,8 @@ export function ProjectBlock({ image, linkName, linkPath }: ProjectBlockProps) { flexDir={{ base: "column-reverse", lg: "row", - }}> + }} + > + boxSizing="border-box" + > + as="h3" + > + color="rgb(5,195,182)" + > + lineHeight="1.8em" + > @@ -118,7 +123,8 @@ export function ProjectBlock({ image, linkName, linkPath }: ProjectBlockProps) { _after: { paddingLeft: "20px", }, - }}> + }} + > {linkName} @@ -129,7 +135,8 @@ export function ProjectBlock({ image, linkName, linkPath }: ProjectBlockProps) { base: "full", lg: "60%", }} - h="350px"> + h="350px" + > {cms.enabled ? ( { return media as any; - }}> + }} + > {(imageProps: any) => { const { src } = imageProps as ImageRenderProps; let imageSrc: string = src.previewSrc || src.url || ""; @@ -159,7 +167,8 @@ export function ProjectBlock({ image, linkName, linkPath }: ProjectBlockProps) { pos="relative" overflow="hidden" mt="-30px" - height="360px"> + height="360px" + > + } + > )} @@ -198,8 +208,6 @@ export function ProjectBlock({ image, linkName, linkPath }: ProjectBlockProps) { } function BlockComponent({ index, data }: BlockComponentProps) { - console.log("datablock", JSON.stringify(data, null, " ")); - return ( diff --git a/frontend/features/page/sections/index.ts b/frontend/features/page/sections/index.ts index 0ef064ff..dababee9 100644 --- a/frontend/features/page/sections/index.ts +++ b/frontend/features/page/sections/index.ts @@ -1,4 +1,8 @@ import { cardBlock, CardBlockData } from "./CardListSection/blocks/CardBlock"; +import { + projectBlock, + ProjectBlockData, +} from "./ProjectsListSection/block/ProjectBlock"; import { featureBlock, FeatureBlockData, @@ -12,4 +16,8 @@ export const CARD_BLOCK = { card: cardBlock, }; -export type BlockData = CardBlockData | FeatureBlockData; +export const PROJECT_BLOCK = { + project: projectBlock, +}; + +export type BlockData = CardBlockData | FeatureBlockData | ProjectBlockData; diff --git a/frontend/pages/[[...slug]].tsx b/frontend/pages/[[...slug]].tsx index 1231310f..0dbd6d80 100644 --- a/frontend/pages/[[...slug]].tsx +++ b/frontend/pages/[[...slug]].tsx @@ -10,7 +10,12 @@ import { GetPagesQuery, GetPagesQueryVariables, } from "@graphql/generated"; -import { PageData, usePagePlugin, GlobalData } from "@plugins/usePagePlugin"; +import { + PageData, + usePagePlugin, + GlobalData, + LocalizationsData, +} from "@plugins/usePagePlugin"; import { DefaultLayout as SiteLayout } from "@layouts/siteLayout"; import { Box, chakra, useColorMode } from "@chakra-ui/react"; import { SectionBlockData, SECTION_PAGE_BLOCKS } from "@features/page"; diff --git a/frontend/pages/projects/[handle].tsx b/frontend/pages/projects/[handle].tsx index b4298cc3..5bfd9434 100644 --- a/frontend/pages/projects/[handle].tsx +++ b/frontend/pages/projects/[handle].tsx @@ -186,7 +186,7 @@ export const getStaticPaths: GetStaticPaths = async (context) => { }); console.log("paths", JSON.stringify(paths, null, " ")); - return { paths, fallback: true }; + return { paths, fallback: false }; }; export function wrap(value: T | T[]): T[] { diff --git a/frontend/pages/projects/index.tsx b/frontend/pages/projects/index.tsx index 4d70cacc..cfc7e035 100644 --- a/frontend/pages/projects/index.tsx +++ b/frontend/pages/projects/index.tsx @@ -1,13 +1,15 @@ -import { PROJECT_BLOCK } from "@features/sectionBlocks"; +import { PROJECTS_LIST_BLOCK } from "@features/page"; +import { ProjectBlockData } from "@features/page/sections/ProjectsListSection/block/ProjectBlock"; +import { ProjectListSectionData } from "@features/page/sections/ProjectsListSection/ProjectsListSectionBlock"; import { - GetProjectsList, - GetProjectsListQuery, - GetProjectsListQueryVariables, + GetProjectsCollection, + GetProjectsCollectionQuery, + GetProjectsCollectionQueryVariables, + UpdateProjectsCollectionInput, UpdateProjectsList, - UpdateProjectsListInput, } from "@graphql/generated"; import { fetchGraphQL } from "@graphql/utils"; -import { DefaultLayout } from "@layouts/defaultLayout"; +import { DefaultLayout } from "@layouts/siteLayout"; import { filterListNullableItems } from "@utils"; import { GetStaticProps } from "next"; import React from "react"; @@ -26,24 +28,35 @@ export interface ProjectDataCreateInput { locale: string; } -type ProjectsListData = { +type ProjectsListCollection = { id: string; - projects?: ProjectData[]; + locale?: Nullable; + projectsList: ProjectListSectionData[]; }; interface DynamicPageProps { locale: string; preview: boolean; - projects: ProjectsListData; + projects: ProjectsListCollection; } -export default function Index({ projects }: DynamicPageProps) { +export default function Index({ projects, preview }: DynamicPageProps) { const [_, form] = useProjectPlugin(projects); + const itemProps = React.useMemo(() => { + return { + isPreview: preview, + }; + }, [preview]); + return ( - + ); @@ -61,17 +74,19 @@ export const getStaticProps: GetStaticProps< const preview = context.preview === true; const localeProjectsList = await fetchGraphQL< - GetProjectsListQuery, - GetProjectsListQueryVariables - >(GetProjectsList); + GetProjectsCollectionQuery, + GetProjectsCollectionQueryVariables + >(GetProjectsCollection); - if (localeProjectsList.projectsList == null) { + if (localeProjectsList.projectsCollection == null) { return { notFound: true, }; } - const projectData = getProjectsListData(localeProjectsList.projectsList); + const projectData = getProjectsListData( + localeProjectsList.projectsCollection + ); if (projectData == null) { return { @@ -100,40 +115,58 @@ export const getStaticProps: GetStaticProps< }; function getProjectsListData( - projectsList: GetProjectsListQuery["projectsList"] -): ProjectsListData | undefined { - if (projectsList == null) { + projectsCollection: GetProjectsCollectionQuery["projectsCollection"] +): ProjectsListCollection | undefined { + if (projectsCollection == null) { return undefined; } return { - id: projectsList.id, - projects: projectsList.projects - ? filterListNullableItems(projectsList.projects).map((project) => { + id: projectsCollection.id, + locale: projectsCollection.locale, + projectsList: projectsCollection.projectsList + ? filterListNullableItems( + projectsCollection.projectsList + ).map((project) => { return { - _template: "project", + _template: "projectsList", id: project.id, - companyName: project.companyName || null, - projectType: project.projectType || null, - linkName: project.linkName || null, - linkPath: project.linkPath || null, - description: project.description || null, - image: project.image - ? { - id: project.image.id, - url: project.image.url, - alternativeText: project.image.alternativeText || null, - } - : null, - path: project.path || null, + sectionTitle: project.sectionTitle || null, + sectionTitleColor: project.sectionTitleColor || null, + projects: project.projects + ? filterListNullableItems(project.projects).map( + (project) => { + return { + _template: "project", + id: project.id, + companyName: project.companyName || null, + projectType: project.projectType || null, + linkName: project.linkName || null, + linkPath: project.linkPath || null, + description: project.description || null, + image: project.image + ? { + id: project.image.id, + url: project.image.url, + alternativeText: + project.image.alternativeText || null, + } + : null, + path: project.path || null, + }; + } + ) + : [], }; }) : [], }; } -function useProjectPlugin(data: ProjectsListData): [ProjectsListData, Form] { +function useProjectPlugin( + data: ProjectsListCollection +): [ProjectsListCollection, Form] { const cms = useCMS(); - const formConfig: FormOptions = { + const formConfig: FormOptions = { id: data, label: "Page", initialValues: data, @@ -161,236 +194,31 @@ function useProjectPlugin(data: ProjectsListData): [ProjectsListData, Form] { return [projects, form]; } -function getProjectInput(data: ProjectsListData): UpdateProjectsListInput { +function getProjectInput( + data: ProjectsListCollection +): UpdateProjectsCollectionInput { return { where: { id: data.id }, data: { - projects: data.projects?.map((project) => { + projectsList: data.projectsList.map((list) => { return { - id: project.id, - companyName: project.companyName, - description: project.description, - linkName: project.linkName, - linkPath: project.linkPath, - path: project.path, - projectType: project.projectType, - image: project.image ? project.image.id : null, + id: list.id, + sectionTitle: list.sectionTitle, + sectionTitleColor: list.sectionTitleColor, + projects: list.projects.map((project) => { + return { + id: project.id, + companyName: project.companyName, + projectType: project.projectType, + linkName: project.linkName, + linkPath: project.linkPath, + description: project.description, + image: project.image?.id, + path: project.path, + }; + }), }; }), }, }; } - -/* import { Box } from "@chakra-ui/react"; -import { BlockTemplateData } from "@features/pageBlocks"; -import { - GetProjects, - GetProjectsQuery, - GetProjectsQueryVariables, -} from "@graphql/generated"; -import { fetchGraphQL } from "@graphql/utils"; -import { filterListNullableItems } from "@utils"; -import { GetStaticPaths, GetStaticProps } from "next"; -import React from "react"; - -interface DynamicPageProps { - path: string[]; - locale: string; - preview: boolean; - Project: ProjectBlockData; -} - -export type ProjectBlockData = BlockTemplateData< - "project", - { - id: string; - path: string; - companyName: Nullable; - projectType: Nullable; - description: Nullable; - linkName: Nullable; - linkPath: Nullable; - image: Nullable; - } ->; - -interface ProjectImage { - id: string; - url: string; - alternativeText: Nullable; -} - -export default function DynamicPage({ Project }: DynamicPageProps) { - return {Project}; -} - -export const getStaticPaths: GetStaticPaths = async (context) => { - if (context.locales == null) { - throw new Error("No locale has been defined!"); - } - const allProjectsRequests = context.locales.map(async (locale) => { - const localeProjects = await fetchGraphQL< - GetProjectsQuery, - GetProjectsQueryVariables - >(GetProjects, { - locale, - }); - - if (localeProjects.projects) { - return filterListNullableItems(localeProjects.projects); - } - return []; - }); - - const allProjects = await Promise.all(allProjectsRequests); - const projects = allProjects.flat(); - - const paths = projects.map((project) => { - const pagePath = project.path?.replace(/^\/+/, "") || ""; - const slugArray: any = pagePath.length > 0 ? pagePath.split("/") : false; - return { - params: { slug: slugArray }, - locale: project.locale!, - }; - }); - - return { paths, fallback: true }; -}; - -function wrap(value: T | T[]): T[] { - if (Array.isArray(value)) { - return value; - } - return [value]; -} - -export const getStaticProps: GetStaticProps< - DynamicPageProps | { notFound: boolean } -> = async (context) => { - const pathParts = wrap(context.params?.slug || []); - const path = `/${pathParts.join("/")}`; - const locale = context.locale; - if (locale == null) { - throw new Error(`Path "${pathParts.join("/")}" has no locale!`); - } - const preview = context.preview === true; - - const localeProjects = await fetchGraphQL< - GetProjectsQuery, - GetProjectsQueryVariables - >(GetProjects, { - locale, - }); - - if (localeProjects.projects == null) { - return { - notFound: true, - }; - } - - const ProjectsList = await fetchGraphQL< - GetProjectsQuery, - GetProjectsQueryVariables - >(GetProjects, { - locale, - where: { - path, - }, - }); - - if (ProjectsList.projects == null) { - return { - notFound: true, - }; - } - - if (preview) { - return { - props: { - ProjectsList, - path: pathParts, - locale, - preview, - previewData: context.previewData, - }, - }; - } - - return { - props: { - ProjectsList, - path: pathParts, - locale, - preview, - }, - }; -}; - -/* -case "ComponentSectionProjectsSection": { - return { - _template: "projectListSection", - id: section.id, - sectionTitle: section.sectionTitle || null, - sectionTitleColor: section.sectionTitleColor || null, - projects: section.projects - ? filterListNullableItems( - section.projects - ).map((project) => { - return { - _template: "project", - id: project.id, - companyName: project.companyName || null, - projectType: project.projectType || null, - description: project.description || null, - linkName: project.linkName || null, - linkPath: project.linkPath || null, - image: project.image - ? { - id: project.image.id, - url: project.image.url, - alternativeText: - project.image.alternativeText || null, - } - : null, - }; - }) - : [], - }; - } - - - - case "projectListSection": { - return { - __typename: "ComponentSectionProjectsSection", - id: section.id, - sectionTitle: section.sectionTitle, - sectionTitleColor: section.sectionTitleColor, - projects: section.projects - ? filterListNullableItems( - section.projects - ).map((project) => { - return { - _template: "project", - id: project.id, - companyName: project.companyName || null, - projectType: project.projectType || null, - description: project.description || null, - linkName: project.linkName || null, - linkPath: project.linkPath || null, - image: project.image - ? { - id: project.image.id, - url: project.image.url, - alternativeText: - project.image.alternativeText || null, - } - : null, - }; - }) - : [], - }; - } - -*/ From 90c1ad14377184ce4ed76c10606859cc5fd6a5fc Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Mon, 30 Aug 2021 16:30:19 +0200 Subject: [PATCH 10/21] Fix projects structure --- .../config/routes.json | 24 ++--- .../controllers/project.js} | 0 .../models/project.js} | 0 .../api/project/models/project.settings.json | 98 +++++++++++++++++++ .../services/project.js} | 0 .../models/projects-collection.settings.json | 30 ------ backend/components/blocks/project.json | 39 -------- .../components/project/blockquote-block.json | 13 +++ backend/components/project/image-block.json | 20 ++++ .../components/project/paragraph-block.json | 13 +++ backend/components/project/title-block.json | 13 +++ .../components/section/projects-section.json | 5 - 12 files changed, 169 insertions(+), 86 deletions(-) rename backend/api/{projects-collection => project}/config/routes.json (50%) rename backend/api/{projects-collection/controllers/projects-collection.js => project/controllers/project.js} (100%) rename backend/api/{projects-collection/models/projects-collection.js => project/models/project.js} (100%) create mode 100644 backend/api/project/models/project.settings.json rename backend/api/{projects-collection/services/projects-collection.js => project/services/project.js} (100%) delete mode 100644 backend/api/projects-collection/models/projects-collection.settings.json delete mode 100644 backend/components/blocks/project.json create mode 100644 backend/components/project/blockquote-block.json create mode 100644 backend/components/project/image-block.json create mode 100644 backend/components/project/paragraph-block.json create mode 100644 backend/components/project/title-block.json diff --git a/backend/api/projects-collection/config/routes.json b/backend/api/project/config/routes.json similarity index 50% rename from backend/api/projects-collection/config/routes.json rename to backend/api/project/config/routes.json index 57e86b6a..0cbac709 100644 --- a/backend/api/projects-collection/config/routes.json +++ b/backend/api/project/config/routes.json @@ -2,48 +2,48 @@ "routes": [ { "method": "GET", - "path": "/projects-collections", - "handler": "projects-collection.find", + "path": "/projects", + "handler": "project.find", "config": { "policies": [] } }, { "method": "GET", - "path": "/projects-collections/count", - "handler": "projects-collection.count", + "path": "/projects/count", + "handler": "project.count", "config": { "policies": [] } }, { "method": "GET", - "path": "/projects-collections/:id", - "handler": "projects-collection.findOne", + "path": "/projects/:id", + "handler": "project.findOne", "config": { "policies": [] } }, { "method": "POST", - "path": "/projects-collections", - "handler": "projects-collection.create", + "path": "/projects", + "handler": "project.create", "config": { "policies": [] } }, { "method": "PUT", - "path": "/projects-collections/:id", - "handler": "projects-collection.update", + "path": "/projects/:id", + "handler": "project.update", "config": { "policies": [] } }, { "method": "DELETE", - "path": "/projects-collections/:id", - "handler": "projects-collection.delete", + "path": "/projects/:id", + "handler": "project.delete", "config": { "policies": [] } diff --git a/backend/api/projects-collection/controllers/projects-collection.js b/backend/api/project/controllers/project.js similarity index 100% rename from backend/api/projects-collection/controllers/projects-collection.js rename to backend/api/project/controllers/project.js diff --git a/backend/api/projects-collection/models/projects-collection.js b/backend/api/project/models/project.js similarity index 100% rename from backend/api/projects-collection/models/projects-collection.js rename to backend/api/project/models/project.js diff --git a/backend/api/project/models/project.settings.json b/backend/api/project/models/project.settings.json new file mode 100644 index 00000000..f76104e9 --- /dev/null +++ b/backend/api/project/models/project.settings.json @@ -0,0 +1,98 @@ +{ + "kind": "collectionType", + "collectionName": "projects", + "info": { + "name": "Project", + "description": "" + }, + "options": { + "increments": true, + "timestamps": true, + "draftAndPublish": true + }, + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "attributes": { + "projectType": { + "type": "string", + "pluginOptions": { + "i18n": { + "localized": true + } + } + }, + "linkPath": { + "type": "string", + "pluginOptions": { + "i18n": { + "localized": true + } + } + }, + "linkLabel": { + "type": "string", + "pluginOptions": { + "i18n": { + "localized": true + } + } + }, + "description": { + "type": "richtext", + "pluginOptions": { + "i18n": { + "localized": true + } + } + }, + "blocks": { + "type": "dynamiczone", + "components": [ + "project.title-block", + "project.blockquote-block", + "project.image-block", + "project.paragraph-block" + ], + "pluginOptions": { + "i18n": { + "localized": true + } + } + }, + "path": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "string", + "required": true, + "unique": false + }, + "companyName": { + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "type": "string" + }, + "image": { + "model": "file", + "via": "related", + "allowedTypes": [ + "images" + ], + "plugin": "upload", + "required": false, + "pluginOptions": { + "i18n": { + "localized": true + } + } + } + } +} diff --git a/backend/api/projects-collection/services/projects-collection.js b/backend/api/project/services/project.js similarity index 100% rename from backend/api/projects-collection/services/projects-collection.js rename to backend/api/project/services/project.js diff --git a/backend/api/projects-collection/models/projects-collection.settings.json b/backend/api/projects-collection/models/projects-collection.settings.json deleted file mode 100644 index 5dcad961..00000000 --- a/backend/api/projects-collection/models/projects-collection.settings.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "kind": "collectionType", - "collectionName": "projects_collections", - "info": { - "name": "ProjectsCollection", - "description": "" - }, - "options": { - "increments": true, - "timestamps": true, - "draftAndPublish": true - }, - "pluginOptions": { - "i18n": { - "localized": true - } - }, - "attributes": { - "projectsList": { - "type": "component", - "repeatable": true, - "component": "section.projects-section", - "pluginOptions": { - "i18n": { - "localized": true - } - } - } - } -} diff --git a/backend/components/blocks/project.json b/backend/components/blocks/project.json deleted file mode 100644 index 25a8bb88..00000000 --- a/backend/components/blocks/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "collectionName": "components_blocks_projects", - "info": { - "name": "project", - "icon": "american-sign-language-interpreting", - "description": "" - }, - "options": {}, - "attributes": { - "companyName": { - "type": "string" - }, - "projectType": { - "type": "string" - }, - "description": { - "type": "string" - }, - "linkName": { - "type": "string" - }, - "linkPath": { - "type": "string" - }, - "image": { - "model": "file", - "via": "related", - "allowedTypes": [ - "images" - ], - "plugin": "upload", - "required": false, - "pluginOptions": {} - }, - "path": { - "type": "string" - } - } -} diff --git a/backend/components/project/blockquote-block.json b/backend/components/project/blockquote-block.json new file mode 100644 index 00000000..4b44c846 --- /dev/null +++ b/backend/components/project/blockquote-block.json @@ -0,0 +1,13 @@ +{ + "collectionName": "components_project_blockquote_blocks", + "info": { + "name": "blockquoteBlock", + "icon": "align-right" + }, + "options": {}, + "attributes": { + "text": { + "type": "string" + } + } +} diff --git a/backend/components/project/image-block.json b/backend/components/project/image-block.json new file mode 100644 index 00000000..9254b8a8 --- /dev/null +++ b/backend/components/project/image-block.json @@ -0,0 +1,20 @@ +{ + "collectionName": "components_project_image_blocks", + "info": { + "name": "imageBlock", + "icon": "image" + }, + "options": {}, + "attributes": { + "image": { + "model": "file", + "via": "related", + "allowedTypes": [ + "images" + ], + "plugin": "upload", + "required": false, + "pluginOptions": {} + } + } +} diff --git a/backend/components/project/paragraph-block.json b/backend/components/project/paragraph-block.json new file mode 100644 index 00000000..64482759 --- /dev/null +++ b/backend/components/project/paragraph-block.json @@ -0,0 +1,13 @@ +{ + "collectionName": "components_project_paragraph_blocks", + "info": { + "name": "paragraphBlock", + "icon": "align-center" + }, + "options": {}, + "attributes": { + "text": { + "type": "string" + } + } +} diff --git a/backend/components/project/title-block.json b/backend/components/project/title-block.json new file mode 100644 index 00000000..5b22e505 --- /dev/null +++ b/backend/components/project/title-block.json @@ -0,0 +1,13 @@ +{ + "collectionName": "components_project_title_blocks", + "info": { + "name": "titleBlock", + "icon": "angle-up" + }, + "options": {}, + "attributes": { + "title": { + "type": "string" + } + } +} diff --git a/backend/components/section/projects-section.json b/backend/components/section/projects-section.json index 397c4dd8..ad62597e 100644 --- a/backend/components/section/projects-section.json +++ b/backend/components/section/projects-section.json @@ -10,11 +10,6 @@ "sectionTitle": { "type": "string" }, - "projects": { - "type": "component", - "repeatable": true, - "component": "blocks.project" - }, "sectionTitleColor": { "type": "string" } From c835712bd5c9a657daa16ab8c60ef7038e054b8d Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Mon, 30 Aug 2021 16:30:56 +0200 Subject: [PATCH 11/21] Create and modify queries --- frontend/graphql.schema.json | 1645 ++++++++++++----- frontend/graphql/generated.ts | 437 +++-- frontend/graphql/getProjects.graphql | 47 +- .../graphql/getProjectsCollection.graphql | 25 - frontend/graphql/updateMenu.graphql | 7 + frontend/graphql/updateProjectsList.graphql | 7 - 6 files changed, 1522 insertions(+), 646 deletions(-) delete mode 100644 frontend/graphql/getProjectsCollection.graphql create mode 100644 frontend/graphql/updateMenu.graphql delete mode 100644 frontend/graphql/updateProjectsList.graphql diff --git a/frontend/graphql.schema.json b/frontend/graphql.schema.json index 7f8a2756..bf3d3757 100644 --- a/frontend/graphql.schema.json +++ b/frontend/graphql.schema.json @@ -375,212 +375,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "ComponentBlocksProject", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "companyName", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectType", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "linkName", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "linkPath", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "image", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UploadFile", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "path", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ComponentBlocksProjectInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "companyName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "projectType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "linkName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "linkPath", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "image", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "path", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", "name": "ComponentBlocksSingleFeature", @@ -953,7 +747,7 @@ }, { "kind": "OBJECT", - "name": "ComponentSectionCardSection", + "name": "ComponentProjectBlockquoteBlock", "description": null, "fields": [ { @@ -973,7 +767,7 @@ "deprecationReason": null }, { - "name": "title", + "name": "text", "description": null, "args": [], "type": { @@ -983,29 +777,51 @@ }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ComponentProjectBlockquoteBlockInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "subtitle", + "name": "text", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ComponentProjectImageBlock", + "description": null, + "fields": [ { - "name": "sections", + "name": "id", "description": null, "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ComponentBlocksCard", + "kind": "SCALAR", + "name": "ID", "ofType": null } }, @@ -1013,12 +829,12 @@ "deprecationReason": null }, { - "name": "sectionTitle", + "name": "image", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFile", "ofType": null }, "isDeprecated": false, @@ -1032,27 +848,253 @@ }, { "kind": "INPUT_OBJECT", - "name": "ComponentSectionCardSectionInput", + "name": "ComponentProjectImageBlockInput", "description": null, "fields": null, "inputFields": [ { - "name": "title", + "name": "image", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "subtitle", - "description": null, - "type": { - "kind": "SCALAR", + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ComponentProjectParagraphBlock", + "description": null, + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "text", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ComponentProjectParagraphBlockInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "text", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ComponentProjectTitleBlock", + "description": null, + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ComponentProjectTitleBlockInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "title", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ComponentSectionCardSection", + "description": null, + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtitle", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sections", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ComponentBlocksCard", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sectionTitle", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ComponentSectionCardSectionInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "title", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtitle", + "description": null, + "type": { + "kind": "SCALAR", "name": "String", "ofType": null }, @@ -1300,22 +1342,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "projects", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ComponentBlocksProject", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "sectionTitleColor", "description": null, @@ -1352,22 +1378,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "projects", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ComponentBlocksProjectInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "sectionTitleColor", "description": null, @@ -3133,62 +3143,97 @@ }, { "kind": "OBJECT", - "name": "ProjectsCollection", + "name": "Project", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnection", + "name": "ProjectConnection", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsCollectionAggregator", + "name": "ProjectAggregator", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsCollectionGroupBy", + "name": "ProjectGroupBy", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnectionId", + "name": "ProjectConnectionId", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnectionCreated_at", + "name": "ProjectConnectionCreated_at", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnectionUpdated_at", + "name": "ProjectConnectionUpdated_at", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnectionLocale", + "name": "ProjectConnectionProjectType", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnectionPublished_at", + "name": "ProjectConnectionLinkPath", "ofType": null }, { "kind": "OBJECT", - "name": "createProjectsCollectionPayload", + "name": "ProjectConnectionLinkLabel", "ofType": null }, { "kind": "OBJECT", - "name": "updateProjectsCollectionPayload", + "name": "ProjectConnectionDescription", "ofType": null }, { "kind": "OBJECT", - "name": "deleteProjectsCollectionPayload", + "name": "ProjectConnectionPath", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectConnectionCompanyName", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectConnectionImage", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectConnectionLocale", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ProjectConnectionPublished_at", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "createProjectPayload", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "updateProjectPayload", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "deleteProjectPayload", "ofType": null }, { @@ -3478,22 +3523,37 @@ }, { "kind": "OBJECT", - "name": "ComponentBlocksProject", + "name": "ComponentBlocksSingleFeature", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentBlocksSingleFeature", + "name": "ComponentGlobalTopbar", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentGlobalTopbar", + "name": "ComponentMenuPageLink", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentMenuPageLink", + "name": "ComponentProjectBlockquoteBlock", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ComponentProjectImageBlock", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ComponentProjectParagraphBlock", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ComponentProjectTitleBlock", "ofType": null }, { @@ -3746,7 +3806,7 @@ "deprecationReason": null }, { - "name": "createProjectsCollection", + "name": "createProject", "description": null, "args": [ { @@ -3754,7 +3814,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "createProjectsCollectionInput", + "name": "createProjectInput", "ofType": null }, "defaultValue": null, @@ -3764,14 +3824,14 @@ ], "type": { "kind": "OBJECT", - "name": "createProjectsCollectionPayload", + "name": "createProjectPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updateProjectsCollection", + "name": "updateProject", "description": null, "args": [ { @@ -3779,7 +3839,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "updateProjectsCollectionInput", + "name": "updateProjectInput", "ofType": null }, "defaultValue": null, @@ -3789,14 +3849,14 @@ ], "type": { "kind": "OBJECT", - "name": "updateProjectsCollectionPayload", + "name": "updateProjectPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "deleteProjectsCollection", + "name": "deleteProject", "description": null, "args": [ { @@ -3804,7 +3864,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "deleteProjectsCollectionInput", + "name": "deleteProjectInput", "ofType": null }, "defaultValue": null, @@ -3814,7 +3874,7 @@ ], "type": { "kind": "OBJECT", - "name": "deleteProjectsCollectionPayload", + "name": "deleteProjectPayload", "ofType": null }, "isDeprecated": false, @@ -4062,7 +4122,7 @@ "deprecationReason": null }, { - "name": "createProjectsCollectionLocalization", + "name": "createProjectLocalization", "description": null, "args": [ { @@ -4073,7 +4133,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "updateProjectsCollectionInput", + "name": "updateProjectInput", "ofType": null } }, @@ -4087,7 +4147,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsCollection", + "name": "Project", "ofType": null } }, @@ -5332,7 +5392,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsCollection", + "name": "Project", "description": null, "fields": [ { @@ -5384,21 +5444,109 @@ "deprecationReason": null }, { - "name": "projectsList", + "name": "projectType", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkLabel", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "blocks", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ComponentSectionProjectsSection", + "kind": "UNION", + "name": "ProjectBlocksDynamicZone", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, + { + "name": "companyName", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UploadFile", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "locale", "description": null, @@ -5481,7 +5629,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsCollection", + "name": "Project", "ofType": null } }, @@ -5496,7 +5644,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsCollectionAggregator", + "name": "ProjectAggregator", "description": null, "fields": [ { @@ -5529,9 +5677,50 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "UNION", + "name": "ProjectBlocksDynamicZone", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "ComponentProjectTitleBlock", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ComponentProjectBlockquoteBlock", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ComponentProjectImageBlock", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ComponentProjectParagraphBlock", + "ofType": null + } + ] + }, + { + "kind": "SCALAR", + "name": "ProjectBlocksDynamicZoneInput", + "description": "Input type for dynamic zone blocks of Project", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnection", + "name": "ProjectConnection", "description": null, "fields": [ { @@ -5543,7 +5732,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsCollection", + "name": "Project", "ofType": null } }, @@ -5556,7 +5745,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsCollectionGroupBy", + "name": "ProjectGroupBy", "ofType": null }, "isDeprecated": false, @@ -5568,7 +5757,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsCollectionAggregator", + "name": "ProjectAggregator", "ofType": null }, "isDeprecated": false, @@ -5582,7 +5771,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnectionCreated_at", + "name": "ProjectConnectionCompanyName", "description": null, "fields": [ { @@ -5591,7 +5780,7 @@ "args": [], "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -5603,7 +5792,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsCollectionConnection", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, @@ -5617,7 +5806,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnectionId", + "name": "ProjectConnectionCreated_at", "description": null, "fields": [ { @@ -5626,7 +5815,7 @@ "args": [], "type": { "kind": "SCALAR", - "name": "ID", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -5638,7 +5827,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsCollectionConnection", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, @@ -5652,7 +5841,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnectionLocale", + "name": "ProjectConnectionDescription", "description": null, "fields": [ { @@ -5673,7 +5862,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsCollectionConnection", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, @@ -5687,7 +5876,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnectionPublished_at", + "name": "ProjectConnectionId", "description": null, "fields": [ { @@ -5696,7 +5885,7 @@ "args": [], "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null }, "isDeprecated": false, @@ -5708,7 +5897,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsCollectionConnection", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, @@ -5722,7 +5911,7 @@ }, { "kind": "OBJECT", - "name": "ProjectsCollectionConnectionUpdated_at", + "name": "ProjectConnectionImage", "description": null, "fields": [ { @@ -5731,7 +5920,7 @@ "args": [], "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null }, "isDeprecated": false, @@ -5743,7 +5932,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsCollectionConnection", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, @@ -5757,112 +5946,561 @@ }, { "kind": "OBJECT", - "name": "ProjectsCollectionGroupBy", + "name": "ProjectConnectionLinkLabel", "description": null, "fields": [ { - "name": "id", + "name": "key", "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectsCollectionConnectionId", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", + "name": "connection", "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectsCollectionConnectionCreated_at", - "ofType": null - } + "kind": "OBJECT", + "name": "ProjectConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectConnectionLinkPath", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "connection", "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectsCollectionConnectionUpdated_at", - "ofType": null + "kind": "OBJECT", + "name": "ProjectConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectConnectionLocale", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectConnectionPath", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectConnectionProjectType", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectConnectionPublished_at", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectConnectionUpdated_at", + "description": null, + "fields": [ + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ProjectConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ProjectGroupBy", + "description": null, + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionId", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionCreated_at", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionUpdated_at", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projectType", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionProjectType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionLinkPath", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkLabel", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionLinkLabel", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionDescription", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionPath", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyName", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionCompanyName", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionImage", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locale", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionLocale", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "published_at", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProjectConnectionPublished_at", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "ProjectInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "projectType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkLabel", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "blocks", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ProjectBlocksDynamicZoneInput", + "ofType": null + } } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "locale", + "name": "path", "description": null, - "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ProjectsCollectionConnectionLocale", + "kind": "SCALAR", + "name": "String", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "published_at", + "name": "companyName", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProjectsCollectionConnectionPublished_at", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ProjectsCollectionInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "projectsList", + "name": "image", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ComponentSectionProjectsSectionInput", - "ofType": null - } + "kind": "SCALAR", + "name": "ID", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -6385,7 +7023,7 @@ "deprecationReason": null }, { - "name": "projectsCollection", + "name": "project", "description": null, "args": [ { @@ -6419,14 +7057,14 @@ ], "type": { "kind": "OBJECT", - "name": "ProjectsCollection", + "name": "Project", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "projectsCollections", + "name": "projects", "description": null, "args": [ { @@ -6507,7 +7145,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectsCollection", + "name": "Project", "ofType": null } }, @@ -6515,7 +7153,7 @@ "deprecationReason": null }, { - "name": "projectsCollectionsConnection", + "name": "projectsConnection", "description": null, "args": [ { @@ -6581,7 +7219,7 @@ ], "type": { "kind": "OBJECT", - "name": "ProjectsCollectionConnection", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, @@ -10639,7 +11277,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "createProjectsCollectionInput", + "name": "createProjectInput", "description": null, "fields": null, "inputFields": [ @@ -10648,7 +11286,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "ProjectsCollectionInput", + "name": "ProjectInput", "ofType": null }, "defaultValue": null, @@ -10662,16 +11300,16 @@ }, { "kind": "OBJECT", - "name": "createProjectsCollectionPayload", + "name": "createProjectPayload", "description": null, "fields": [ { - "name": "projectsCollection", + "name": "project", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsCollection", + "name": "Project", "ofType": null }, "isDeprecated": false, @@ -10938,7 +11576,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "deleteProjectsCollectionInput", + "name": "deleteProjectInput", "description": null, "fields": null, "inputFields": [ @@ -10961,16 +11599,16 @@ }, { "kind": "OBJECT", - "name": "deleteProjectsCollectionPayload", + "name": "deleteProjectPayload", "description": null, "fields": [ { - "name": "projectsCollection", + "name": "project", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsCollection", + "name": "Project", "ofType": null }, "isDeprecated": false, @@ -11206,7 +11844,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "editComponentBlocksProjectInput", + "name": "editComponentBlocksSingleFeatureInput", "description": null, "fields": null, "inputFields": [ @@ -11223,7 +11861,7 @@ "deprecationReason": null }, { - "name": "companyName", + "name": "description", "description": null, "type": { "kind": "SCALAR", @@ -11235,7 +11873,7 @@ "deprecationReason": null }, { - "name": "projectType", + "name": "title", "description": null, "type": { "kind": "SCALAR", @@ -11247,11 +11885,11 @@ "deprecationReason": null }, { - "name": "description", + "name": "image", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -11259,7 +11897,7 @@ "deprecationReason": null }, { - "name": "linkName", + "name": "url", "description": null, "type": { "kind": "SCALAR", @@ -11271,7 +11909,7 @@ "deprecationReason": null }, { - "name": "linkPath", + "name": "bubbleColor", "description": null, "type": { "kind": "SCALAR", @@ -11283,7 +11921,30 @@ "deprecationReason": null }, { - "name": "image", + "name": "label", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentGlobalTopbarInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -11295,11 +11956,11 @@ "deprecationReason": null }, { - "name": "path", + "name": "menu", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -11313,7 +11974,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "editComponentBlocksSingleFeatureInput", + "name": "editComponentMenuPageLinkInput", "description": null, "fields": null, "inputFields": [ @@ -11330,7 +11991,7 @@ "deprecationReason": null }, { - "name": "description", + "name": "pageLinkName", "description": null, "type": { "kind": "SCALAR", @@ -11342,19 +12003,30 @@ "deprecationReason": null }, { - "name": "title", + "name": "link", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentProjectBlockquoteBlockInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "image", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -11366,7 +12038,7 @@ "deprecationReason": null }, { - "name": "url", + "name": "text", "description": null, "type": { "kind": "SCALAR", @@ -11376,13 +12048,24 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentProjectImageBlockInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "bubbleColor", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -11390,11 +12073,11 @@ "deprecationReason": null }, { - "name": "label", + "name": "image", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -11408,7 +12091,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "editComponentGlobalTopbarInput", + "name": "editComponentProjectParagraphBlockInput", "description": null, "fields": null, "inputFields": [ @@ -11425,11 +12108,11 @@ "deprecationReason": null }, { - "name": "menu", + "name": "text", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -11443,7 +12126,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "editComponentMenuPageLinkInput", + "name": "editComponentProjectTitleBlockInput", "description": null, "fields": null, "inputFields": [ @@ -11460,7 +12143,7 @@ "deprecationReason": null }, { - "name": "pageLinkName", + "name": "title", "description": null, "type": { "kind": "SCALAR", @@ -11470,18 +12153,6 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "link", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null } ], "interfaces": null, @@ -11675,22 +12346,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "projects", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "editComponentBlocksProjectInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "sectionTitleColor", "description": null, @@ -12415,26 +13070,114 @@ }, { "kind": "INPUT_OBJECT", - "name": "editProjectsCollectionInput", + "name": "editProjectInput", "description": null, "fields": null, "inputFields": [ { - "name": "projectsList", + "name": "projectType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkPath", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkLabel", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "blocks", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "editComponentSectionProjectsSectionInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ProjectBlocksDynamicZoneInput", + "ofType": null + } } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, + { + "name": "path", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companyName", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "localizations", "description": null, @@ -12914,7 +13657,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "updateProjectsCollectionInput", + "name": "updateProjectInput", "description": null, "fields": null, "inputFields": [ @@ -12935,7 +13678,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "editProjectsCollectionInput", + "name": "editProjectInput", "ofType": null }, "defaultValue": null, @@ -12949,16 +13692,16 @@ }, { "kind": "OBJECT", - "name": "updateProjectsCollectionPayload", + "name": "updateProjectPayload", "description": null, "fields": [ { - "name": "projectsCollection", + "name": "project", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "ProjectsCollection", + "name": "Project", "ofType": null }, "isDeprecated": false, diff --git a/frontend/graphql/generated.ts b/frontend/graphql/generated.ts index fac3541e..9ec0faac 100644 --- a/frontend/graphql/generated.ts +++ b/frontend/graphql/generated.ts @@ -19,6 +19,8 @@ export type Scalars = { Long: any; /** Input type for dynamic zone sections of Pages */ PagesSectionsDynamicZoneInput: any; + /** Input type for dynamic zone blocks of Project */ + ProjectBlocksDynamicZoneInput: any; /** A time string with format: HH:mm:ss.SSS */ Time: any; /** The `Upload` scalar type represents a file upload. */ @@ -63,28 +65,6 @@ export type ComponentBlocksNavigationBlockInput = { url?: Maybe; }; -export type ComponentBlocksProject = { - __typename?: 'ComponentBlocksProject'; - id: Scalars['ID']; - companyName?: Maybe; - projectType?: Maybe; - description?: Maybe; - linkName?: Maybe; - linkPath?: Maybe; - image?: Maybe; - path?: Maybe; -}; - -export type ComponentBlocksProjectInput = { - companyName?: Maybe; - projectType?: Maybe; - description?: Maybe; - linkName?: Maybe; - linkPath?: Maybe; - image?: Maybe; - path?: Maybe; -}; - export type ComponentBlocksSingleFeature = { __typename?: 'ComponentBlocksSingleFeature'; id: Scalars['ID']; @@ -127,6 +107,46 @@ export type ComponentMenuPageLinkInput = { link?: Maybe; }; +export type ComponentProjectBlockquoteBlock = { + __typename?: 'ComponentProjectBlockquoteBlock'; + id: Scalars['ID']; + text?: Maybe; +}; + +export type ComponentProjectBlockquoteBlockInput = { + text?: Maybe; +}; + +export type ComponentProjectImageBlock = { + __typename?: 'ComponentProjectImageBlock'; + id: Scalars['ID']; + image?: Maybe; +}; + +export type ComponentProjectImageBlockInput = { + image?: Maybe; +}; + +export type ComponentProjectParagraphBlock = { + __typename?: 'ComponentProjectParagraphBlock'; + id: Scalars['ID']; + text?: Maybe; +}; + +export type ComponentProjectParagraphBlockInput = { + text?: Maybe; +}; + +export type ComponentProjectTitleBlock = { + __typename?: 'ComponentProjectTitleBlock'; + id: Scalars['ID']; + title?: Maybe; +}; + +export type ComponentProjectTitleBlockInput = { + title?: Maybe; +}; + export type ComponentSectionCardSection = { __typename?: 'ComponentSectionCardSection'; id: Scalars['ID']; @@ -170,13 +190,11 @@ export type ComponentSectionProjectsSection = { __typename?: 'ComponentSectionProjectsSection'; id: Scalars['ID']; sectionTitle?: Maybe; - projects?: Maybe>>; sectionTitleColor?: Maybe; }; export type ComponentSectionProjectsSectionInput = { sectionTitle?: Maybe; - projects?: Maybe>>; sectionTitleColor?: Maybe; }; @@ -360,7 +378,7 @@ export type MenuInput = { updated_by?: Maybe; }; -export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Global | UpdateGlobalPayload | DeleteGlobalPayload | Menu | MenuConnection | MenuAggregator | MenuGroupBy | MenuConnectionId | MenuConnectionCreated_At | MenuConnectionUpdated_At | MenuConnectionTitle | MenuConnectionPublished_At | CreateMenuPayload | UpdateMenuPayload | DeleteMenuPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionTitle | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | ProjectsCollection | ProjectsCollectionConnection | ProjectsCollectionAggregator | ProjectsCollectionGroupBy | ProjectsCollectionConnectionId | ProjectsCollectionConnectionCreated_At | ProjectsCollectionConnectionUpdated_At | ProjectsCollectionConnectionLocale | ProjectsCollectionConnectionPublished_At | CreateProjectsCollectionPayload | UpdateProjectsCollectionPayload | DeleteProjectsCollectionPayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksNavigationBlock | ComponentBlocksProject | ComponentBlocksSingleFeature | ComponentGlobalTopbar | ComponentMenuPageLink | ComponentSectionCardSection | ComponentSectionFooterSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSimpleSection | ComponentSectionSingleFeatureSection; +export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | Global | UpdateGlobalPayload | DeleteGlobalPayload | Menu | MenuConnection | MenuAggregator | MenuGroupBy | MenuConnectionId | MenuConnectionCreated_At | MenuConnectionUpdated_At | MenuConnectionTitle | MenuConnectionPublished_At | CreateMenuPayload | UpdateMenuPayload | DeleteMenuPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionTitle | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | Project | ProjectConnection | ProjectAggregator | ProjectGroupBy | ProjectConnectionId | ProjectConnectionCreated_At | ProjectConnectionUpdated_At | ProjectConnectionProjectType | ProjectConnectionLinkPath | ProjectConnectionLinkLabel | ProjectConnectionDescription | ProjectConnectionPath | ProjectConnectionCompanyName | ProjectConnectionImage | ProjectConnectionLocale | ProjectConnectionPublished_At | CreateProjectPayload | UpdateProjectPayload | DeleteProjectPayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksNavigationBlock | ComponentBlocksSingleFeature | ComponentGlobalTopbar | ComponentMenuPageLink | ComponentProjectBlockquoteBlock | ComponentProjectImageBlock | ComponentProjectParagraphBlock | ComponentProjectTitleBlock | ComponentSectionCardSection | ComponentSectionFooterSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSimpleSection | ComponentSectionSingleFeatureSection; export type Mutation = { __typename?: 'Mutation'; @@ -372,9 +390,9 @@ export type Mutation = { createPage?: Maybe; updatePage?: Maybe; deletePage?: Maybe; - createProjectsCollection?: Maybe; - updateProjectsCollection?: Maybe; - deleteProjectsCollection?: Maybe; + createProject?: Maybe; + updateProject?: Maybe; + deleteProject?: Maybe; /** Delete one file */ deleteFile?: Maybe; /** Create a new role */ @@ -391,7 +409,7 @@ export type Mutation = { deleteUser?: Maybe; createGlobalLocalization: Global; createPageLocalization: Pages; - createProjectsCollectionLocalization: ProjectsCollection; + createProjectLocalization: Project; upload: UploadFile; multipleUpload: Array>; updateFileInfo: UploadFile; @@ -444,18 +462,18 @@ export type MutationDeletePageArgs = { }; -export type MutationCreateProjectsCollectionArgs = { - input?: Maybe; +export type MutationCreateProjectArgs = { + input?: Maybe; }; -export type MutationUpdateProjectsCollectionArgs = { - input?: Maybe; +export type MutationUpdateProjectArgs = { + input?: Maybe; }; -export type MutationDeleteProjectsCollectionArgs = { - input?: Maybe; +export type MutationDeleteProjectArgs = { + input?: Maybe; }; @@ -504,8 +522,8 @@ export type MutationCreatePageLocalizationArgs = { }; -export type MutationCreateProjectsCollectionLocalizationArgs = { - input: UpdateProjectsCollectionInput; +export type MutationCreateProjectLocalizationArgs = { + input: UpdateProjectInput; }; @@ -661,79 +679,145 @@ export type PagesGroupBy = { export type PagesSectionsDynamicZone = ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionSingleFeatureSection | ComponentSectionSimpleSection; -export type ProjectsCollection = { - __typename?: 'ProjectsCollection'; +export type Project = { + __typename?: 'Project'; id: Scalars['ID']; created_at: Scalars['DateTime']; updated_at: Scalars['DateTime']; - projectsList?: Maybe>>; + projectType?: Maybe; + linkPath?: Maybe; + linkLabel?: Maybe; + description?: Maybe; + blocks?: Maybe>>; + path: Scalars['String']; + companyName?: Maybe; + image?: Maybe; locale?: Maybe; published_at?: Maybe; - localizations?: Maybe>>; + localizations?: Maybe>>; }; -export type ProjectsCollectionLocalizationsArgs = { +export type ProjectLocalizationsArgs = { sort?: Maybe; limit?: Maybe; start?: Maybe; where?: Maybe; }; -export type ProjectsCollectionAggregator = { - __typename?: 'ProjectsCollectionAggregator'; +export type ProjectAggregator = { + __typename?: 'ProjectAggregator'; count?: Maybe; totalCount?: Maybe; }; -export type ProjectsCollectionConnection = { - __typename?: 'ProjectsCollectionConnection'; - values?: Maybe>>; - groupBy?: Maybe; - aggregate?: Maybe; +export type ProjectBlocksDynamicZone = ComponentProjectTitleBlock | ComponentProjectBlockquoteBlock | ComponentProjectImageBlock | ComponentProjectParagraphBlock; + + +export type ProjectConnection = { + __typename?: 'ProjectConnection'; + values?: Maybe>>; + groupBy?: Maybe; + aggregate?: Maybe; }; -export type ProjectsCollectionConnectionCreated_At = { - __typename?: 'ProjectsCollectionConnectionCreated_at'; +export type ProjectConnectionCompanyName = { + __typename?: 'ProjectConnectionCompanyName'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectConnectionCreated_At = { + __typename?: 'ProjectConnectionCreated_at'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; +}; + +export type ProjectConnectionDescription = { + __typename?: 'ProjectConnectionDescription'; + key?: Maybe; + connection?: Maybe; }; -export type ProjectsCollectionConnectionId = { - __typename?: 'ProjectsCollectionConnectionId'; +export type ProjectConnectionId = { + __typename?: 'ProjectConnectionId'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsCollectionConnectionLocale = { - __typename?: 'ProjectsCollectionConnectionLocale'; +export type ProjectConnectionImage = { + __typename?: 'ProjectConnectionImage'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectConnectionLinkLabel = { + __typename?: 'ProjectConnectionLinkLabel'; key?: Maybe; - connection?: Maybe; + connection?: Maybe; }; -export type ProjectsCollectionConnectionPublished_At = { - __typename?: 'ProjectsCollectionConnectionPublished_at'; - key?: Maybe; - connection?: Maybe; +export type ProjectConnectionLinkPath = { + __typename?: 'ProjectConnectionLinkPath'; + key?: Maybe; + connection?: Maybe; }; -export type ProjectsCollectionConnectionUpdated_At = { - __typename?: 'ProjectsCollectionConnectionUpdated_at'; - key?: Maybe; - connection?: Maybe; +export type ProjectConnectionLocale = { + __typename?: 'ProjectConnectionLocale'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectConnectionPath = { + __typename?: 'ProjectConnectionPath'; + key?: Maybe; + connection?: Maybe; }; -export type ProjectsCollectionGroupBy = { - __typename?: 'ProjectsCollectionGroupBy'; - id?: Maybe>>; - created_at?: Maybe>>; - updated_at?: Maybe>>; - locale?: Maybe>>; - published_at?: Maybe>>; +export type ProjectConnectionProjectType = { + __typename?: 'ProjectConnectionProjectType'; + key?: Maybe; + connection?: Maybe; }; -export type ProjectsCollectionInput = { - projectsList?: Maybe>>; +export type ProjectConnectionPublished_At = { + __typename?: 'ProjectConnectionPublished_at'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectConnectionUpdated_At = { + __typename?: 'ProjectConnectionUpdated_at'; + key?: Maybe; + connection?: Maybe; +}; + +export type ProjectGroupBy = { + __typename?: 'ProjectGroupBy'; + id?: Maybe>>; + created_at?: Maybe>>; + updated_at?: Maybe>>; + projectType?: Maybe>>; + linkPath?: Maybe>>; + linkLabel?: Maybe>>; + description?: Maybe>>; + path?: Maybe>>; + companyName?: Maybe>>; + image?: Maybe>>; + locale?: Maybe>>; + published_at?: Maybe>>; +}; + +export type ProjectInput = { + projectType?: Maybe; + linkPath?: Maybe; + linkLabel?: Maybe; + description?: Maybe; + blocks?: Maybe>; + path: Scalars['String']; + companyName?: Maybe; + image?: Maybe; localizations?: Maybe>>; locale?: Maybe; published_at?: Maybe; @@ -755,9 +839,9 @@ export type Query = { page?: Maybe; pages?: Maybe>>; pagesConnection?: Maybe; - projectsCollection?: Maybe; - projectsCollections?: Maybe>>; - projectsCollectionsConnection?: Maybe; + project?: Maybe; + projects?: Maybe>>; + projectsConnection?: Maybe; files?: Maybe>>; filesConnection?: Maybe; role?: Maybe; @@ -825,13 +909,13 @@ export type QueryPagesConnectionArgs = { }; -export type QueryProjectsCollectionArgs = { +export type QueryProjectArgs = { id: Scalars['ID']; publicationState?: Maybe; }; -export type QueryProjectsCollectionsArgs = { +export type QueryProjectsArgs = { sort?: Maybe; limit?: Maybe; start?: Maybe; @@ -841,7 +925,7 @@ export type QueryProjectsCollectionsArgs = { }; -export type QueryProjectsCollectionsConnectionArgs = { +export type QueryProjectsConnectionArgs = { sort?: Maybe; limit?: Maybe; start?: Maybe; @@ -1370,13 +1454,13 @@ export type CreatePagePayload = { page?: Maybe; }; -export type CreateProjectsCollectionInput = { - data?: Maybe; +export type CreateProjectInput = { + data?: Maybe; }; -export type CreateProjectsCollectionPayload = { - __typename?: 'createProjectsCollectionPayload'; - projectsCollection?: Maybe; +export type CreateProjectPayload = { + __typename?: 'createProjectPayload'; + project?: Maybe; }; export type CreateRoleInput = { @@ -1429,13 +1513,13 @@ export type DeletePagePayload = { page?: Maybe; }; -export type DeleteProjectsCollectionInput = { +export type DeleteProjectInput = { where?: Maybe; }; -export type DeleteProjectsCollectionPayload = { - __typename?: 'deleteProjectsCollectionPayload'; - projectsCollection?: Maybe; +export type DeleteProjectPayload = { + __typename?: 'deleteProjectPayload'; + project?: Maybe; }; export type DeleteRoleInput = { @@ -1471,17 +1555,6 @@ export type EditComponentBlocksNavigationBlockInput = { url?: Maybe; }; -export type EditComponentBlocksProjectInput = { - id?: Maybe; - companyName?: Maybe; - projectType?: Maybe; - description?: Maybe; - linkName?: Maybe; - linkPath?: Maybe; - image?: Maybe; - path?: Maybe; -}; - export type EditComponentBlocksSingleFeatureInput = { id?: Maybe; description?: Maybe; @@ -1503,6 +1576,26 @@ export type EditComponentMenuPageLinkInput = { link?: Maybe; }; +export type EditComponentProjectBlockquoteBlockInput = { + id?: Maybe; + text?: Maybe; +}; + +export type EditComponentProjectImageBlockInput = { + id?: Maybe; + image?: Maybe; +}; + +export type EditComponentProjectParagraphBlockInput = { + id?: Maybe; + text?: Maybe; +}; + +export type EditComponentProjectTitleBlockInput = { + id?: Maybe; + title?: Maybe; +}; + export type EditComponentSectionCardSectionInput = { id?: Maybe; title?: Maybe; @@ -1525,7 +1618,6 @@ export type EditComponentSectionHeroSectionInput = { export type EditComponentSectionProjectsSectionInput = { id?: Maybe; sectionTitle?: Maybe; - projects?: Maybe>>; sectionTitleColor?: Maybe; }; @@ -1600,8 +1692,15 @@ export type EditPageInput = { updated_by?: Maybe; }; -export type EditProjectsCollectionInput = { - projectsList?: Maybe>>; +export type EditProjectInput = { + projectType?: Maybe; + linkPath?: Maybe; + linkLabel?: Maybe; + description?: Maybe; + blocks?: Maybe>; + path?: Maybe; + companyName?: Maybe; + image?: Maybe; localizations?: Maybe>>; locale?: Maybe; published_at?: Maybe; @@ -1662,14 +1761,14 @@ export type UpdatePagePayload = { page?: Maybe; }; -export type UpdateProjectsCollectionInput = { +export type UpdateProjectInput = { where?: Maybe; - data?: Maybe; + data?: Maybe; }; -export type UpdateProjectsCollectionPayload = { - __typename?: 'updateProjectsCollectionPayload'; - projectsCollection?: Maybe; +export type UpdateProjectPayload = { + __typename?: 'updateProjectPayload'; + project?: Maybe; }; export type UpdateRoleInput = { @@ -1777,27 +1876,40 @@ export type GetGlobalQuery = ( )> } ); -export type GetProjectsCollectionQueryVariables = Exact<{ [key: string]: never; }>; +export type GetProjectsQueryVariables = Exact<{ + locale?: Maybe; +}>; -export type GetProjectsCollectionQuery = ( +export type GetProjectsQuery = ( { __typename?: 'Query' } - & { projectsCollection?: Maybe<( - { __typename?: 'ProjectsCollection' } - & Pick - & { projectsList?: Maybe - & { projects?: Maybe - & { image?: Maybe<( - { __typename?: 'UploadFile' } - & Pick - )> } - )>>> } + & { projects?: Maybe + & { localizations?: Maybe + )>>>, image?: Maybe<( + { __typename?: 'UploadFile' } + & Pick + )>, blocks?: Maybe + ) | ( + { __typename: 'ComponentProjectBlockquoteBlock' } + & Pick + ) | ( + { __typename: 'ComponentProjectImageBlock' } + & Pick + & { image?: Maybe<( + { __typename?: 'UploadFile' } + & Pick + )> } + ) | ( + { __typename: 'ComponentProjectParagraphBlock' } + & Pick )>>> } - )> } + )>>> } ); export type SaveChangesMutationVariables = Exact<{ @@ -1839,18 +1951,18 @@ export type UpdateGlobalMutation = ( )> } ); -export type UpdateProjectsListMutationVariables = Exact<{ - input?: Maybe; +export type UpdateMenuMutationVariables = Exact<{ + input?: Maybe; }>; -export type UpdateProjectsListMutation = ( +export type UpdateMenuMutation = ( { __typename?: 'Mutation' } - & { updateProjectsCollection?: Maybe<( - { __typename?: 'updateProjectsCollectionPayload' } - & { projectsCollection?: Maybe<( - { __typename?: 'ProjectsCollection' } - & Pick + & { updateMenu?: Maybe<( + { __typename?: 'updateMenuPayload' } + & { menu?: Maybe<( + { __typename?: 'Menu' } + & Pick )> } )> } ); @@ -1961,29 +2073,52 @@ export const GetGlobal = ` } } `; -export const GetProjectsCollection = ` - query getProjectsCollection { - projectsCollection(id: 1) { +export const GetProjects = ` + query getProjects($locale: String) { + projects(locale: $locale) { id + linkPath + linkLabel + projectType + companyName + description + path locale - projectsList { + localizations { id - sectionTitle - sectionTitleColor - projects { + path + locale + } + image { + id + url + alternativeText + } + blocks { + ... on ComponentProjectTitleBlock { + __typename + id + title + } + ... on ComponentProjectBlockquoteBlock { + __typename + id + text + } + ... on ComponentProjectImageBlock { + __typename id - path - companyName - projectType - description - linkName - linkPath image { id url alternativeText } } + ... on ComponentProjectParagraphBlock { + __typename + id + text + } } } } @@ -2011,10 +2146,10 @@ export const UpdateGlobal = ` } } `; -export const UpdateProjectsList = ` - mutation UpdateProjectsList($input: updateProjectsCollectionInput) { - updateProjectsCollection(input: $input) { - projectsCollection { +export const UpdateMenu = ` + mutation updateMenu($input: updateMenuInput) { + updateMenu(input: $input) { + menu { id } } diff --git a/frontend/graphql/getProjects.graphql b/frontend/graphql/getProjects.graphql index adf0d173..f2233276 100644 --- a/frontend/graphql/getProjects.graphql +++ b/frontend/graphql/getProjects.graphql @@ -1,25 +1,48 @@ -query getProjects($locale: string) { - projectsCollections(locale: $locale) { +query getProjects($locale: String) { + projects(locale: $locale) { id + linkPath + linkLabel + projectType + companyName + description + path locale - projectsList { + localizations { id - sectionTitle - sectionTitleColor - projects { + path + locale + } + image { + id + url + alternativeText + } + blocks { + ... on ComponentProjectTitleBlock { + __typename + id + title + } + ... on ComponentProjectBlockquoteBlock { + __typename + id + text + } + ... on ComponentProjectImageBlock { + __typename id - path - companyName - projectType - description - linkName - linkPath image { id url alternativeText } } + ... on ComponentProjectParagraphBlock { + __typename + id + text + } } } } diff --git a/frontend/graphql/getProjectsCollection.graphql b/frontend/graphql/getProjectsCollection.graphql deleted file mode 100644 index 818a437f..00000000 --- a/frontend/graphql/getProjectsCollection.graphql +++ /dev/null @@ -1,25 +0,0 @@ -query getProjectsCollection { - projectsCollection(id: 1) { - id - locale - projectsList { - id - sectionTitle - sectionTitleColor - projects { - id - path - companyName - projectType - description - linkName - linkPath - image { - id - url - alternativeText - } - } - } - } -} diff --git a/frontend/graphql/updateMenu.graphql b/frontend/graphql/updateMenu.graphql new file mode 100644 index 00000000..3362bc64 --- /dev/null +++ b/frontend/graphql/updateMenu.graphql @@ -0,0 +1,7 @@ +mutation updateMenu($input: updateMenuInput) { + updateMenu(input: $input) { + menu { + id + } + } +} diff --git a/frontend/graphql/updateProjectsList.graphql b/frontend/graphql/updateProjectsList.graphql deleted file mode 100644 index 6d4671fd..00000000 --- a/frontend/graphql/updateProjectsList.graphql +++ /dev/null @@ -1,7 +0,0 @@ -mutation UpdateProjectsList($input: updateProjectsCollectionInput) { - updateProjectsCollection(input: $input) { - projectsCollection { - id - } - } -} From 7f0d19599877c2f3d9d255e042f8562f76ba41e6 Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Mon, 30 Aug 2021 16:31:40 +0200 Subject: [PATCH 12/21] Fix formatting --- frontend/components/MobileNavDrawer.tsx | 9 ++++++--- frontend/features/mainNavigation/index.tsx | 13 ++++++++----- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/frontend/components/MobileNavDrawer.tsx b/frontend/components/MobileNavDrawer.tsx index f5b3f9da..ce1bd002 100644 --- a/frontend/components/MobileNavDrawer.tsx +++ b/frontend/components/MobileNavDrawer.tsx @@ -19,7 +19,8 @@ export function MobileNavDrawer({ display={{ base: "block", lg: "none", - }}> + }} + > + onEsc={onClose} + > {children} @@ -50,7 +52,8 @@ export const MenuIcon = (props: IconProps) => { fill="none" stroke="dark" strokeWidth="1.5" - {...props}> + {...props} + > diff --git a/frontend/features/mainNavigation/index.tsx b/frontend/features/mainNavigation/index.tsx index 6b20edda..7f97a4f1 100644 --- a/frontend/features/mainNavigation/index.tsx +++ b/frontend/features/mainNavigation/index.tsx @@ -20,7 +20,7 @@ const NavigationInlineBlocks = chakra(InlineBlocks); export function NavBar({ children }: React.PropsWithChildren) { return ( - + ) { xl: "1200px", }} my="0" - mx="auto"> + mx="auto" + > {children} - + ); } @@ -57,7 +58,8 @@ export function NavMenuDesktop() { base: "none", lg: "block", }} - textAlign={cms.enabled ? "right" : "left"}> + textAlign={cms.enabled ? "right" : "left"} + > div": { @@ -91,7 +93,8 @@ export function NavMenuMobile() { flexDir="column" mt="16" alignItems="center" - textAlign="center"> + textAlign="center" + > From 2ee8ed1a30e2546d8d01f399984cb00c782f20ad Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Mon, 30 Aug 2021 16:32:12 +0200 Subject: [PATCH 13/21] Fix names --- frontend/features/page/index.ts | 2 +- frontend/layouts/siteLayout/index.tsx | 2 +- frontend/pages/[[...slug]].tsx | 2 +- frontend/plugins/usePagePlugin.ts | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/features/page/index.ts b/frontend/features/page/index.ts index fac79985..c21722a5 100644 --- a/frontend/features/page/index.ts +++ b/frontend/features/page/index.ts @@ -24,7 +24,7 @@ export const SECTION_PAGE_BLOCKS = { }; export const PROJECTS_LIST_BLOCK = { - projectsList: projectListSectionBlock, + projectsSection: projectListSectionBlock, }; export type SectionBlockData = diff --git a/frontend/layouts/siteLayout/index.tsx b/frontend/layouts/siteLayout/index.tsx index b3f5f2ae..bce200e0 100644 --- a/frontend/layouts/siteLayout/index.tsx +++ b/frontend/layouts/siteLayout/index.tsx @@ -2,7 +2,7 @@ import { Box, useColorMode } from "@chakra-ui/react"; import Head from "next/head"; import React from "react"; -export function DefaultLayout({ children, title }: any) { +export function SiteLayout({ children, title }: any) { const { colorMode } = useColorMode(); return ( diff --git a/frontend/pages/[[...slug]].tsx b/frontend/pages/[[...slug]].tsx index 0dbd6d80..c424df7d 100644 --- a/frontend/pages/[[...slug]].tsx +++ b/frontend/pages/[[...slug]].tsx @@ -16,7 +16,7 @@ import { GlobalData, LocalizationsData, } from "@plugins/usePagePlugin"; -import { DefaultLayout as SiteLayout } from "@layouts/siteLayout"; +import { SiteLayout } from "@layouts/siteLayout"; import { Box, chakra, useColorMode } from "@chakra-ui/react"; import { SectionBlockData, SECTION_PAGE_BLOCKS } from "@features/page"; import { assertNever, filterListNullableItems } from "@utils"; diff --git a/frontend/plugins/usePagePlugin.ts b/frontend/plugins/usePagePlugin.ts index 6d852fd5..ff955d6c 100644 --- a/frontend/plugins/usePagePlugin.ts +++ b/frontend/plugins/usePagePlugin.ts @@ -75,8 +75,6 @@ export function usePagePlugin(data: Data): [Data, Form] { menuInput, }); - console.log("response", JSON.stringify(response, null, " ")); - if (response.errors != null) { cms.alerts.error("Error while saving data", 10000); } else { @@ -201,7 +199,7 @@ interface PageCreatorPluginOptions { locales: string[]; } -function getPageCreatorPlugin( +export function getPageCreatorPlugin( options: PageCreatorPluginOptions ): ContentCreatorPlugin { return { @@ -263,7 +261,9 @@ function getPageCreatorPlugin( }; } -function getPageCreateInput(input: PageDataCreateInput): CreatePageInput { +export function getPageCreateInput( + input: PageDataCreateInput +): CreatePageInput { return { data: { title: input.title || "Default", From 2834522b47d502dba14f91010c0a2e4b05700694 Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Mon, 30 Aug 2021 16:32:25 +0200 Subject: [PATCH 14/21] Fix styles --- .../FeatureListSectionBlock.tsx | 2 +- .../ProjectsListSectionBlock.tsx | 115 ++++++++---------- .../block/ProjectBlock.tsx | 2 +- frontend/graphql/createProject.graphql | 0 4 files changed, 55 insertions(+), 64 deletions(-) create mode 100644 frontend/graphql/createProject.graphql diff --git a/frontend/features/page/sections/FeatureListSection/FeatureListSectionBlock.tsx b/frontend/features/page/sections/FeatureListSection/FeatureListSectionBlock.tsx index 6821e540..5f2047b0 100644 --- a/frontend/features/page/sections/FeatureListSection/FeatureListSectionBlock.tsx +++ b/frontend/features/page/sections/FeatureListSection/FeatureListSectionBlock.tsx @@ -44,7 +44,7 @@ export function FeatureListSectionBlock({ } return ( - + ; @@ -25,101 +25,92 @@ interface ProjectListSectionProps { sectionTitle: Nullable; sectionTitleColor: Nullable; preview: boolean; + index: number; } export function ProjectListSection({ sectionTitle, sectionTitleColor, preview, + index, }: ProjectListSectionProps) { const itemProps = React.useMemo(() => { return { isPreview: preview, }; }, [preview]); + return ( - - {sectionTitle == null ? ( + + - ) : ( - div": { + w: "full", + height: "fit-content", + }, }} + px="0" > - - - )} - div": { - w: "full", - height: "fit-content", - }, - }} - px="0" - > - + + - + ); } function BlockComponent({ index, data }: BlockComponentProps) { return ( - + ); } diff --git a/frontend/features/page/sections/ProjectsListSection/block/ProjectBlock.tsx b/frontend/features/page/sections/ProjectsListSection/block/ProjectBlock.tsx index 23e87f31..fc1634df 100644 --- a/frontend/features/page/sections/ProjectsListSection/block/ProjectBlock.tsx +++ b/frontend/features/page/sections/ProjectsListSection/block/ProjectBlock.tsx @@ -83,7 +83,7 @@ export function ProjectBlock({ image, linkName, linkPath }: ProjectBlockProps) { fontSize="xs" fontWeight="normal" textTransform="uppercase" - letterSpacing="0.01em" + letterSpacing="0.1em" pos="relative" w="full" pb="5" diff --git a/frontend/graphql/createProject.graphql b/frontend/graphql/createProject.graphql new file mode 100644 index 00000000..e69de29b From d9e98b012c16068003857f460001f3571bd4038e Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Mon, 30 Aug 2021 16:32:40 +0200 Subject: [PATCH 15/21] Implement projects list --- frontend/pages/projects/index.tsx | 560 +++++++++++++++++++++++------- 1 file changed, 430 insertions(+), 130 deletions(-) diff --git a/frontend/pages/projects/index.tsx b/frontend/pages/projects/index.tsx index cfc7e035..f5f86152 100644 --- a/frontend/pages/projects/index.tsx +++ b/frontend/pages/projects/index.tsx @@ -1,64 +1,346 @@ -import { PROJECTS_LIST_BLOCK } from "@features/page"; -import { ProjectBlockData } from "@features/page/sections/ProjectsListSection/block/ProjectBlock"; -import { ProjectListSectionData } from "@features/page/sections/ProjectsListSection/ProjectsListSectionBlock"; +import { Box, chakra, Flex, Img, Text } from "@chakra-ui/react"; import { - GetProjectsCollection, - GetProjectsCollectionQuery, - GetProjectsCollectionQueryVariables, - UpdateProjectsCollectionInput, - UpdateProjectsList, + LocaleMenu, + LocaleMenuButton, + LocaleMenuLink, + LocaleMenuList, +} from "@components/LocaleMenu"; +import { MobileNavDrawer } from "@components/MobileNavDrawer"; +import { WordmarkLogo } from "@components/WordmarkLogo"; +import { STRAPI_URL } from "@config/env"; +import { NavBar, NavMenuMobile } from "@features/mainNavigation"; +import { NAV_BLOCK } from "@features/mainNavigation/blocks"; +import { NavBlockData } from "@features/mainNavigation/blocks/NavigationBlock"; +import { + GetGlobal, + GetGlobalQuery, + GetGlobalQueryVariables, + GetProjects, + GetProjectsQuery, + GetProjectsQueryVariables, + UpdateMenu, + UpdateMenuInput, } from "@graphql/generated"; import { fetchGraphQL } from "@graphql/utils"; -import { DefaultLayout } from "@layouts/siteLayout"; +import { SiteLayout } from "@layouts/siteLayout"; +import { + getPageCreatorPlugin, + GlobalData, + LocalizationsData, +} from "@plugins/usePagePlugin"; import { filterListNullableItems } from "@utils"; import { GetStaticProps } from "next"; +import Link from "next/link"; +import { useRouter } from "next/router"; import React from "react"; import { InlineBlocks, InlineForm } from "react-tinacms-inline"; -import { useForm, usePlugin } from "tinacms"; -import { Form, FormOptions, useCMS } from "tinacms"; -import { ProjectData, wrap } from "./[handle]"; - -export interface ProjectDataCreateInput { - companyName: string; - projectType: string; - description: string; - linkName: string; - linkPath: string; +import { Form, FormOptions, useCMS, useForm, usePlugin } from "tinacms"; +import { wrap } from "./[handle]"; + +interface Project { + id: string; path: string; - locale: string; + linkPath: Nullable; + linkLabel: Nullable; + description: Nullable; + locale: Nullable; + companyName: Nullable; + projectType: Nullable; + image: Nullable; + localizations: Nullable; } -type ProjectsListCollection = { +interface ProjectImage { id: string; - locale?: Nullable; - projectsList: ProjectListSectionData[]; -}; + url: string; + alternativeText: Nullable; +} + +export interface ImageRenderProps { + src: { + url?: string; + previewSrc?: string; + }; +} interface DynamicPageProps { locale: string; preview: boolean; - projects: ProjectsListCollection; + data: { + global: GlobalData; + projects: Project[]; + allProjects: Project[]; + }; } -export default function Index({ projects, preview }: DynamicPageProps) { - const [_, form] = useProjectPlugin(projects); +const NavigationInlineBlocks = chakra(InlineBlocks); - const itemProps = React.useMemo(() => { - return { - isPreview: preview, - }; - }, [preview]); +export default function Index({ data }: DynamicPageProps) { + const router = useRouter(); + const [_, form] = useProjectPlugin(data.global); + const cms = useCMS(); + + const availableLocales: string[] = []; + + data.allProjects.forEach((project) => { + if (project.locale != null) { + if (!availableLocales.includes(project.locale)) { + availableLocales.push(project.locale); + } + } + }); + + const index = availableLocales.indexOf(router.locale!); + availableLocales.splice(index, 1); return ( - + - + + + + + + + + + + + div": { + w: `${cms.enabled ? "36" : "auto"}`, + }, + }} + zIndex="1" + display={{ + base: "none", + lg: "flex", + }} + flex="1 1 0%" + w="full" + mr="8" + justifyContent="flex-end" + flexDir="row" + name="topbar.menu.links" + blocks={NAV_BLOCK} + direction="horizontal" + max={6} + /> + + + {router.locale!.toUpperCase()} + + + {router.locale?.toUpperCase()} + + {data ? ( + availableLocales.map((locale) => { + console.log("locale", locale); + + if (locale != router.locale) { + return ( + + {locale?.toUpperCase()} + + ); + } + }) + ) : ( + + )} + + + - + + + + + PROJECTS + + + + {data.projects.map((project) => { + if (project.locale === router.locale) { + return ( + + + + {project.companyName} + + + {project.projectType} + + + {project.description} + + + + + {project.linkLabel} + + + + + + + + + + + + + ); + } + })} + + + ); } @@ -73,20 +355,38 @@ export const getStaticProps: GetStaticProps< } const preview = context.preview === true; - const localeProjectsList = await fetchGraphQL< - GetProjectsCollectionQuery, - GetProjectsCollectionQueryVariables - >(GetProjectsCollection); + const projects = await fetchGraphQL< + GetProjectsQuery, + GetProjectsQueryVariables + >(GetProjects, { locale }); + + const allProjects = await fetchGraphQL< + GetProjectsQuery, + GetProjectsQueryVariables + >(GetProjects, { locale: "all" }); - if (localeProjectsList.projectsCollection == null) { + if (projects == null) { return { notFound: true, }; } - const projectData = getProjectsListData( - localeProjectsList.projectsCollection - ); + const availableGlobal = await fetchGraphQL< + GetGlobalQuery, + GetGlobalQueryVariables + >(GetGlobal); + + const globalData = getGlobalData(availableGlobal.global); + + const projectData = getProjectsData(projects.projects); + + const allProjectData = getProjectsData(allProjects.projects); + + if (globalData == null) { + return { + notFound: true, + }; + } if (projectData == null) { return { @@ -94,10 +394,20 @@ export const getStaticProps: GetStaticProps< }; } + if (allProjectData == null) { + return { + notFound: true, + }; + } + if (preview) { return { props: { - projects: projectData, + data: { + projects: projectData, + global: globalData, + allProjects: allProjectData, + }, locale, preview, previewData: context.previewData, @@ -107,79 +417,41 @@ export const getStaticProps: GetStaticProps< return { props: { - projects: projectData, + data: { + projects: projectData, + global: globalData, + allProjects: allProjectData, + }, locale, preview, }, }; }; -function getProjectsListData( - projectsCollection: GetProjectsCollectionQuery["projectsCollection"] -): ProjectsListCollection | undefined { - if (projectsCollection == null) { - return undefined; - } - return { - id: projectsCollection.id, - locale: projectsCollection.locale, - projectsList: projectsCollection.projectsList - ? filterListNullableItems( - projectsCollection.projectsList - ).map((project) => { - return { - _template: "projectsList", - id: project.id, - sectionTitle: project.sectionTitle || null, - sectionTitleColor: project.sectionTitleColor || null, - projects: project.projects - ? filterListNullableItems(project.projects).map( - (project) => { - return { - _template: "project", - id: project.id, - companyName: project.companyName || null, - projectType: project.projectType || null, - linkName: project.linkName || null, - linkPath: project.linkPath || null, - description: project.description || null, - image: project.image - ? { - id: project.image.id, - url: project.image.url, - alternativeText: - project.image.alternativeText || null, - } - : null, - path: project.path || null, - }; - } - ) - : [], - }; - }) - : [], - }; -} - -function useProjectPlugin( - data: ProjectsListCollection -): [ProjectsListCollection, Form] { +function useProjectPlugin(data: GlobalData): [GlobalData, Form] { const cms = useCMS(); - const formConfig: FormOptions = { - id: data, - label: "Page", + const router = useRouter(); + + const formConfig: FormOptions = { + id: data.id, + label: "Projects settings", initialValues: data, - onSubmit: async (values) => { - const input = getProjectInput(values); + onSubmit: async (data) => { + const input = getMenuInput(data); + try { - const response = await cms.api.strapi.fetchGraphql(UpdateProjectsList, { + const response = await cms.api.strapi.fetchGraphql(UpdateMenu, { input, }); - if (response.data) { - cms.alerts.success("Changes saved!"); + + if (response.errors != null) { + cms.alerts.error("Error while saving data", 10000); } else { - cms.alerts.error("Error while saving changes"); + if (response.data) { + cms.alerts.success("Changes saved!"); + } else { + cms.alerts.error("Error while saving changes"); + } } } catch (error) { console.log(error); @@ -188,37 +460,65 @@ function useProjectPlugin( }, fields: [], }; - const [projects, form] = useForm(formConfig); + + const [formData, form] = useForm(formConfig, { values: data }); usePlugin(form); - return [projects, form]; + const creatorPlugin = getPageCreatorPlugin({ + locales: router.locales || [], + }); + usePlugin(creatorPlugin); + + return [formData, form]; } -function getProjectInput( - data: ProjectsListCollection -): UpdateProjectsCollectionInput { +function getMenuInput(data: GlobalData): UpdateMenuInput { return { where: { id: data.id }, data: { - projectsList: data.projectsList.map((list) => { + title: data.topbar.menu.title, + links: data.topbar.menu.links.map((link) => { return { - id: list.id, - sectionTitle: list.sectionTitle, - sectionTitleColor: list.sectionTitleColor, - projects: list.projects.map((project) => { - return { - id: project.id, - companyName: project.companyName, - projectType: project.projectType, - linkName: project.linkName, - linkPath: project.linkPath, - description: project.description, - image: project.image?.id, - path: project.path, - }; - }), + id: link.id, + label: link.label || null, + url: link.url || null, }; }), }, }; } + +function getGlobalData( + global: GetGlobalQuery["global"] +): GlobalData | undefined { + if (global == null) { + return undefined; + } + if (global.topbar?.menu?.links) { + let filteredLinks = filterListNullableItems(global.topbar.menu.links); + return { + id: global.id, + topbar: { + id: global.topbar.id, + menu: { + id: global.topbar.menu.id, + title: global.topbar.menu.title, + links: filteredLinks.map((link) => { + return { + _template: "navigationLink", + id: link.id, + label: link.label || null, + url: link.url || null, + }; + }), + }, + }, + }; + } +} + +function getProjectsData( + projects: GetProjectsQuery["projects"] +): Project[] | undefined { + return projects as Project[]; +} From 1437cc48451effcca2aa2e4e67db418b0e191a37 Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Tue, 31 Aug 2021 10:33:34 +0200 Subject: [PATCH 16/21] Add projects creator plugin --- frontend/graphql/createProject.graphql | 7 + frontend/graphql/generated.ts | 25 ++ frontend/pages/projects/[handle].tsx | 366 ------------------------- frontend/pages/projects/index.tsx | 178 +++++++++++- frontend/plugins/usePagePlugin.ts | 171 +++++++++++- 5 files changed, 375 insertions(+), 372 deletions(-) delete mode 100644 frontend/pages/projects/[handle].tsx diff --git a/frontend/graphql/createProject.graphql b/frontend/graphql/createProject.graphql index e69de29b..ce694dbd 100644 --- a/frontend/graphql/createProject.graphql +++ b/frontend/graphql/createProject.graphql @@ -0,0 +1,7 @@ +mutation CreateProject($input: createProjectInput) { + createProject(input: $input) { + project { + id + } + } +} diff --git a/frontend/graphql/generated.ts b/frontend/graphql/generated.ts index 9ec0faac..e3a2269a 100644 --- a/frontend/graphql/generated.ts +++ b/frontend/graphql/generated.ts @@ -1853,6 +1853,22 @@ export type CreatePageMutation = ( )> } ); +export type CreateProjectMutationVariables = Exact<{ + input?: Maybe; +}>; + + +export type CreateProjectMutation = ( + { __typename?: 'Mutation' } + & { createProject?: Maybe<( + { __typename?: 'createProjectPayload' } + & { project?: Maybe<( + { __typename?: 'Project' } + & Pick + )> } + )> } +); + export type GetGlobalQueryVariables = Exact<{ [key: string]: never; }>; @@ -2053,6 +2069,15 @@ export const CreatePage = ` } } `; +export const CreateProject = ` + mutation CreateProject($input: createProjectInput) { + createProject(input: $input) { + project { + id + } + } +} + `; export const GetGlobal = ` query getGlobal { global { diff --git a/frontend/pages/projects/[handle].tsx b/frontend/pages/projects/[handle].tsx deleted file mode 100644 index 5bfd9434..00000000 --- a/frontend/pages/projects/[handle].tsx +++ /dev/null @@ -1,366 +0,0 @@ -import { Box, Flex, Img } from "@chakra-ui/react"; -import Link from "next/link"; -import { BlockTemplateData } from "@features/pageBlocks"; - -import { fetchGraphQL } from "@graphql/utils"; -import { filterListNullableItems } from "@utils"; -import { GetStaticPaths, GetStaticProps } from "next"; -import React from "react"; -import { - GetProjectsListQuery, - GetProjectsListQueryVariables, - GetProjectsList, -} from "@graphql/generated"; - -interface DynamicPageProps { - path: string[]; - locale: string; - preview: boolean; - project: ProjectData; -} - -export type ProjectData = BlockTemplateData< - "project", - { - id: string; - companyName: Nullable; - projectType: Nullable; - description: Nullable; - linkName: Nullable; - linkPath: Nullable; - image: Nullable; - path: Nullable; - } ->; - -interface ProjectImage { - id: string; - url: string; - alternativeText: Nullable; -} - -export default function DynamicPage({ project }: DynamicPageProps) { - return ( - - - - {project.companyName} - - - {project.projectType} - - - {project.description} - - - - - {project.linkName} - - - - - - {project.image ? ( - Cover image - ) : ( - Cover image - )} - - - ); -} -export const getStaticPaths: GetStaticPaths = async (context) => { - if (context.locales == null) { - throw new Error("No locale has been defined!"); - } - const allProjectsRequests = context.locales.map(async (locale) => { - const localeProjects = await fetchGraphQL< - GetProjectsListQuery, - GetProjectsListQueryVariables - >(GetProjectsList); - - - }); - - const allProjects = await Promise.all(allProjectsRequests); - const projects = allProjects.flat(); - - const paths = projects.map((project) => { - const pagePath = project.path?.replace(/^\/+/, "") || ""; - - return { - params: { handle: pagePath }, - locale: project.locale!, - }; - }); - console.log("paths", JSON.stringify(paths, null, " ")); - - return { paths, fallback: false }; -}; - -export function wrap(value: T | T[]): T[] { - if (Array.isArray(value)) { - return value; - } - return [value]; -} - -export const getStaticProps: GetStaticProps< - DynamicPageProps | { notFound: boolean } -> = async (context) => { - const pathParts = wrap(context.params?.handle || []); - console.log("pathParts", pathParts); - - const path = `/${pathParts.join("/")}`; - console.log("path", path); - - const locale = context.locale; - if (locale == null) { - throw new Error(`Path "${pathParts.join("/")}" has no locale!`); - } - const preview = context.preview === true; - - const localeProjects = await fetchGraphQL< - GetProjectsQuery, - GetProjectsQueryVariables - >(GetProjects, { - locale, - }); - - if (localeProjects.projects == null) { - return { - notFound: true, - }; - } - - const availableProjects = await fetchGraphQL< - GetProjectsQuery, - GetProjectsQueryVariables - >(GetProjects, { - locale, - where: { - path, - }, - }); - - if (availableProjects.projects == null) { - return { - notFound: true, - }; - } - - const projectData = getProjectData(availableProjects.projects, locale); - - if (projectData == null) { - return { - notFound: true, - }; - } - - if (preview) { - return { - props: { - project: projectData, - path: pathParts, - locale, - preview, - previewData: context.previewData, - }, - }; - } - - return { - props: { - project: projectData, - path: pathParts, - locale, - preview, - }, - }; -}; -/* -function getProjectData( - projects: GetProjectsQuery["projects"], - locale: string -): ProjectData | undefined { - const project = projects?.find((page) => page?.locale === locale); - if (project != null) { - return { - _template: "project", - id: project.id, - companyName: project.companyName || null, - projectType: project.projectType || null, - description: project.description || null, - linkName: project.linkName || null, - linkPath: project.linkPath || null, - image: project.image - ? { - id: project.image.id, - url: project.image.url, - alternativeText: project.image.alternativeText || null, - } - : null, - }; - } - return undefined; -} - - -case "ComponentSectionProjectsSection": { - return { - _template: "projectListSection", - id: section.id, - sectionTitle: section.sectionTitle || null, - sectionTitleColor: section.sectionTitleColor || null, - projects: section.projects - ? filterListNullableItems( - section.projects - ).map((project) => { - return { - _template: "project", - id: project.id, - companyName: project.companyName || null, - projectType: project.projectType || null, - description: project.description || null, - linkName: project.linkName || null, - linkPath: project.linkPath || null, - image: project.image - ? { - id: project.image.id, - url: project.image.url, - alternativeText: - project.image.alternativeText || null, - } - : null, - }; - }) - : [], - }; - } - - - - case "projectListSection": { - return { - __typename: "ComponentSectionProjectsSection", - id: section.id, - sectionTitle: section.sectionTitle, - sectionTitleColor: section.sectionTitleColor, - projects: section.projects - ? filterListNullableItems( - section.projects - ).map((project) => { - return { - _template: "project", - id: project.id, - companyName: project.companyName || null, - projectType: project.projectType || null, - description: project.description || null, - linkName: project.linkName || null, - linkPath: project.linkPath || null, - image: project.image - ? { - id: project.image.id, - url: project.image.url, - alternativeText: - project.image.alternativeText || null, - } - : null, - }; - }) - : [], - }; - } - -*/ diff --git a/frontend/pages/projects/index.tsx b/frontend/pages/projects/index.tsx index f5f86152..7ccac0d8 100644 --- a/frontend/pages/projects/index.tsx +++ b/frontend/pages/projects/index.tsx @@ -12,6 +12,8 @@ import { NavBar, NavMenuMobile } from "@features/mainNavigation"; import { NAV_BLOCK } from "@features/mainNavigation/blocks"; import { NavBlockData } from "@features/mainNavigation/blocks/NavigationBlock"; import { + CreateProject, + CreateProjectInput, GetGlobal, GetGlobalQuery, GetGlobalQueryVariables, @@ -27,6 +29,7 @@ import { getPageCreatorPlugin, GlobalData, LocalizationsData, + ProjectDataCreateInput, } from "@plugins/usePagePlugin"; import { filterListNullableItems } from "@utils"; import { GetStaticProps } from "next"; @@ -34,8 +37,14 @@ import Link from "next/link"; import { useRouter } from "next/router"; import React from "react"; import { InlineBlocks, InlineForm } from "react-tinacms-inline"; -import { Form, FormOptions, useCMS, useForm, usePlugin } from "tinacms"; -import { wrap } from "./[handle]"; +import { + ContentCreatorPlugin, + Form, + FormOptions, + useCMS, + useForm, + usePlugin, +} from "tinacms"; interface Project { id: string; @@ -73,6 +82,21 @@ interface DynamicPageProps { }; } +export interface PreviewImageProps { + id: string; + type: string; + directory: string; + fileName: string; + previewSrc: string; +} + +function wrap(value: T | T[]): T[] { + if (Array.isArray(value)) { + return value; + } + return [value]; +} + const NavigationInlineBlocks = chakra(InlineBlocks); export default function Index({ data }: DynamicPageProps) { @@ -148,8 +172,6 @@ export default function Index({ data }: DynamicPageProps) { {data ? ( availableLocales.map((locale) => { - console.log("locale", locale); - if (locale != router.locale) { return ( { + return { + __type: "content-creator", + name: "Add new project", + fields: [ + { + label: "Company name", + name: "companyName", + component: "text", + validate(name: string) { + if (!name) return "Required."; + }, + }, + { + label: "Path", + name: "path", + component: "text", + defaultValue: "/projects/", + description: "The path to the page ( e.g. /projects/something )", + validate(path: string) { + if (!path) { + return "Required."; + } + if (!path.startsWith("/projects")) { + return "Path must start with /projects"; + } + }, + }, + { + label: "Project type", + name: "projectType", + component: "text", + validate(type: string) { + if (!type) return "Required."; + }, + }, + { + label: "Description", + name: "description", + component: "textarea", + validate(description: string) { + if (!description) return "Required."; + }, + }, + { + label: "Locale", + name: "locale", + component: "select", + defaultValue: "en", + description: "Select a locale for this page", + // @ts-ignore + options: options.locales, + }, + { + label: "Link path", + name: "linkPath", + component: "text", + validate(linkPath: string) { + if (!linkPath) return "Required."; + if (!linkPath.startsWith("/")) { + return "Path should start with /"; + } + }, + }, + { + label: "Link label", + name: "linkLabel", + component: "text", + }, + { + label: "Image", + name: "image", + component: "image", + parse: (media) => media, + // @ts-ignore + uploadDir: () => "/", + previewSrc: (imageSrc: PreviewImageProps) => { + if (imageSrc.previewSrc === "") { + return "/images/default-image.png"; + } + return imageSrc.previewSrc; + }, + /*uploadDir={() => "/"} + previewSrc={(imageSrc) => { + if (imageSrc === "") { + return "/images/default-image.png"; + } + + return imageSrc; + }} + parse={(media) => { + return media as any; + }}*/ + }, + ], + onSubmit: async (values, cms) => { + const input = getProjectCreateInput(values); + + try { + const response = await cms.api.strapi.fetchGraphql(CreateProject, { + input, + }); + + if (response.data) { + // @ts-ignore + cms.alerts.success("Changes saved!"); + window.location.href = `/${values.locale}${values.path}`; + } else { + // @ts-ignore + cms.alerts.error("Error while saving changes"); + } + } catch (error) { + console.log(error); + // @ts-ignore + cms.alerts.error("Error while saving changes"); + } + }, + }; +} + +export function getProjectCreateInput( + input: ProjectDataCreateInput +): CreateProjectInput { + return { + data: { + companyName: input.companyName, + projectType: input.projectType, + linkLabel: input.linkLabel || "Discover more", + linkPath: input.linkPath, + description: input.description, + path: input.path, + image: input.image.id, + }, + }; +} diff --git a/frontend/plugins/usePagePlugin.ts b/frontend/plugins/usePagePlugin.ts index ff955d6c..1c5066a2 100644 --- a/frontend/plugins/usePagePlugin.ts +++ b/frontend/plugins/usePagePlugin.ts @@ -3,6 +3,8 @@ import { SectionBlockData } from "@features/page"; import { CreatePage, CreatePageInput, + CreateProject, + CreateProjectInput, SaveChanges, UpdateMenuInput, UpdatePageInput, @@ -17,6 +19,7 @@ import { usePlugin, } from "tinacms"; import { assertNever } from "@utils"; +import { PreviewImageProps } from "pages/projects"; export interface PageData { id: string; @@ -38,6 +41,23 @@ export interface PageDataCreateInput { locale: string; } +export interface ProjectDataCreateInput { + companyName: string; + projectType: string; + description: string; + linkPath: string; + linkLabel: string; + path: string; + image: ImageProps; + locale: string; +} + +interface ImageProps { + id: string; + url: string; + alternativeText: string; +} + export interface GlobalData { id: string; topbar: { @@ -95,10 +115,16 @@ export function usePagePlugin(data: Data): [Data, Form] { const [formData, form] = useForm(formConfig, { values: data }); usePlugin(form); - const creatorPlugin = getPageCreatorPlugin({ + const pageCreatorPlugin = getPageCreatorPlugin({ + locales: router.locales || [], + }); + + const projectCreatorPlugin = getProjectCreatorPlugin({ locales: router.locales || [], }); - usePlugin(creatorPlugin); + + usePlugin(pageCreatorPlugin); + usePlugin(projectCreatorPlugin); return [formData, form]; } @@ -261,6 +287,132 @@ export function getPageCreatorPlugin( }; } +interface ProjectCreatorPluginOptions { + locales: string[]; +} + +export function getProjectCreatorPlugin( + options: ProjectCreatorPluginOptions +): ContentCreatorPlugin { + return { + __type: "content-creator", + name: "Add new project", + fields: [ + { + label: "Company name", + name: "companyName", + component: "text", + validate(name: string) { + if (!name) return "Required."; + }, + }, + { + label: "Path", + name: "path", + component: "text", + defaultValue: "/projects/", + description: "The path to the page ( e.g. /projects/something )", + validate(path: string) { + if (!path) { + return "Required."; + } + if (!path.startsWith("/projects")) { + return "Path must start with /projects"; + } + }, + }, + { + label: "Project type", + name: "projectType", + component: "text", + validate(type: string) { + if (!type) return "Required."; + }, + }, + { + label: "Description", + name: "description", + component: "textarea", + validate(description: string) { + if (!description) return "Required."; + }, + }, + { + label: "Locale", + name: "locale", + component: "select", + defaultValue: "en", + description: "Select a locale for this page", + // @ts-ignore + options: options.locales, + }, + { + label: "Link path", + name: "linkPath", + component: "text", + validate(linkPath: string) { + if (!linkPath) return "Required."; + if (!linkPath.startsWith("/")) { + return "Path should start with /"; + } + }, + }, + { + label: "Link label", + name: "linkLabel", + component: "text", + }, + { + label: "Image", + name: "image", + component: "image", + parse: (media) => media, + // @ts-ignore + uploadDir: () => "/", + previewSrc: (imageSrc: PreviewImageProps) => { + if (imageSrc.previewSrc === "") { + return "/images/default-image.png"; + } + return imageSrc.previewSrc; + }, + /*uploadDir={() => "/"} + previewSrc={(imageSrc) => { + if (imageSrc === "") { + return "/images/default-image.png"; + } + + return imageSrc; + }} + parse={(media) => { + return media as any; + }}*/ + }, + ], + onSubmit: async (values, cms) => { + const input = getProjectCreateInput(values); + + try { + const response = await cms.api.strapi.fetchGraphql(CreateProject, { + input, + }); + + if (response.data) { + // @ts-ignore + cms.alerts.success("Changes saved!"); + window.location.href = `/${values.locale}${values.path}`; + } else { + // @ts-ignore + cms.alerts.error("Error while saving changes"); + } + } catch (error) { + console.log(error); + // @ts-ignore + cms.alerts.error("Error while saving changes"); + } + }, + }; +} + export function getPageCreateInput( input: PageDataCreateInput ): CreatePageInput { @@ -273,6 +425,21 @@ export function getPageCreateInput( }; } +export function getProjectCreateInput( + input: ProjectDataCreateInput +): CreateProjectInput { + return { + data: { + companyName: input.companyName, + projectType: input.projectType, + linkLabel: input.linkLabel || "Discover more", + linkPath: input.linkPath, + description: input.description, + path: input.path, + }, + }; +} + function getMenuInput(data: MenuData): UpdateMenuInput { return { where: { id: data.id }, From 4f2be897cf2239e878b37cbfe5db02f01cce057d Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Tue, 31 Aug 2021 10:41:16 +0200 Subject: [PATCH 17/21] Move project creator plugin feature on another branch --- frontend/graphql/createProject.graphql | 7 - frontend/graphql/generated.ts | 25 ---- frontend/pages/projects/index.tsx | 176 ++----------------------- frontend/plugins/usePagePlugin.ts | 149 --------------------- 4 files changed, 8 insertions(+), 349 deletions(-) delete mode 100644 frontend/graphql/createProject.graphql diff --git a/frontend/graphql/createProject.graphql b/frontend/graphql/createProject.graphql deleted file mode 100644 index ce694dbd..00000000 --- a/frontend/graphql/createProject.graphql +++ /dev/null @@ -1,7 +0,0 @@ -mutation CreateProject($input: createProjectInput) { - createProject(input: $input) { - project { - id - } - } -} diff --git a/frontend/graphql/generated.ts b/frontend/graphql/generated.ts index e3a2269a..9ec0faac 100644 --- a/frontend/graphql/generated.ts +++ b/frontend/graphql/generated.ts @@ -1853,22 +1853,6 @@ export type CreatePageMutation = ( )> } ); -export type CreateProjectMutationVariables = Exact<{ - input?: Maybe; -}>; - - -export type CreateProjectMutation = ( - { __typename?: 'Mutation' } - & { createProject?: Maybe<( - { __typename?: 'createProjectPayload' } - & { project?: Maybe<( - { __typename?: 'Project' } - & Pick - )> } - )> } -); - export type GetGlobalQueryVariables = Exact<{ [key: string]: never; }>; @@ -2069,15 +2053,6 @@ export const CreatePage = ` } } `; -export const CreateProject = ` - mutation CreateProject($input: createProjectInput) { - createProject(input: $input) { - project { - id - } - } -} - `; export const GetGlobal = ` query getGlobal { global { diff --git a/frontend/pages/projects/index.tsx b/frontend/pages/projects/index.tsx index 7ccac0d8..36d63110 100644 --- a/frontend/pages/projects/index.tsx +++ b/frontend/pages/projects/index.tsx @@ -12,8 +12,6 @@ import { NavBar, NavMenuMobile } from "@features/mainNavigation"; import { NAV_BLOCK } from "@features/mainNavigation/blocks"; import { NavBlockData } from "@features/mainNavigation/blocks/NavigationBlock"; import { - CreateProject, - CreateProjectInput, GetGlobal, GetGlobalQuery, GetGlobalQueryVariables, @@ -29,7 +27,6 @@ import { getPageCreatorPlugin, GlobalData, LocalizationsData, - ProjectDataCreateInput, } from "@plugins/usePagePlugin"; import { filterListNullableItems } from "@utils"; import { GetStaticProps } from "next"; @@ -37,14 +34,7 @@ import Link from "next/link"; import { useRouter } from "next/router"; import React from "react"; import { InlineBlocks, InlineForm } from "react-tinacms-inline"; -import { - ContentCreatorPlugin, - Form, - FormOptions, - useCMS, - useForm, - usePlugin, -} from "tinacms"; +import { Form, FormOptions, useCMS, useForm, usePlugin } from "tinacms"; interface Project { id: string; @@ -82,14 +72,6 @@ interface DynamicPageProps { }; } -export interface PreviewImageProps { - id: string; - type: string; - directory: string; - fileName: string; - previewSrc: string; -} - function wrap(value: T | T[]): T[] { if (Array.isArray(value)) { return value; @@ -118,7 +100,13 @@ export default function Index({ data }: DynamicPageProps) { availableLocales.splice(index, 1); return ( - + @@ -491,12 +479,6 @@ function useProjectPlugin(data: GlobalData): [GlobalData, Form] { }); usePlugin(creatorPlugin); - const projectCreatorPlugin = getProjectCreatorPlugin({ - locales: router.locales || [], - }); - - usePlugin(projectCreatorPlugin); - return [formData, form]; } @@ -550,145 +532,3 @@ function getProjectsData( ): Project[] | undefined { return projects as Project[]; } - -interface ProjectCreatorPluginOptions { - locales: string[]; -} - -export function getProjectCreatorPlugin( - options: ProjectCreatorPluginOptions -): ContentCreatorPlugin { - return { - __type: "content-creator", - name: "Add new project", - fields: [ - { - label: "Company name", - name: "companyName", - component: "text", - validate(name: string) { - if (!name) return "Required."; - }, - }, - { - label: "Path", - name: "path", - component: "text", - defaultValue: "/projects/", - description: "The path to the page ( e.g. /projects/something )", - validate(path: string) { - if (!path) { - return "Required."; - } - if (!path.startsWith("/projects")) { - return "Path must start with /projects"; - } - }, - }, - { - label: "Project type", - name: "projectType", - component: "text", - validate(type: string) { - if (!type) return "Required."; - }, - }, - { - label: "Description", - name: "description", - component: "textarea", - validate(description: string) { - if (!description) return "Required."; - }, - }, - { - label: "Locale", - name: "locale", - component: "select", - defaultValue: "en", - description: "Select a locale for this page", - // @ts-ignore - options: options.locales, - }, - { - label: "Link path", - name: "linkPath", - component: "text", - validate(linkPath: string) { - if (!linkPath) return "Required."; - if (!linkPath.startsWith("/")) { - return "Path should start with /"; - } - }, - }, - { - label: "Link label", - name: "linkLabel", - component: "text", - }, - { - label: "Image", - name: "image", - component: "image", - parse: (media) => media, - // @ts-ignore - uploadDir: () => "/", - previewSrc: (imageSrc: PreviewImageProps) => { - if (imageSrc.previewSrc === "") { - return "/images/default-image.png"; - } - return imageSrc.previewSrc; - }, - /*uploadDir={() => "/"} - previewSrc={(imageSrc) => { - if (imageSrc === "") { - return "/images/default-image.png"; - } - - return imageSrc; - }} - parse={(media) => { - return media as any; - }}*/ - }, - ], - onSubmit: async (values, cms) => { - const input = getProjectCreateInput(values); - - try { - const response = await cms.api.strapi.fetchGraphql(CreateProject, { - input, - }); - - if (response.data) { - // @ts-ignore - cms.alerts.success("Changes saved!"); - window.location.href = `/${values.locale}${values.path}`; - } else { - // @ts-ignore - cms.alerts.error("Error while saving changes"); - } - } catch (error) { - console.log(error); - // @ts-ignore - cms.alerts.error("Error while saving changes"); - } - }, - }; -} - -export function getProjectCreateInput( - input: ProjectDataCreateInput -): CreateProjectInput { - return { - data: { - companyName: input.companyName, - projectType: input.projectType, - linkLabel: input.linkLabel || "Discover more", - linkPath: input.linkPath, - description: input.description, - path: input.path, - image: input.image.id, - }, - }; -} diff --git a/frontend/plugins/usePagePlugin.ts b/frontend/plugins/usePagePlugin.ts index 1c5066a2..a1b7fe17 100644 --- a/frontend/plugins/usePagePlugin.ts +++ b/frontend/plugins/usePagePlugin.ts @@ -3,8 +3,6 @@ import { SectionBlockData } from "@features/page"; import { CreatePage, CreatePageInput, - CreateProject, - CreateProjectInput, SaveChanges, UpdateMenuInput, UpdatePageInput, @@ -19,7 +17,6 @@ import { usePlugin, } from "tinacms"; import { assertNever } from "@utils"; -import { PreviewImageProps } from "pages/projects"; export interface PageData { id: string; @@ -119,12 +116,7 @@ export function usePagePlugin(data: Data): [Data, Form] { locales: router.locales || [], }); - const projectCreatorPlugin = getProjectCreatorPlugin({ - locales: router.locales || [], - }); - usePlugin(pageCreatorPlugin); - usePlugin(projectCreatorPlugin); return [formData, form]; } @@ -287,132 +279,6 @@ export function getPageCreatorPlugin( }; } -interface ProjectCreatorPluginOptions { - locales: string[]; -} - -export function getProjectCreatorPlugin( - options: ProjectCreatorPluginOptions -): ContentCreatorPlugin { - return { - __type: "content-creator", - name: "Add new project", - fields: [ - { - label: "Company name", - name: "companyName", - component: "text", - validate(name: string) { - if (!name) return "Required."; - }, - }, - { - label: "Path", - name: "path", - component: "text", - defaultValue: "/projects/", - description: "The path to the page ( e.g. /projects/something )", - validate(path: string) { - if (!path) { - return "Required."; - } - if (!path.startsWith("/projects")) { - return "Path must start with /projects"; - } - }, - }, - { - label: "Project type", - name: "projectType", - component: "text", - validate(type: string) { - if (!type) return "Required."; - }, - }, - { - label: "Description", - name: "description", - component: "textarea", - validate(description: string) { - if (!description) return "Required."; - }, - }, - { - label: "Locale", - name: "locale", - component: "select", - defaultValue: "en", - description: "Select a locale for this page", - // @ts-ignore - options: options.locales, - }, - { - label: "Link path", - name: "linkPath", - component: "text", - validate(linkPath: string) { - if (!linkPath) return "Required."; - if (!linkPath.startsWith("/")) { - return "Path should start with /"; - } - }, - }, - { - label: "Link label", - name: "linkLabel", - component: "text", - }, - { - label: "Image", - name: "image", - component: "image", - parse: (media) => media, - // @ts-ignore - uploadDir: () => "/", - previewSrc: (imageSrc: PreviewImageProps) => { - if (imageSrc.previewSrc === "") { - return "/images/default-image.png"; - } - return imageSrc.previewSrc; - }, - /*uploadDir={() => "/"} - previewSrc={(imageSrc) => { - if (imageSrc === "") { - return "/images/default-image.png"; - } - - return imageSrc; - }} - parse={(media) => { - return media as any; - }}*/ - }, - ], - onSubmit: async (values, cms) => { - const input = getProjectCreateInput(values); - - try { - const response = await cms.api.strapi.fetchGraphql(CreateProject, { - input, - }); - - if (response.data) { - // @ts-ignore - cms.alerts.success("Changes saved!"); - window.location.href = `/${values.locale}${values.path}`; - } else { - // @ts-ignore - cms.alerts.error("Error while saving changes"); - } - } catch (error) { - console.log(error); - // @ts-ignore - cms.alerts.error("Error while saving changes"); - } - }, - }; -} - export function getPageCreateInput( input: PageDataCreateInput ): CreatePageInput { @@ -425,21 +291,6 @@ export function getPageCreateInput( }; } -export function getProjectCreateInput( - input: ProjectDataCreateInput -): CreateProjectInput { - return { - data: { - companyName: input.companyName, - projectType: input.projectType, - linkLabel: input.linkLabel || "Discover more", - linkPath: input.linkPath, - description: input.description, - path: input.path, - }, - }; -} - function getMenuInput(data: MenuData): UpdateMenuInput { return { where: { id: data.id }, From 61c30271c3384a34c8fbd3477011b5ddd458727a Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Thu, 2 Sep 2021 09:37:27 +0200 Subject: [PATCH 18/21] Merge branch v3 into projects-list --- .../api/global/models/global.settings.json | 20 +++++++++++ backend/components/global/company-data.json | 36 +++++++++++++++++++ backend/components/global/footer.json | 13 +++++++ backend/components/global/headquarter.json | 28 +++++++++++++++ frontend/graphql/getGlobal.graphql | 24 +++++++++++++ frontend/package.json | 4 +-- 6 files changed, 123 insertions(+), 2 deletions(-) create mode 100644 backend/components/global/company-data.json create mode 100644 backend/components/global/footer.json create mode 100644 backend/components/global/headquarter.json diff --git a/backend/api/global/models/global.settings.json b/backend/api/global/models/global.settings.json index 124768ab..2fb650ea 100644 --- a/backend/api/global/models/global.settings.json +++ b/backend/api/global/models/global.settings.json @@ -25,6 +25,26 @@ } }, "component": "global.topbar" + }, + "companyData": { + "type": "component", + "repeatable": false, + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "component": "global.company-data" + }, + "footer": { + "type": "component", + "repeatable": false, + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "component": "global.footer" } } } diff --git a/backend/components/global/company-data.json b/backend/components/global/company-data.json new file mode 100644 index 00000000..76331182 --- /dev/null +++ b/backend/components/global/company-data.json @@ -0,0 +1,36 @@ +{ + "collectionName": "components_global_company_data", + "info": { + "name": "companyData", + "icon": "angle-double-up" + }, + "options": {}, + "attributes": { + "primaryEmail": { + "type": "string" + }, + "companyName": { + "type": "string" + }, + "additionalLegalInfo": { + "type": "string" + }, + "locations": { + "type": "component", + "repeatable": true, + "component": "global.headquarter" + }, + "capital": { + "type": "biginteger" + }, + "vatId": { + "type": "string" + }, + "copyright": { + "type": "string" + }, + "legalCompanyName": { + "type": "string" + } + } +} diff --git a/backend/components/global/footer.json b/backend/components/global/footer.json new file mode 100644 index 00000000..ff2bf836 --- /dev/null +++ b/backend/components/global/footer.json @@ -0,0 +1,13 @@ +{ + "collectionName": "components_global_footers", + "info": { + "name": "footer", + "icon": "angle-down" + }, + "options": {}, + "attributes": { + "description": { + "type": "richtext" + } + } +} diff --git a/backend/components/global/headquarter.json b/backend/components/global/headquarter.json new file mode 100644 index 00000000..27f086a7 --- /dev/null +++ b/backend/components/global/headquarter.json @@ -0,0 +1,28 @@ +{ + "collectionName": "components_global_headquarters", + "info": { + "name": "headquarter", + "icon": "angry" + }, + "options": {}, + "attributes": { + "province": { + "type": "string" + }, + "provinceInitials": { + "type": "string" + }, + "type": { + "type": "string" + }, + "street": { + "type": "string" + }, + "city": { + "type": "string" + }, + "cap": { + "type": "biginteger" + } + } +} diff --git a/frontend/graphql/getGlobal.graphql b/frontend/graphql/getGlobal.graphql index e7139c5b..908d304a 100644 --- a/frontend/graphql/getGlobal.graphql +++ b/frontend/graphql/getGlobal.graphql @@ -14,5 +14,29 @@ query getGlobal { } } } + + companyData { + id + primaryEmail + companyName + copyright + vatId + capital + additionalLegalInfo + locations { + __typename + id + province + provinceInitials + type + street + city + cap + } + } + footer { + id + description + } } } diff --git a/frontend/package.json b/frontend/package.json index 351d7bae..65a19ce4 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -17,7 +17,7 @@ "@emotion/styled": "11.3.0", "@graphql-codegen/typescript-document-nodes": "1.17.13", "framer-motion": "4.1.17", - "graphql": "^15.5.1", + "graphql": "15.5.1", "graphql-codegen": "0.4.0", "next": "11.0.0", "react": "17.0.2", @@ -39,4 +39,4 @@ "eslint-config-next": "11.0.0", "typescript": "4.3.4" } -} \ No newline at end of file +} From c09da07609f2e89a3cfe3b091183ea9430400c00 Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Thu, 2 Sep 2021 10:01:51 +0200 Subject: [PATCH 19/21] Add chakra ui container width to set section width --- .../sections/ProjectsListSection/ProjectsListSectionBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/features/page/sections/ProjectsListSection/ProjectsListSectionBlock.tsx b/frontend/features/page/sections/ProjectsListSection/ProjectsListSectionBlock.tsx index 918a1831..09475f2c 100644 --- a/frontend/features/page/sections/ProjectsListSection/ProjectsListSectionBlock.tsx +++ b/frontend/features/page/sections/ProjectsListSection/ProjectsListSectionBlock.tsx @@ -48,7 +48,7 @@ export function ProjectListSection({ flexDir="column" w={{ base: "full", - xl: "1200px", + xl: "container.xl", }} px={{ base: "10", From 9565d62298eb51255d1373d1ec0b26454a8d2cf9 Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Tue, 7 Sep 2021 18:09:52 +0200 Subject: [PATCH 20/21] Test Strapi production --- frontend/.env.environment | 2 +- frontend/codegen.yml | 4 +- frontend/config/env.ts | 2 +- .../CardListSection/blocks/CardBlock.tsx | 4 +- frontend/graphql.schema.json | 10333 +++++++--------- frontend/graphql/generated.ts | 1205 +- frontend/graphql/getProjects.graphql | 5 - frontend/package-lock.json | 142 +- frontend/package.json | 14 +- frontend/pages/[[...slug]].tsx | 4 +- frontend/pages/projects/index.tsx | 83 +- 11 files changed, 5517 insertions(+), 6281 deletions(-) diff --git a/frontend/.env.environment b/frontend/.env.environment index 393ac2b8..54626087 100644 --- a/frontend/.env.environment +++ b/frontend/.env.environment @@ -1 +1 @@ -NEXT_PUBLIC_STRAPI_URL=http://localhost:1337 \ No newline at end of file +NEXT_PUBLIC_STRAPI_URL=https://strapi.inkofpixel.com \ No newline at end of file diff --git a/frontend/codegen.yml b/frontend/codegen.yml index 5e948684..0eb40d7a 100644 --- a/frontend/codegen.yml +++ b/frontend/codegen.yml @@ -1,12 +1,12 @@ overwrite: true -schema: "http://localhost:1337/graphql" +schema: "https://strapi.inkofpixel.com/graphql" documents: "./graphql/**/*.graphql" generates: ./graphql/generated.ts: plugins: - "typescript" - "typescript-operations" - - "typescript-document-nodes" + - typescript-document-nodes config: documentMode: "string" ./graphql.schema.json: diff --git a/frontend/config/env.ts b/frontend/config/env.ts index 212f4408..2a738be0 100644 --- a/frontend/config/env.ts +++ b/frontend/config/env.ts @@ -1,5 +1,5 @@ export const STRAPI_URL = checkEnv( - "http://localhost:1337", + "http://strapi.inkofpixel.com", "NEXT_PUBLIC_STRAPI_URL" ); diff --git a/frontend/features/page/sections/CardListSection/blocks/CardBlock.tsx b/frontend/features/page/sections/CardListSection/blocks/CardBlock.tsx index 65a9a7fa..59cd0864 100644 --- a/frontend/features/page/sections/CardListSection/blocks/CardBlock.tsx +++ b/frontend/features/page/sections/CardListSection/blocks/CardBlock.tsx @@ -15,8 +15,8 @@ export type CardBlockData = BlockTemplateData< { id: string; image?: Nullable; - title: string; - description: string; + title: Nullable; + description: Nullable; link: LinkData; } >; diff --git a/frontend/graphql.schema.json b/frontend/graphql.schema.json index 4e9c1e36..ea85a050 100644 --- a/frontend/graphql.schema.json +++ b/frontend/graphql.schema.json @@ -14,7 +14,7 @@ "description": null, "fields": [ { - "name": "id", + "name": "firstname", "description": null, "args": [], "type": { @@ -22,7 +22,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, @@ -30,19 +30,23 @@ "deprecationReason": null }, { - "name": "username", + "name": "id", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "firstname", + "name": "lastname", "description": null, "args": [], "type": { @@ -58,17 +62,13 @@ "deprecationReason": null }, { - "name": "lastname", + "name": "username", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -81,18 +81,8 @@ }, { "kind": "SCALAR", - "name": "ID", - "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "String", - "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", + "name": "Boolean", + "description": "The `Boolean` scalar type represents `true` or `false`.", "fields": null, "inputFields": null, "interfaces": null, @@ -105,39 +95,19 @@ "description": null, "fields": [ { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", + "name": "description", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "description", + "name": "id", "description": null, "args": [], "type": { @@ -145,7 +115,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, @@ -165,7 +135,7 @@ "deprecationReason": null }, { - "name": "url", + "name": "label", "description": null, "args": [], "type": { @@ -181,7 +151,19 @@ "deprecationReason": null }, { - "name": "label", + "name": "title", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", "description": null, "args": [], "type": { @@ -208,33 +190,13 @@ "description": null, "fields": null, "inputFields": [ - { - "name": "title", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "description", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -253,7 +215,7 @@ "deprecationReason": null }, { - "name": "url", + "name": "label", "description": null, "type": { "kind": "NON_NULL", @@ -269,7 +231,19 @@ "deprecationReason": null }, { - "name": "label", + "name": "title", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", "description": null, "type": { "kind": "NON_NULL", @@ -291,7 +265,7 @@ }, { "kind": "OBJECT", - "name": "ComponentBlocksNavigationBlock", + "name": "ComponentBlocksLink", "description": null, "fields": [ { @@ -342,7 +316,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "ComponentBlocksNavigationBlockInput", + "name": "ComponentBlocksLinkInput", "description": null, "fields": null, "inputFields": [ @@ -381,17 +355,13 @@ "description": null, "fields": [ { - "name": "id", + "name": "bubbleColor", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -401,19 +371,15 @@ "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "title", + "name": "id", "description": null, "args": [], "type": { @@ -421,7 +387,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, @@ -441,7 +407,7 @@ "deprecationReason": null }, { - "name": "url", + "name": "label", "description": null, "args": [], "type": { @@ -457,7 +423,7 @@ "deprecationReason": null }, { - "name": "bubbleColor", + "name": "title", "description": null, "args": [], "type": { @@ -469,7 +435,7 @@ "deprecationReason": null }, { - "name": "label", + "name": "url", "description": null, "args": [], "type": { @@ -497,32 +463,24 @@ "fields": null, "inputFields": [ { - "name": "description", + "name": "bubbleColor", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "title", + "name": "description", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -541,7 +499,7 @@ "deprecationReason": null }, { - "name": "url", + "name": "label", "description": null, "type": { "kind": "NON_NULL", @@ -557,7 +515,7 @@ "deprecationReason": null }, { - "name": "bubbleColor", + "name": "title", "description": null, "type": { "kind": "SCALAR", @@ -569,7 +527,7 @@ "deprecationReason": null }, { - "name": "label", + "name": "url", "description": null, "type": { "kind": "NON_NULL", @@ -595,23 +553,19 @@ "description": null, "fields": [ { - "name": "id", + "name": "bubbleColor", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "url", + "name": "bubbleHoverColor", "description": null, "args": [], "type": { @@ -623,36 +577,40 @@ "deprecationReason": null }, { - "name": "bubbleColor", + "name": "id", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "bubbleHoverColor", + "name": "image", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFile", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "image", + "name": "url", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFile", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -671,7 +629,7 @@ "fields": null, "inputFields": [ { - "name": "url", + "name": "bubbleColor", "description": null, "type": { "kind": "SCALAR", @@ -683,7 +641,7 @@ "deprecationReason": null }, { - "name": "bubbleColor", + "name": "bubbleHoverColor", "description": null, "type": { "kind": "SCALAR", @@ -695,11 +653,11 @@ "deprecationReason": null }, { - "name": "bubbleHoverColor", + "name": "image", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -707,11 +665,11 @@ "deprecationReason": null }, { - "name": "image", + "name": "url", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -725,82 +683,28 @@ }, { "kind": "OBJECT", - "name": "ComponentGlobalBottomBar", + "name": "ComponentGlobalCompanyData", "description": null, "fields": [ { - "name": "id", + "name": "additionalLegalInfo", "description": null, "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ComponentGlobalBottomBarInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "_", - "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ComponentGlobalCompanyData", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, "isDeprecated": false, "deprecationReason": null }, { - "name": "primaryEmail", + "name": "capital", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null }, "isDeprecated": false, @@ -819,7 +723,7 @@ "deprecationReason": null }, { - "name": "additionalLegalInfo", + "name": "copyright", "description": null, "args": [], "type": { @@ -831,15 +735,15 @@ "deprecationReason": null }, { - "name": "locations", + "name": "id", "description": null, "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ComponentGlobalHeadquarter", + "kind": "SCALAR", + "name": "ID", "ofType": null } }, @@ -847,31 +751,35 @@ "deprecationReason": null }, { - "name": "capital", + "name": "legalCompanyName", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "vatId", + "name": "locations", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ComponentGlobalHeadquarter", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "copyright", + "name": "primaryEmail", "description": null, "args": [], "type": { @@ -883,7 +791,7 @@ "deprecationReason": null }, { - "name": "legalCompanyName", + "name": "vatId", "description": null, "args": [], "type": { @@ -907,7 +815,7 @@ "fields": null, "inputFields": [ { - "name": "primaryEmail", + "name": "additionalLegalInfo", "description": null, "type": { "kind": "SCALAR", @@ -919,11 +827,11 @@ "deprecationReason": null }, { - "name": "companyName", + "name": "capital", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null }, "defaultValue": null, @@ -931,7 +839,7 @@ "deprecationReason": null }, { - "name": "additionalLegalInfo", + "name": "companyName", "description": null, "type": { "kind": "SCALAR", @@ -943,27 +851,23 @@ "deprecationReason": null }, { - "name": "locations", + "name": "copyright", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ComponentGlobalHeadquarterInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "capital", + "name": "legalCompanyName", "description": null, "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null }, "defaultValue": null, @@ -971,19 +875,23 @@ "deprecationReason": null }, { - "name": "vatId", + "name": "locations", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ComponentGlobalHeadquarterInput", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "copyright", + "name": "primaryEmail", "description": null, "type": { "kind": "SCALAR", @@ -995,7 +903,7 @@ "deprecationReason": null }, { - "name": "legalCompanyName", + "name": "vatId", "description": null, "type": { "kind": "SCALAR", @@ -1016,22 +924,6 @@ "name": "ComponentGlobalFooter", "description": null, "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "description", "description": null, @@ -1043,18 +935,7 @@ }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ComponentGlobalFooterData", - "description": null, - "fields": [ + }, { "name": "id", "description": null, @@ -1070,18 +951,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -1089,29 +958,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "ComponentGlobalFooterDatumInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", "name": "ComponentGlobalFooterInput", @@ -1141,23 +987,19 @@ "description": null, "fields": [ { - "name": "id", + "name": "cap", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "Long", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "province", + "name": "city", "description": null, "args": [], "type": { @@ -1169,19 +1011,23 @@ "deprecationReason": null }, { - "name": "provinceInitials", + "name": "id", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "type", + "name": "province", "description": null, "args": [], "type": { @@ -1193,7 +1039,7 @@ "deprecationReason": null }, { - "name": "street", + "name": "provinceInitials", "description": null, "args": [], "type": { @@ -1205,7 +1051,7 @@ "deprecationReason": null }, { - "name": "city", + "name": "street", "description": null, "args": [], "type": { @@ -1217,12 +1063,12 @@ "deprecationReason": null }, { - "name": "cap", + "name": "type", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -1241,11 +1087,11 @@ "fields": null, "inputFields": [ { - "name": "province", + "name": "cap", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null }, "defaultValue": null, @@ -1253,7 +1099,7 @@ "deprecationReason": null }, { - "name": "provinceInitials", + "name": "city", "description": null, "type": { "kind": "SCALAR", @@ -1265,7 +1111,7 @@ "deprecationReason": null }, { - "name": "type", + "name": "province", "description": null, "type": { "kind": "SCALAR", @@ -1277,7 +1123,7 @@ "deprecationReason": null }, { - "name": "street", + "name": "provinceInitials", "description": null, "type": { "kind": "SCALAR", @@ -1289,7 +1135,7 @@ "deprecationReason": null }, { - "name": "city", + "name": "street", "description": null, "type": { "kind": "SCALAR", @@ -1301,11 +1147,11 @@ "deprecationReason": null }, { - "name": "cap", + "name": "type", "description": null, "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null }, "defaultValue": null, @@ -1381,7 +1227,7 @@ }, { "kind": "OBJECT", - "name": "ComponentMenuPageLink", + "name": "ComponentProjectBlockquoteBlock", "description": null, "fields": [ { @@ -1401,28 +1247,12 @@ "deprecationReason": null }, { - "name": "pageLinkName", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "link", + "name": "text", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "Pages", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -1436,32 +1266,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "ComponentMenuPageLinkInput", + "name": "ComponentProjectBlockquoteBlockInput", "description": null, "fields": null, "inputFields": [ { - "name": "pageLinkName", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "link", + "name": "text", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -1475,7 +1289,7 @@ }, { "kind": "OBJECT", - "name": "ComponentProjectBlockquoteBlock", + "name": "ComponentProjectImageBlock", "description": null, "fields": [ { @@ -1495,12 +1309,12 @@ "deprecationReason": null }, { - "name": "text", + "name": "image", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFile", "ofType": null }, "isDeprecated": false, @@ -1514,16 +1328,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "ComponentProjectBlockquoteBlockInput", + "name": "ComponentProjectImageBlockInput", "description": null, "fields": null, "inputFields": [ { - "name": "text", + "name": "image", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -1537,7 +1351,7 @@ }, { "kind": "OBJECT", - "name": "ComponentProjectImageBlock", + "name": "ComponentProjectParagraphBlock", "description": null, "fields": [ { @@ -1557,12 +1371,12 @@ "deprecationReason": null }, { - "name": "image", + "name": "text", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFile", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -1576,16 +1390,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "ComponentProjectImageBlockInput", + "name": "ComponentProjectParagraphBlockInput", "description": null, "fields": null, "inputFields": [ { - "name": "image", + "name": "text", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -1599,7 +1413,7 @@ }, { "kind": "OBJECT", - "name": "ComponentProjectParagraphBlock", + "name": "ComponentSectionCardSection", "description": null, "fields": [ { @@ -1619,7 +1433,47 @@ "deprecationReason": null }, { - "name": "text", + "name": "sectionTitle", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sections", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ComponentBlocksCard", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subtitle", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", "description": null, "args": [], "type": { @@ -1638,12 +1492,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "ComponentProjectParagraphBlockInput", + "name": "ComponentSectionCardSectionInput", "description": null, "fields": null, "inputFields": [ { - "name": "text", + "name": "sectionTitle", "description": null, "type": { "kind": "SCALAR", @@ -1653,57 +1507,35 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ComponentProjectTitleBlock", - "description": null, - "fields": [ + }, { - "name": "id", + "name": "sections", "description": null, - "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "INPUT_OBJECT", + "name": "ComponentBlocksCardInput", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "title", + "name": "subtitle", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ComponentProjectTitleBlockInput", - "description": null, - "fields": null, - "inputFields": [ + }, { "name": "title", "description": null, @@ -1723,9 +1555,21 @@ }, { "kind": "OBJECT", - "name": "ComponentSectionCardSection", + "name": "ComponentSectionContactsSection", "description": null, "fields": [ + { + "name": "email", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "id", "description": null, @@ -1743,7 +1587,7 @@ "deprecationReason": null }, { - "name": "title", + "name": "sectionTitle", "description": null, "args": [], "type": { @@ -1755,35 +1599,35 @@ "deprecationReason": null }, { - "name": "subtitle", + "name": "socialBubbles", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ComponentBlocksSocialBubble", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "sections", + "name": "subtitle", "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ComponentBlocksCard", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "sectionTitle", + "name": "title", "description": null, "args": [], "type": { @@ -1802,12 +1646,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "ComponentSectionCardSectionInput", + "name": "ComponentSectionContactsSectionInput", "description": null, "fields": null, "inputFields": [ { - "name": "title", + "name": "email", "description": null, "type": { "kind": "SCALAR", @@ -1819,7 +1663,7 @@ "deprecationReason": null }, { - "name": "subtitle", + "name": "sectionTitle", "description": null, "type": { "kind": "SCALAR", @@ -1831,14 +1675,14 @@ "deprecationReason": null }, { - "name": "sections", + "name": "socialBubbles", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "ComponentBlocksCardInput", + "name": "ComponentBlocksSocialBubbleInput", "ofType": null } }, @@ -1847,7 +1691,19 @@ "deprecationReason": null }, { - "name": "sectionTitle", + "name": "subtitle", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", "description": null, "type": { "kind": "SCALAR", @@ -1865,51 +1721,39 @@ }, { "kind": "OBJECT", - "name": "ComponentSectionContactsSection", + "name": "ComponentSectionHeroSection", "description": null, "fields": [ { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", + "name": "areBubblesActive", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "subtitle", + "name": "id", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "email", + "name": "subtitle", "description": null, "args": [], "type": { @@ -1921,7 +1765,7 @@ "deprecationReason": null }, { - "name": "sectionTitle", + "name": "title", "description": null, "args": [], "type": { @@ -1931,22 +1775,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "socialBubbles", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ComponentBlocksSocialBubble", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -1956,16 +1784,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "ComponentSectionContactsSectionInput", + "name": "ComponentSectionHeroSectionInput", "description": null, "fields": null, "inputFields": [ { - "name": "title", + "name": "areBubblesActive", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null, @@ -1985,19 +1813,7 @@ "deprecationReason": null }, { - "name": "email", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sectionTitle", + "name": "title", "description": null, "type": { "kind": "SCALAR", @@ -2007,22 +1823,6 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "socialBubbles", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ComponentBlocksSocialBubbleInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null } ], "interfaces": null, @@ -2031,7 +1831,7 @@ }, { "kind": "OBJECT", - "name": "ComponentSectionFooterSection", + "name": "ComponentSectionSimpleSection", "description": null, "fields": [ { @@ -2051,31 +1851,7 @@ "deprecationReason": null }, { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "copyright", + "name": "sectionTitle", "description": null, "args": [], "type": { @@ -2087,7 +1863,7 @@ "deprecationReason": null }, { - "name": "sharedCapital", + "name": "sectionTitleColor", "description": null, "args": [], "type": { @@ -2099,7 +1875,7 @@ "deprecationReason": null }, { - "name": "street", + "name": "subtitle", "description": null, "args": [], "type": { @@ -2111,7 +1887,7 @@ "deprecationReason": null }, { - "name": "city", + "name": "title", "description": null, "args": [], "type": { @@ -2121,30 +1897,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "vatNumber", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cap", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -2152,24 +1904,14 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "SCALAR", - "name": "Int", - "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", - "name": "ComponentSectionFooterSectionInput", + "name": "ComponentSectionSimpleSectionInput", "description": null, "fields": null, "inputFields": [ { - "name": "description", + "name": "sectionTitle", "description": null, "type": { "kind": "SCALAR", @@ -2181,7 +1923,7 @@ "deprecationReason": null }, { - "name": "email", + "name": "sectionTitleColor", "description": null, "type": { "kind": "SCALAR", @@ -2193,7 +1935,7 @@ "deprecationReason": null }, { - "name": "copyright", + "name": "subtitle", "description": null, "type": { "kind": "SCALAR", @@ -2205,7 +1947,7 @@ "deprecationReason": null }, { - "name": "sharedCapital", + "name": "title", "description": null, "type": { "kind": "SCALAR", @@ -2215,127 +1957,168 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ComponentSectionSingleFeatureSection", + "description": null, + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "street", + "name": "sectionTitle", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "city", + "name": "sections", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ComponentBlocksSingleFeature", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "vatNumber", + "name": "subtitle", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "cap", + "name": "title", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "ComponentSectionHeroSection", + "kind": "INPUT_OBJECT", + "name": "ComponentSectionSingleFeatureSectionInput", "description": null, - "fields": [ + "fields": null, + "inputFields": [ { - "name": "id", + "name": "sectionTitle", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "title", + "name": "sections", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "ComponentBlocksSingleFeatureInput", + "ofType": null + } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { "name": "subtitle", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "areBubblesActive", + "name": "title", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Date", + "description": "A date string, such as 2007-12-03, compliant with the `full-date` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.", + "fields": null, "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", - "name": "Boolean", - "description": "The `Boolean` scalar type represents `true` or `false`.", + "name": "DateTime", + "description": "A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.", "fields": null, "inputFields": null, "interfaces": null, @@ -2344,12 +2127,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "ComponentSectionHeroSectionInput", + "name": "FileInfoInput", "description": null, "fields": null, "inputFields": [ { - "name": "title", + "name": "alternativeText", "description": null, "type": { "kind": "SCALAR", @@ -2361,7 +2144,7 @@ "deprecationReason": null }, { - "name": "subtitle", + "name": "caption", "description": null, "type": { "kind": "SCALAR", @@ -2373,11 +2156,11 @@ "deprecationReason": null }, { - "name": "areBubblesActive", + "name": "name", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, "defaultValue": null, @@ -2390,64 +2173,49 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "ComponentSectionProjectsSection", + "kind": "INPUT_OBJECT", + "name": "FileInput", "description": null, - "fields": [ + "fields": null, + "inputFields": [ { - "name": "id", + "name": "alternativeText", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "sectionTitle", + "name": "caption", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "sectionTitleColor", + "name": "created_by", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ComponentSectionProjectsSectionInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "sectionTitle", + "name": "ext", "description": null, "type": { "kind": "SCALAR", @@ -2459,117 +2227,79 @@ "deprecationReason": null }, { - "name": "sectionTitleColor", + "name": "formats", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ComponentSectionSimpleSection", - "description": null, - "fields": [ + }, { - "name": "id", + "name": "hash", "description": null, - "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "sectionTitle", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sectionTitleColor", + "name": "height", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "title", + "name": "mime", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "subtitle", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "ComponentSectionSimpleSectionInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "sectionTitle", + "name": "name", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "sectionTitleColor", + "name": "previewUrl", "description": null, "type": { "kind": "SCALAR", @@ -2581,45 +2311,38 @@ "deprecationReason": null }, { - "name": "title", + "name": "provider", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "subtitle", + "name": "provider_metadata", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ComponentSectionSingleFeatureSection", - "description": null, - "fields": [ + }, { - "name": "id", + "name": "related", "description": null, - "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", @@ -2627,79 +2350,93 @@ "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "title", + "name": "size", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "subtitle", + "name": "updated_by", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "sections", + "name": "url", "description": null, - "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ComponentBlocksSingleFeature", + "kind": "SCALAR", + "name": "String", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "sectionTitle", + "name": "width", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Float", + "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", + "fields": null, "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "ComponentSectionSingleFeatureSectionInput", + "name": "FormMessageInput", "description": null, "fields": null, "inputFields": [ { - "name": "title", + "name": "created_by", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -2707,7 +2444,7 @@ "deprecationReason": null }, { - "name": "subtitle", + "name": "email", "description": null, "type": { "kind": "SCALAR", @@ -2719,23 +2456,19 @@ "deprecationReason": null }, { - "name": "sections", + "name": "message", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "ComponentBlocksSingleFeatureInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "sectionTitle", + "name": "name", "description": null, "type": { "kind": "SCALAR", @@ -2745,44 +2478,13 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Date", - "description": "A date string, such as 2007-12-03, compliant with the `full-date` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "DateTime", - "description": "A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "FileInfoInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "name", + "name": "published_at", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null }, "defaultValue": null, @@ -2790,23 +2492,11 @@ "deprecationReason": null }, { - "name": "alternativeText", + "name": "updated_by", "description": null, "type": { "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "caption", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -2819,408 +2509,357 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "FileInput", + "kind": "OBJECT", + "name": "FormMessages", "description": null, - "fields": null, - "inputFields": [ + "fields": [ { - "name": "name", + "name": "created_at", "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "alternativeText", + "name": "email", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "caption", + "name": "id", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "width", + "name": "message", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "height", + "name": "name", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "formats", + "name": "published_at", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "JSON", + "name": "DateTime", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "hash", + "name": "updated_at", "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FormMessagesAggregator", + "description": null, + "fields": [ { - "name": "ext", + "name": "count", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mime", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "size", + "name": "totalCount", "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FormMessagesConnection", + "description": null, + "fields": [ { - "name": "url", + "name": "aggregate", "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "OBJECT", + "name": "FormMessagesAggregator", + "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "previewUrl", + "name": "groupBy", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "FormMessagesGroupBy", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "provider", + "name": "values", "description": null, + "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "FormMessages", "ofType": null } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FormMessagesConnectionCreated_at", + "description": null, + "fields": [ { - "name": "provider_metadata", + "name": "connection", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "OBJECT", + "name": "FormMessagesConnection", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "related", + "name": "key", "description": null, + "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "DateTime", + "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FormMessagesConnectionEmail", + "description": null, + "fields": [ { - "name": "created_by", + "name": "connection", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "FormMessagesConnection", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_by", + "name": "key", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Float", - "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", - "fields": null, "inputFields": null, - "interfaces": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "FormMessageInput", + "kind": "OBJECT", + "name": "FormMessagesConnectionId", "description": null, - "fields": null, - "inputFields": [ + "fields": [ { - "name": "email", + "name": "connection", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "FormMessagesConnection", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "name", + "name": "key", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "message", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "published_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FormMessagesConnectionMessage", + "description": null, + "fields": [ { - "name": "created_by", + "name": "connection", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "FormMessagesConnection", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_by", + "name": "key", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "FormMessages", + "name": "FormMessagesConnectionName", "description": null, "fields": [ { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "email", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "FormMessagesConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "name", + "name": "key", "description": null, "args": [], "type": { @@ -3230,21 +2869,32 @@ }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FormMessagesConnectionPublished_at", + "description": null, + "fields": [ { - "name": "message", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "FormMessagesConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "published_at", + "name": "key", "description": null, "args": [], "type": { @@ -3263,28 +2913,28 @@ }, { "kind": "OBJECT", - "name": "FormMessagesAggregator", + "name": "FormMessagesConnectionUpdated_at", "description": null, "fields": [ { - "name": "count", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "FormMessagesConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "totalCount", + "name": "key", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -3298,11 +2948,11 @@ }, { "kind": "OBJECT", - "name": "FormMessagesConnection", + "name": "FormMessagesGroupBy", "description": null, "fields": [ { - "name": "values", + "name": "created_at", "description": null, "args": [], "type": { @@ -3310,7 +2960,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "FormMessages", + "name": "FormMessagesConnectionCreated_at", "ofType": null } }, @@ -3318,95 +2968,97 @@ "deprecationReason": null }, { - "name": "groupBy", + "name": "email", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "FormMessagesGroupBy", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FormMessagesConnectionEmail", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "aggregate", + "name": "id", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "FormMessagesAggregator", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FormMessagesConnectionId", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FormMessagesConnectionCreated_at", - "description": null, - "fields": [ + }, { - "name": "key", + "name": "message", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FormMessagesConnectionMessage", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "name", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "FormMessagesConnection", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FormMessagesConnectionName", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FormMessagesConnectionEmail", - "description": null, - "fields": [ + }, { - "name": "key", + "name": "published_at", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FormMessagesConnectionPublished_at", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "updated_at", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "FormMessagesConnection", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FormMessagesConnectionUpdated_at", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -3419,102 +3071,104 @@ }, { "kind": "OBJECT", - "name": "FormMessagesConnectionId", + "name": "Global", "description": null, "fields": [ { - "name": "key", + "name": "companyData", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "ComponentGlobalCompanyData", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "created_at", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "FormMessagesConnection", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FormMessagesConnectionMessage", - "description": null, - "fields": [ + }, { - "name": "key", + "name": "footer", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ComponentGlobalFooter", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "id", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "FormMessagesConnection", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FormMessagesConnectionName", - "description": null, - "fields": [ + }, { - "name": "key", + "name": "published_at", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "topbar", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "FormMessagesConnection", + "name": "ComponentGlobalTopbar", "ofType": null }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -3523,92 +3177,101 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "FormMessagesConnectionPublished_at", + "kind": "INPUT_OBJECT", + "name": "GlobalInput", "description": null, - "fields": [ + "fields": null, + "inputFields": [ { - "name": "key", + "name": "companyData", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "ComponentGlobalCompanyDatumInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_by", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "footer", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "FormMessagesConnection", + "kind": "INPUT_OBJECT", + "name": "ComponentGlobalFooterInput", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FormMessagesConnectionUpdated_at", - "description": null, - "fields": [ + }, { - "name": "key", + "name": "published_at", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "DateTime", "ofType": null }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "topbar", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "ComponentGlobalTopbarInput", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "updated_by", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "FormMessagesConnection", + "kind": "SCALAR", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "FormMessagesGroupBy", + "name": "I18NLocale", "description": null, "fields": [ { - "name": "id", + "name": "code", "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FormMessagesConnectionId", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -3618,27 +3281,11 @@ "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FormMessagesConnectionCreated_at", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "FormMessagesConnectionUpdated_at", + "kind": "SCALAR", + "name": "DateTime", "ofType": null } }, @@ -3646,15 +3293,15 @@ "deprecationReason": null }, { - "name": "email", + "name": "id", "description": null, "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "FormMessagesConnectionEmail", + "kind": "SCALAR", + "name": "ID", "ofType": null } }, @@ -3666,43 +3313,23 @@ "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FormMessagesConnectionName", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "message", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FormMessagesConnectionMessage", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "published_at", + "name": "updated_at", "description": null, "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "FormMessagesConnectionPublished_at", + "kind": "SCALAR", + "name": "DateTime", "ofType": null } }, @@ -3716,14 +3343,24 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "Global", + "kind": "SCALAR", + "name": "ID", + "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "InputID", "description": null, - "fields": [ + "fields": null, + "inputFields": [ { "name": "id", "description": null, - "args": [], "type": { "kind": "NON_NULL", "name": null, @@ -3733,131 +3370,47 @@ "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "topbar", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ComponentGlobalTopbar", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "companyData", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ComponentGlobalCompanyData", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "footer", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ComponentGlobalFooter", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "published_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Int", + "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", + "fields": null, "inputFields": null, - "interfaces": [], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "JSON", + "description": "The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).", + "fields": null, + "inputFields": null, + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "GlobalInput", + "name": "LocaleInput", "description": null, "fields": null, "inputFields": [ { - "name": "topbar", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "ComponentGlobalTopbarInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "companyData", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "ComponentGlobalCompanyDatumInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "footer", + "name": "code", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "ComponentGlobalFooterInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, @@ -3865,11 +3418,11 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "created_by", "description": null, "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -3877,11 +3430,11 @@ "deprecationReason": null }, { - "name": "created_by", + "name": "name", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -3905,13 +3458,23 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "SCALAR", + "name": "Long", + "description": "The `Long` scalar type represents 52-bit integers", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", - "name": "I18NLocale", + "name": "Menu", "description": null, "fields": [ { - "name": "id", + "name": "created_at", "description": null, "args": [], "type": { @@ -3919,7 +3482,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "DateTime", "ofType": null } }, @@ -3927,7 +3490,7 @@ "deprecationReason": null }, { - "name": "created_at", + "name": "id", "description": null, "args": [], "type": { @@ -3935,7 +3498,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null } }, @@ -3943,15 +3506,15 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "links", "description": null, "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "ComponentBlocksLink", "ofType": null } }, @@ -3959,7 +3522,7 @@ "deprecationReason": null }, { - "name": "name", + "name": "locale", "description": null, "args": [], "type": { @@ -3971,184 +3534,186 @@ "deprecationReason": null }, { - "name": "code", + "name": "localizations", + "description": null, + "args": [ + { + "name": "limit", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "where", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Menu", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "published_at", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "InputID", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "title", "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "JSON", - "description": "The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "LocaleInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "code", + "name": "updated_at", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "MenuAggregator", + "description": null, + "fields": [ { - "name": "created_by", + "name": "count", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "ID", + "name": "Int", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_by", + "name": "totalCount", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "ID", + "name": "Int", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Long", - "description": "The `Long` scalar type represents 52-bit integers", - "fields": null, "inputFields": null, - "interfaces": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "Menu", + "name": "MenuConnection", "description": null, "fields": [ { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_at", + "name": "aggregate", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "OBJECT", + "name": "MenuAggregator", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "groupBy", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "OBJECT", + "name": "MenuGroupBy", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "links", + "name": "values", "description": null, "args": [], "type": { @@ -4156,40 +3721,12 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ComponentBlocksNavigationBlock", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", + "name": "Menu", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "published_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -4199,28 +3736,28 @@ }, { "kind": "OBJECT", - "name": "MenuAggregator", + "name": "MenuConnectionCreated_at", "description": null, "fields": [ { - "name": "count", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "MenuConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "totalCount", + "name": "key", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -4234,44 +3771,28 @@ }, { "kind": "OBJECT", - "name": "MenuConnection", + "name": "MenuConnectionId", "description": null, "fields": [ { - "name": "values", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Menu", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groupBy", + "name": "connection", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "MenuGroupBy", + "name": "MenuConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "aggregate", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "MenuAggregator", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "isDeprecated": false, @@ -4285,28 +3806,28 @@ }, { "kind": "OBJECT", - "name": "MenuConnectionCreated_at", + "name": "MenuConnectionLocale", "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "MenuConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "MenuConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -4320,28 +3841,28 @@ }, { "kind": "OBJECT", - "name": "MenuConnectionId", + "name": "MenuConnectionPublished_at", "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "MenuConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "MenuConnection", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -4355,28 +3876,28 @@ }, { "kind": "OBJECT", - "name": "MenuConnectionPublished_at", + "name": "MenuConnectionTitle", "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "MenuConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "MenuConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -4390,28 +3911,28 @@ }, { "kind": "OBJECT", - "name": "MenuConnectionTitle", + "name": "MenuConnectionUpdated_at", "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "MenuConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "MenuConnection", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -4425,44 +3946,25 @@ }, { "kind": "OBJECT", - "name": "MenuConnectionUpdated_at", + "name": "MenuGroupBy", "description": null, "fields": [ { - "name": "key", + "name": "created_at", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "connection", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "MenuConnection", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MenuConnectionCreated_at", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MenuGroupBy", - "description": null, - "fields": [ + }, { "name": "id", "description": null, @@ -4480,7 +3982,7 @@ "deprecationReason": null }, { - "name": "created_at", + "name": "locale", "description": null, "args": [], "type": { @@ -4488,7 +3990,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MenuConnectionCreated_at", + "name": "MenuConnectionLocale", "ofType": null } }, @@ -4496,7 +3998,7 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "published_at", "description": null, "args": [], "type": { @@ -4504,7 +4006,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MenuConnectionUpdated_at", + "name": "MenuConnectionPublished_at", "ofType": null } }, @@ -4528,7 +4030,7 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "updated_at", "description": null, "args": [], "type": { @@ -4536,7 +4038,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "MenuConnectionPublished_at", + "name": "MenuConnectionUpdated_at", "ofType": null } }, @@ -4555,6 +4057,18 @@ "description": null, "fields": null, "inputFields": [ + { + "name": "created_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "links", "description": null, @@ -4563,7 +4077,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "ComponentBlocksNavigationBlockInput", + "name": "ComponentBlocksLinkInput", "ofType": null } }, @@ -4572,7 +4086,7 @@ "deprecationReason": null }, { - "name": "title", + "name": "locale", "description": null, "type": { "kind": "SCALAR", @@ -4583,6 +4097,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "localizations", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "published_at", "description": null, @@ -4596,12 +4126,16 @@ "deprecationReason": null }, { - "name": "created_by", + "name": "title", "description": null, "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, @@ -4635,247 +4169,257 @@ "possibleTypes": [ { "kind": "OBJECT", - "name": "UsersPermissionsMe", + "name": "ComponentBlocksCard", "ofType": null }, { "kind": "OBJECT", - "name": "UsersPermissionsMeRole", + "name": "ComponentBlocksLink", "ofType": null }, { "kind": "OBJECT", - "name": "UsersPermissionsLoginPayload", + "name": "ComponentBlocksSingleFeature", "ofType": null }, { "kind": "OBJECT", - "name": "UserPermissionsPasswordPayload", + "name": "ComponentBlocksSocialBubble", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessages", + "name": "ComponentGlobalCompanyData", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessagesConnection", + "name": "ComponentGlobalFooter", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessagesAggregator", + "name": "ComponentGlobalHeadquarter", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessagesGroupBy", + "name": "ComponentGlobalTopbar", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessagesConnectionId", + "name": "ComponentProjectBlockquoteBlock", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessagesConnectionCreated_at", + "name": "ComponentProjectImageBlock", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessagesConnectionUpdated_at", + "name": "ComponentProjectParagraphBlock", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessagesConnectionEmail", + "name": "ComponentSectionCardSection", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessagesConnectionName", + "name": "ComponentSectionContactsSection", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessagesConnectionMessage", + "name": "ComponentSectionHeroSection", "ofType": null }, { "kind": "OBJECT", - "name": "FormMessagesConnectionPublished_at", + "name": "ComponentSectionSimpleSection", "ofType": null }, { "kind": "OBJECT", - "name": "createFormMessagePayload", + "name": "ComponentSectionSingleFeatureSection", "ofType": null }, { "kind": "OBJECT", - "name": "updateFormMessagePayload", + "name": "FormMessages", "ofType": null }, { "kind": "OBJECT", - "name": "deleteFormMessagePayload", + "name": "FormMessagesAggregator", "ofType": null }, { "kind": "OBJECT", - "name": "Global", + "name": "FormMessagesConnection", "ofType": null }, { "kind": "OBJECT", - "name": "updateGlobalPayload", + "name": "FormMessagesConnectionCreated_at", "ofType": null }, { "kind": "OBJECT", - "name": "deleteGlobalPayload", + "name": "FormMessagesConnectionEmail", "ofType": null }, { "kind": "OBJECT", - "name": "Menu", + "name": "FormMessagesConnectionId", "ofType": null }, { "kind": "OBJECT", - "name": "MenuConnection", + "name": "FormMessagesConnectionMessage", "ofType": null }, { "kind": "OBJECT", - "name": "MenuAggregator", + "name": "FormMessagesConnectionName", "ofType": null }, { "kind": "OBJECT", - "name": "MenuGroupBy", + "name": "FormMessagesConnectionPublished_at", "ofType": null }, { "kind": "OBJECT", - "name": "MenuConnectionId", + "name": "FormMessagesConnectionUpdated_at", "ofType": null }, { "kind": "OBJECT", - "name": "MenuConnectionCreated_at", + "name": "FormMessagesGroupBy", "ofType": null }, { "kind": "OBJECT", - "name": "MenuConnectionUpdated_at", + "name": "Global", "ofType": null }, { "kind": "OBJECT", - "name": "MenuConnectionTitle", + "name": "I18NLocale", "ofType": null }, { "kind": "OBJECT", - "name": "MenuConnectionPublished_at", + "name": "Menu", "ofType": null }, { "kind": "OBJECT", - "name": "createMenuPayload", + "name": "MenuAggregator", "ofType": null }, { "kind": "OBJECT", - "name": "updateMenuPayload", + "name": "MenuConnection", "ofType": null }, { "kind": "OBJECT", - "name": "deleteMenuPayload", + "name": "MenuConnectionCreated_at", "ofType": null }, { "kind": "OBJECT", - "name": "Pages", + "name": "MenuConnectionId", "ofType": null }, { "kind": "OBJECT", - "name": "PagesConnection", + "name": "MenuConnectionLocale", "ofType": null }, { "kind": "OBJECT", - "name": "PagesAggregator", + "name": "MenuConnectionPublished_at", "ofType": null }, { "kind": "OBJECT", - "name": "PagesGroupBy", + "name": "MenuConnectionTitle", "ofType": null }, { "kind": "OBJECT", - "name": "PagesConnectionId", + "name": "MenuConnectionUpdated_at", "ofType": null }, { "kind": "OBJECT", - "name": "PagesConnectionCreated_at", + "name": "MenuGroupBy", "ofType": null }, { "kind": "OBJECT", - "name": "PagesConnectionUpdated_at", + "name": "Page", "ofType": null }, { "kind": "OBJECT", - "name": "PagesConnectionTitle", + "name": "PageAggregator", "ofType": null }, { "kind": "OBJECT", - "name": "PagesConnectionPath", + "name": "PageConnection", "ofType": null }, { "kind": "OBJECT", - "name": "PagesConnectionLocale", + "name": "PageConnectionCreated_at", "ofType": null }, { "kind": "OBJECT", - "name": "PagesConnectionPublished_at", + "name": "PageConnectionId", "ofType": null }, { "kind": "OBJECT", - "name": "createPagePayload", + "name": "PageConnectionLocale", "ofType": null }, { "kind": "OBJECT", - "name": "updatePagePayload", + "name": "PageConnectionPath", "ofType": null }, { "kind": "OBJECT", - "name": "deletePagePayload", + "name": "PageConnectionPublished_at", "ofType": null }, { "kind": "OBJECT", - "name": "Project", + "name": "PageConnectionTitle", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectConnection", + "name": "PageConnectionUpdated_at", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "PageGroupBy", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Project", "ofType": null }, { @@ -4885,12 +4429,12 @@ }, { "kind": "OBJECT", - "name": "ProjectGroupBy", + "name": "ProjectConnection", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectConnectionId", + "name": "ProjectConnectionCompanyName", "ofType": null }, { @@ -4900,17 +4444,17 @@ }, { "kind": "OBJECT", - "name": "ProjectConnectionUpdated_at", + "name": "ProjectConnectionDescription", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectConnectionProjectType", + "name": "ProjectConnectionId", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectConnectionLinkPath", + "name": "ProjectConnectionImage", "ofType": null }, { @@ -4920,182 +4464,182 @@ }, { "kind": "OBJECT", - "name": "ProjectConnectionDescription", + "name": "ProjectConnectionLinkPath", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectConnectionPath", + "name": "ProjectConnectionLocale", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectConnectionCompanyName", + "name": "ProjectConnectionPath", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectConnectionImage", + "name": "ProjectConnectionProjectType", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectConnectionLocale", + "name": "ProjectConnectionPublished_at", "ofType": null }, { "kind": "OBJECT", - "name": "ProjectConnectionPublished_at", + "name": "ProjectConnectionUpdated_at", "ofType": null }, { "kind": "OBJECT", - "name": "createProjectPayload", + "name": "ProjectGroupBy", "ofType": null }, { "kind": "OBJECT", - "name": "updateProjectPayload", + "name": "UploadFile", "ofType": null }, { "kind": "OBJECT", - "name": "deleteProjectPayload", + "name": "UploadFileAggregator", "ofType": null }, { "kind": "OBJECT", - "name": "I18NLocale", + "name": "UploadFileAggregatorAvg", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFile", + "name": "UploadFileAggregatorMax", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnection", + "name": "UploadFileAggregatorMin", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileAggregator", + "name": "UploadFileAggregatorSum", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileAggregatorSum", + "name": "UploadFileConnection", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileAggregatorAvg", + "name": "UploadFileConnectionAlternativeText", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileAggregatorMin", + "name": "UploadFileConnectionCaption", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileAggregatorMax", + "name": "UploadFileConnectionCreated_at", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileGroupBy", + "name": "UploadFileConnectionExt", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionId", + "name": "UploadFileConnectionFormats", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionCreated_at", + "name": "UploadFileConnectionHash", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionUpdated_at", + "name": "UploadFileConnectionHeight", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionName", + "name": "UploadFileConnectionId", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionAlternativeText", + "name": "UploadFileConnectionMime", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionCaption", + "name": "UploadFileConnectionName", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionWidth", + "name": "UploadFileConnectionPreviewUrl", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionHeight", + "name": "UploadFileConnectionProvider", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionFormats", + "name": "UploadFileConnectionProvider_metadata", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionHash", + "name": "UploadFileConnectionSize", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionExt", + "name": "UploadFileConnectionUpdated_at", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionMime", + "name": "UploadFileConnectionUrl", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionSize", + "name": "UploadFileConnectionWidth", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionUrl", + "name": "UploadFileGroupBy", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionPreviewUrl", + "name": "UserPermissionsPasswordPayload", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionProvider", + "name": "UsersPermissionsLoginPayload", "ofType": null }, { "kind": "OBJECT", - "name": "UploadFileConnectionProvider_metadata", + "name": "UsersPermissionsMe", "ofType": null }, { "kind": "OBJECT", - "name": "deleteFilePayload", + "name": "UsersPermissionsMeRole", "ofType": null }, { @@ -5110,17 +4654,17 @@ }, { "kind": "OBJECT", - "name": "UsersPermissionsRoleConnection", + "name": "UsersPermissionsRoleAggregator", "ofType": null }, { "kind": "OBJECT", - "name": "UsersPermissionsRoleAggregator", + "name": "UsersPermissionsRoleConnection", "ofType": null }, { "kind": "OBJECT", - "name": "UsersPermissionsRoleGroupBy", + "name": "UsersPermissionsRoleConnectionDescription", "ofType": null }, { @@ -5135,27 +4679,12 @@ }, { "kind": "OBJECT", - "name": "UsersPermissionsRoleConnectionDescription", + "name": "UsersPermissionsRoleConnectionType", "ofType": null }, { "kind": "OBJECT", - "name": "UsersPermissionsRoleConnectionType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "createRolePayload", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "updateRolePayload", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "deleteRolePayload", + "name": "UsersPermissionsRoleGroupBy", "ofType": null }, { @@ -5163,11 +4692,6 @@ "name": "UsersPermissionsUser", "ofType": null }, - { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnection", - "ofType": null - }, { "kind": "OBJECT", "name": "UsersPermissionsUserAggregator", @@ -5175,27 +4699,22 @@ }, { "kind": "OBJECT", - "name": "UsersPermissionsUserGroupBy", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionId", + "name": "UsersPermissionsUserConnection", "ofType": null }, { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionCreated_at", + "name": "UsersPermissionsUserConnectionBlocked", "ofType": null }, { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionUpdated_at", + "name": "UsersPermissionsUserConnectionConfirmed", "ofType": null }, { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionUsername", + "name": "UsersPermissionsUserConnectionCreated_at", "ofType": null }, { @@ -5205,17 +4724,12 @@ }, { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionProvider", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionConfirmed", + "name": "UsersPermissionsUserConnectionId", "ofType": null }, { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionBlocked", + "name": "UsersPermissionsUserConnectionProvider", "ofType": null }, { @@ -5225,127 +4739,122 @@ }, { "kind": "OBJECT", - "name": "createUserPayload", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "updateUserPayload", + "name": "UsersPermissionsUserConnectionUpdated_at", "ofType": null }, { "kind": "OBJECT", - "name": "deleteUserPayload", + "name": "UsersPermissionsUserConnectionUsername", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentBlocksCard", + "name": "UsersPermissionsUserGroupBy", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentBlocksNavigationBlock", + "name": "createFormMessagePayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentBlocksSingleFeature", + "name": "createMenuPayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentBlocksSocialBubble", + "name": "createPagePayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentGlobalBottomBar", + "name": "createProjectPayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentGlobalCompanyData", + "name": "createRolePayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentGlobalFooterData", + "name": "createUserPayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentGlobalFooter", + "name": "deleteFilePayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentGlobalHeadquarter", + "name": "deleteFormMessagePayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentGlobalTopbar", + "name": "deleteGlobalPayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentMenuPageLink", + "name": "deleteMenuPayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentProjectBlockquoteBlock", + "name": "deletePagePayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentProjectImageBlock", + "name": "deleteProjectPayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentProjectParagraphBlock", + "name": "deleteRolePayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentProjectTitleBlock", + "name": "deleteUserPayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentSectionCardSection", + "name": "updateFormMessagePayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentSectionContactsSection", + "name": "updateGlobalPayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentSectionFooterSection", + "name": "updateMenuPayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentSectionHeroSection", + "name": "updatePagePayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentSectionProjectsSection", + "name": "updateProjectPayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentSectionSimpleSection", + "name": "updateRolePayload", "ofType": null }, { "kind": "OBJECT", - "name": "ComponentSectionSingleFeatureSection", + "name": "updateUserPayload", "ofType": null } ] @@ -5381,7 +4890,7 @@ "deprecationReason": null }, { - "name": "updateFormMessage", + "name": "createMenu", "description": null, "args": [ { @@ -5389,7 +4898,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "updateFormMessageInput", + "name": "createMenuInput", "ofType": null }, "defaultValue": null, @@ -5399,23 +4908,27 @@ ], "type": { "kind": "OBJECT", - "name": "updateFormMessagePayload", + "name": "createMenuPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "deleteFormMessage", + "name": "createMenuLocalization", "description": null, "args": [ { "name": "input", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "deleteFormMessageInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "updateMenuInput", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, @@ -5423,15 +4936,19 @@ } ], "type": { - "kind": "OBJECT", - "name": "deleteFormMessagePayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Menu", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updateGlobal", + "name": "createPage", "description": null, "args": [ { @@ -5439,7 +4956,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "updateGlobalInput", + "name": "createPageInput", "ofType": null }, "defaultValue": null, @@ -5449,26 +4966,47 @@ ], "type": { "kind": "OBJECT", - "name": "updateGlobalPayload", + "name": "createPagePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "deleteGlobal", + "name": "createPageLocalization", "description": null, - "args": [], + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "updatePageInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { - "kind": "OBJECT", - "name": "deleteGlobalPayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Page", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "createMenu", + "name": "createProject", "description": null, "args": [ { @@ -5476,7 +5014,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "createMenuInput", + "name": "createProjectInput", "ofType": null }, "defaultValue": null, @@ -5486,23 +5024,27 @@ ], "type": { "kind": "OBJECT", - "name": "createMenuPayload", + "name": "createProjectPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updateMenu", + "name": "createProjectLocalization", "description": null, "args": [ { "name": "input", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "updateMenuInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "updateProjectInput", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, @@ -5510,23 +5052,27 @@ } ], "type": { - "kind": "OBJECT", - "name": "updateMenuPayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Project", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "deleteMenu", - "description": null, + "name": "createRole", + "description": "Create a new role", "args": [ { "name": "input", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "deleteMenuInput", + "name": "createRoleInput", "ofType": null }, "defaultValue": null, @@ -5536,22 +5082,22 @@ ], "type": { "kind": "OBJECT", - "name": "deleteMenuPayload", + "name": "createRolePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "createPage", - "description": null, + "name": "createUser", + "description": "Create a new user", "args": [ { "name": "input", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "createPageInput", + "name": "createUserInput", "ofType": null }, "defaultValue": null, @@ -5561,22 +5107,22 @@ ], "type": { "kind": "OBJECT", - "name": "createPagePayload", + "name": "createUserPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updatePage", - "description": null, + "name": "deleteFile", + "description": "Delete one file", "args": [ { "name": "input", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "updatePageInput", + "name": "deleteFileInput", "ofType": null }, "defaultValue": null, @@ -5586,14 +5132,14 @@ ], "type": { "kind": "OBJECT", - "name": "updatePagePayload", + "name": "deleteFilePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "deletePage", + "name": "deleteFormMessage", "description": null, "args": [ { @@ -5601,7 +5147,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "deletePageInput", + "name": "deleteFormMessageInput", "ofType": null }, "defaultValue": null, @@ -5611,14 +5157,26 @@ ], "type": { "kind": "OBJECT", - "name": "deletePagePayload", + "name": "deleteFormMessagePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "createProject", + "name": "deleteGlobal", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "deleteGlobalPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deleteMenu", "description": null, "args": [ { @@ -5626,7 +5184,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "createProjectInput", + "name": "deleteMenuInput", "ofType": null }, "defaultValue": null, @@ -5636,14 +5194,14 @@ ], "type": { "kind": "OBJECT", - "name": "createProjectPayload", + "name": "deleteMenuPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updateProject", + "name": "deletePage", "description": null, "args": [ { @@ -5651,7 +5209,7 @@ "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "updateProjectInput", + "name": "deletePageInput", "ofType": null }, "defaultValue": null, @@ -5661,7 +5219,7 @@ ], "type": { "kind": "OBJECT", - "name": "updateProjectPayload", + "name": "deletePagePayload", "ofType": null }, "isDeprecated": false, @@ -5693,15 +5251,15 @@ "deprecationReason": null }, { - "name": "deleteFile", - "description": "Delete one file", + "name": "deleteRole", + "description": "Delete an existing role", "args": [ { "name": "input", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "deleteFileInput", + "name": "deleteRoleInput", "ofType": null }, "defaultValue": null, @@ -5711,22 +5269,22 @@ ], "type": { "kind": "OBJECT", - "name": "deleteFilePayload", + "name": "deleteRolePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "createRole", - "description": "Create a new role", + "name": "deleteUser", + "description": "Delete an existing user", "args": [ { "name": "input", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "createRoleInput", + "name": "deleteUserInput", "ofType": null }, "defaultValue": null, @@ -5736,23 +5294,27 @@ ], "type": { "kind": "OBJECT", - "name": "createRolePayload", + "name": "deleteUserPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updateRole", - "description": "Update an existing role", + "name": "emailConfirmation", + "description": null, "args": [ { - "name": "input", + "name": "confirmation", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "updateRoleInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, @@ -5761,23 +5323,27 @@ ], "type": { "kind": "OBJECT", - "name": "updateRolePayload", + "name": "UsersPermissionsLoginPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "deleteRole", - "description": "Delete an existing role", + "name": "forgotPassword", + "description": null, "args": [ { - "name": "input", + "name": "email", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "deleteRoleInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, @@ -5786,23 +5352,27 @@ ], "type": { "kind": "OBJECT", - "name": "deleteRolePayload", + "name": "UserPermissionsPasswordPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "createUser", - "description": "Create a new user", + "name": "login", + "description": null, "args": [ { "name": "input", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "createUserInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsLoginInput", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, @@ -5810,78 +5380,84 @@ } ], "type": { - "kind": "OBJECT", - "name": "createUserPayload", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsLoginPayload", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updateUser", - "description": "Update an existing user", + "name": "multipleUpload", + "description": null, "args": [ { - "name": "input", + "name": "field", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "updateUserInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "updateUserPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteUser", - "description": "Delete an existing user", - "args": [ + }, { - "name": "input", + "name": "files", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "deleteUserInput", + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Upload", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ref", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "deleteUserPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createPageLocalization", - "description": null, - "args": [ + }, { - "name": "input", + "name": "refId", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "updatePageInput", - "ofType": null - } + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "source", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -5892,16 +5468,20 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Pages", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UploadFile", + "ofType": null + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "createProjectLocalization", + "name": "register", "description": null, "args": [ { @@ -5912,7 +5492,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "updateProjectInput", + "name": "UsersPermissionsRegisterInput", "ofType": null } }, @@ -5926,7 +5506,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Project", + "name": "UsersPermissionsLoginPayload", "ofType": null } }, @@ -5934,52 +5514,81 @@ "deprecationReason": null }, { - "name": "upload", + "name": "resetPassword", "description": null, "args": [ { - "name": "refId", + "name": "code", "description": null, "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "ref", + "name": "password", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "field", + "name": "passwordConfirmation", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsLoginPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateFileInfo", + "description": null, + "args": [ { - "name": "source", + "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, @@ -5988,24 +5597,12 @@ { "name": "info", "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "FileInfoInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "file", - "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Upload", + "kind": "INPUT_OBJECT", + "name": "FileInfoInput", "ofType": null } }, @@ -6027,125 +5624,91 @@ "deprecationReason": null }, { - "name": "multipleUpload", + "name": "updateFormMessage", "description": null, "args": [ { - "name": "refId", + "name": "input", "description": null, "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "INPUT_OBJECT", + "name": "updateFormMessageInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "ref", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, + } + ], + "type": { + "kind": "OBJECT", + "name": "updateFormMessagePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateGlobal", + "description": null, + "args": [ { - "name": "field", + "name": "input", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "updateGlobalInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "type": { + "kind": "OBJECT", + "name": "updateGlobalPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateMenu", + "description": null, + "args": [ { - "name": "source", + "name": "input", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "updateMenuInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "files", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Upload", - "ofType": null - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null } ], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UploadFile", - "ofType": null - } - } + "kind": "OBJECT", + "name": "updateMenuPayload", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updateFileInfo", + "name": "updatePage", "description": null, "args": [ { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "info", + "name": "input", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "FileInfoInput", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "updatePageInput", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -6153,32 +5716,24 @@ } ], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UploadFile", - "ofType": null - } + "kind": "OBJECT", + "name": "updatePagePayload", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "login", + "name": "updateProject", "description": null, "args": [ { "name": "input", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UsersPermissionsLoginInput", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "updateProjectInput", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -6186,32 +5741,24 @@ } ], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsersPermissionsLoginPayload", - "ofType": null - } + "kind": "OBJECT", + "name": "updateProjectPayload", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "register", - "description": null, + "name": "updateRole", + "description": "Update an existing role", "args": [ { "name": "input", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "UsersPermissionsRegisterInput", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "updateRoleInput", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -6219,32 +5766,24 @@ } ], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsersPermissionsLoginPayload", - "ofType": null - } + "kind": "OBJECT", + "name": "updateRolePayload", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "forgotPassword", - "description": null, + "name": "updateUser", + "description": "Update an existing user", "args": [ { - "name": "email", + "name": "input", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "updateUserInput", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -6253,41 +5792,37 @@ ], "type": { "kind": "OBJECT", - "name": "UserPermissionsPasswordPayload", + "name": "updateUserPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "resetPassword", + "name": "upload", "description": null, "args": [ { - "name": "password", + "name": "field", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "passwordConfirmation", + "name": "file", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Upload", "ofType": null } }, @@ -6296,209 +5831,77 @@ "deprecationReason": null }, { - "name": "code", + "name": "info", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "FileInfoInput", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "UsersPermissionsLoginPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "emailConfirmation", - "description": null, - "args": [ + }, { - "name": "confirmation", + "name": "ref", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "UsersPermissionsLoginPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "PageInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "title", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "path", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sections", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "name": "refId", + "description": null, + "type": { "kind": "SCALAR", - "name": "PagesSectionsDynamicZoneInput", + "name": "ID", "ofType": null - } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "source", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "localizations", - "description": null, + ], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "UploadFile", "ofType": null } }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locale", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "published_at", - "description": null, - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "created_by", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updated_by", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "Pages", + "name": "Page", "description": null, "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "created_at", "description": null, @@ -6516,39 +5919,7 @@ "deprecationReason": null }, { - "name": "updated_at", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "path", + "name": "id", "description": null, "args": [], "type": { @@ -6556,23 +5927,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sections", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "UNION", - "name": "PagesSectionsDynamicZone", + "name": "ID", "ofType": null } }, @@ -6591,28 +5946,16 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "published_at", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "localizations", "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -6620,11 +5963,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -6661,69 +6004,47 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Pages", + "name": "Page", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PagesAggregator", - "description": null, - "fields": [ + }, { - "name": "count", + "name": "path", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "totalCount", + "name": "published_at", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "PagesConnection", - "description": null, - "fields": [ + }, { - "name": "values", + "name": "sections", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Pages", + "kind": "UNION", + "name": "PageSectionsDynamicZone", "ofType": null } }, @@ -6731,25 +6052,33 @@ "deprecationReason": null }, { - "name": "groupBy", + "name": "title", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "PagesGroupBy", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "aggregate", + "name": "updated_at", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "PagesAggregator", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -6762,28 +6091,28 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionCreated_at", + "name": "PageAggregator", "description": null, "fields": [ { - "name": "key", + "name": "count", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "totalCount", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "PagesConnection", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "isDeprecated": false, @@ -6797,32 +6126,48 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionId", + "name": "PageConnection", "description": null, "fields": [ { - "name": "key", + "name": "aggregate", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "PageAggregator", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "groupBy", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "PagesConnection", + "name": "PageGroupBy", "ofType": null }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "values", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Page", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -6832,28 +6177,28 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionLocale", + "name": "PageConnectionCreated_at", "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "PageConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "PagesConnection", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -6867,28 +6212,28 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionPath", + "name": "PageConnectionId", "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "PageConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "PagesConnection", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "isDeprecated": false, @@ -6902,28 +6247,28 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionPublished_at", + "name": "PageConnectionLocale", "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "PageConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "PagesConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -6937,9 +6282,21 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionTitle", + "name": "PageConnectionPath", "description": null, "fields": [ + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "PageConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "key", "description": null, @@ -6951,14 +6308,37 @@ }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PageConnectionPublished_at", + "description": null, + "fields": [ { "name": "connection", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "PagesConnection", + "name": "PageConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -6972,28 +6352,63 @@ }, { "kind": "OBJECT", - "name": "PagesConnectionUpdated_at", + "name": "PageConnectionTitle", "description": null, "fields": [ + { + "name": "connection", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "PageConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "key", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "PageConnectionUpdated_at", + "description": null, + "fields": [ { "name": "connection", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "PagesConnection", + "name": "PageConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "key", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -7007,11 +6422,11 @@ }, { "kind": "OBJECT", - "name": "PagesGroupBy", + "name": "PageGroupBy", "description": null, "fields": [ { - "name": "id", + "name": "created_at", "description": null, "args": [], "type": { @@ -7019,7 +6434,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PagesConnectionId", + "name": "PageConnectionCreated_at", "ofType": null } }, @@ -7027,7 +6442,7 @@ "deprecationReason": null }, { - "name": "created_at", + "name": "id", "description": null, "args": [], "type": { @@ -7035,7 +6450,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PagesConnectionCreated_at", + "name": "PageConnectionId", "ofType": null } }, @@ -7043,7 +6458,7 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "locale", "description": null, "args": [], "type": { @@ -7051,7 +6466,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PagesConnectionUpdated_at", + "name": "PageConnectionLocale", "ofType": null } }, @@ -7059,7 +6474,7 @@ "deprecationReason": null }, { - "name": "title", + "name": "path", "description": null, "args": [], "type": { @@ -7067,7 +6482,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PagesConnectionTitle", + "name": "PageConnectionPath", "ofType": null } }, @@ -7075,7 +6490,7 @@ "deprecationReason": null }, { - "name": "path", + "name": "published_at", "description": null, "args": [], "type": { @@ -7083,7 +6498,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PagesConnectionPath", + "name": "PageConnectionPublished_at", "ofType": null } }, @@ -7091,7 +6506,7 @@ "deprecationReason": null }, { - "name": "locale", + "name": "title", "description": null, "args": [], "type": { @@ -7099,7 +6514,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PagesConnectionLocale", + "name": "PageConnectionTitle", "ofType": null } }, @@ -7107,7 +6522,7 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "updated_at", "description": null, "args": [], "type": { @@ -7115,7 +6530,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "PagesConnectionPublished_at", + "name": "PageConnectionUpdated_at", "ofType": null } }, @@ -7129,152 +6544,175 @@ "possibleTypes": null }, { - "kind": "UNION", - "name": "PagesSectionsDynamicZone", + "kind": "INPUT_OBJECT", + "name": "PageInput", "description": null, "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "ComponentSectionCardSection", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ComponentSectionHeroSection", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ComponentSectionSingleFeatureSection", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ComponentSectionContactsSection", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ComponentSectionSimpleSection", - "ofType": null - } - ] - }, - { - "kind": "SCALAR", - "name": "PagesSectionsDynamicZoneInput", - "description": "Input type for dynamic zone sections of Pages", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Project", - "description": null, - "fields": [ + "inputFields": [ { - "name": "id", + "name": "created_by", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "ID", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", + "name": "locale", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "localizations", "description": null, - "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "projectType", + "name": "path", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "linkPath", + "name": "published_at", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "linkLabel", + "name": "sections", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PageSectionsDynamicZoneInput", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "description", + "name": "updated_by", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "PageSectionsDynamicZone", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "ComponentSectionCardSection", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ComponentSectionContactsSection", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ComponentSectionHeroSection", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "ComponentSectionSimpleSection", + "ofType": null }, + { + "kind": "OBJECT", + "name": "ComponentSectionSingleFeatureSection", + "ofType": null + } + ] + }, + { + "kind": "SCALAR", + "name": "PageSectionsDynamicZoneInput", + "description": "Input type for dynamic zone sections of Page", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Project", + "description": null, + "fields": [ { "name": "blocks", "description": null, @@ -7292,7 +6730,19 @@ "deprecationReason": null }, { - "name": "path", + "name": "companyName", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", "description": null, "args": [], "type": { @@ -7300,7 +6750,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, @@ -7308,7 +6758,7 @@ "deprecationReason": null }, { - "name": "companyName", + "name": "description", "description": null, "args": [], "type": { @@ -7319,6 +6769,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "image", "description": null, @@ -7332,7 +6798,7 @@ "deprecationReason": null }, { - "name": "locale", + "name": "linkLabel", "description": null, "args": [], "type": { @@ -7344,12 +6810,24 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "linkPath", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locale", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -7360,11 +6838,11 @@ "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -7372,11 +6850,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -7419,6 +6897,58 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "path", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projectType", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "published_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -7470,11 +7000,6 @@ "interfaces": null, "enumValues": null, "possibleTypes": [ - { - "kind": "OBJECT", - "name": "ComponentProjectTitleBlock", - "ofType": null - }, { "kind": "OBJECT", "name": "ComponentProjectBlockquoteBlock", @@ -7508,17 +7033,13 @@ "description": null, "fields": [ { - "name": "values", + "name": "aggregate", "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } + "kind": "OBJECT", + "name": "ProjectAggregator", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -7536,13 +7057,17 @@ "deprecationReason": null }, { - "name": "aggregate", + "name": "values", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectAggregator", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Project", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -7559,24 +7084,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -7594,24 +7119,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -7629,24 +7154,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -7664,24 +7189,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "isDeprecated": false, @@ -7699,24 +7224,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "isDeprecated": false, @@ -7734,24 +7259,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -7769,24 +7294,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -7804,24 +7329,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -7839,24 +7364,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -7874,24 +7399,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -7909,24 +7434,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -7944,24 +7469,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ProjectConnection", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -7979,7 +7504,7 @@ "description": null, "fields": [ { - "name": "id", + "name": "companyName", "description": null, "args": [], "type": { @@ -7987,7 +7512,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnectionId", + "name": "ProjectConnectionCompanyName", "ofType": null } }, @@ -8011,7 +7536,7 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "description", "description": null, "args": [], "type": { @@ -8019,7 +7544,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnectionUpdated_at", + "name": "ProjectConnectionDescription", "ofType": null } }, @@ -8027,7 +7552,7 @@ "deprecationReason": null }, { - "name": "projectType", + "name": "id", "description": null, "args": [], "type": { @@ -8035,7 +7560,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnectionProjectType", + "name": "ProjectConnectionId", "ofType": null } }, @@ -8043,7 +7568,7 @@ "deprecationReason": null }, { - "name": "linkPath", + "name": "image", "description": null, "args": [], "type": { @@ -8051,7 +7576,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnectionLinkPath", + "name": "ProjectConnectionImage", "ofType": null } }, @@ -8075,7 +7600,7 @@ "deprecationReason": null }, { - "name": "description", + "name": "linkPath", "description": null, "args": [], "type": { @@ -8083,7 +7608,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnectionDescription", + "name": "ProjectConnectionLinkPath", "ofType": null } }, @@ -8091,7 +7616,7 @@ "deprecationReason": null }, { - "name": "path", + "name": "locale", "description": null, "args": [], "type": { @@ -8099,7 +7624,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnectionPath", + "name": "ProjectConnectionLocale", "ofType": null } }, @@ -8107,7 +7632,7 @@ "deprecationReason": null }, { - "name": "companyName", + "name": "path", "description": null, "args": [], "type": { @@ -8115,7 +7640,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnectionCompanyName", + "name": "ProjectConnectionPath", "ofType": null } }, @@ -8123,7 +7648,7 @@ "deprecationReason": null }, { - "name": "image", + "name": "projectType", "description": null, "args": [], "type": { @@ -8131,7 +7656,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnectionImage", + "name": "ProjectConnectionProjectType", "ofType": null } }, @@ -8139,7 +7664,7 @@ "deprecationReason": null }, { - "name": "locale", + "name": "published_at", "description": null, "args": [], "type": { @@ -8147,7 +7672,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnectionLocale", + "name": "ProjectConnectionPublished_at", "ofType": null } }, @@ -8155,7 +7680,7 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "updated_at", "description": null, "args": [], "type": { @@ -8163,7 +7688,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ProjectConnectionPublished_at", + "name": "ProjectConnectionUpdated_at", "ofType": null } }, @@ -8183,19 +7708,27 @@ "fields": null, "inputFields": [ { - "name": "projectType", + "name": "blocks", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ProjectBlocksDynamicZoneInput", + "ofType": null + } + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "linkPath", + "name": "companyName", "description": null, "type": { "kind": "SCALAR", @@ -8207,11 +7740,11 @@ "deprecationReason": null }, { - "name": "linkLabel", + "name": "created_by", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -8231,43 +7764,31 @@ "deprecationReason": null }, { - "name": "blocks", + "name": "image", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ProjectBlocksDynamicZoneInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "ID", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "path", + "name": "linkLabel", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "companyName", + "name": "linkPath", "description": null, "type": { "kind": "SCALAR", @@ -8279,11 +7800,11 @@ "deprecationReason": null }, { - "name": "image", + "name": "locale", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -8307,7 +7828,7 @@ "deprecationReason": null }, { - "name": "locale", + "name": "path", "description": null, "type": { "kind": "SCALAR", @@ -8319,11 +7840,11 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "projectType", "description": null, "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null }, "defaultValue": null, @@ -8331,11 +7852,11 @@ "deprecationReason": null }, { - "name": "created_by", + "name": "published_at", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "DateTime", "ofType": null }, "defaultValue": null, @@ -8388,20 +7909,16 @@ "description": null, "fields": [ { - "name": "formMessage", + "name": "files", "description": null, "args": [ { - "name": "id", + "name": "limit", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -8418,20 +7935,7 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "FormMessages", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "formMessages", - "description": null, - "args": [ + }, { "name": "sort", "description": null, @@ -8445,19 +7949,7 @@ "deprecationReason": null }, { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "start", + "name": "start", "description": null, "type": { "kind": "SCALAR", @@ -8479,18 +7971,6 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "publicationState", - "description": null, - "type": { - "kind": "ENUM", - "name": "PublicationState", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null } ], "type": { @@ -8498,7 +7978,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "FormMessages", + "name": "UploadFile", "ofType": null } }, @@ -8506,15 +7986,15 @@ "deprecationReason": null }, { - "name": "formMessagesConnection", + "name": "filesConnection", "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -8522,11 +8002,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -8560,39 +8040,14 @@ ], "type": { "kind": "OBJECT", - "name": "FormMessagesConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "global", - "description": null, - "args": [ - { - "name": "publicationState", - "description": null, - "type": { - "kind": "ENUM", - "name": "PublicationState", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "Global", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "menu", + "name": "formMessage", "description": null, "args": [ { @@ -8626,22 +8081,22 @@ ], "type": { "kind": "OBJECT", - "name": "Menu", + "name": "FormMessages", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "menus", + "name": "formMessages", "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -8649,11 +8104,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "publicationState", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "PublicationState", "ofType": null }, "defaultValue": null, @@ -8661,11 +8116,11 @@ "deprecationReason": null }, { - "name": "start", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -8673,11 +8128,11 @@ "deprecationReason": null }, { - "name": "where", + "name": "start", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -8685,11 +8140,11 @@ "deprecationReason": null }, { - "name": "publicationState", + "name": "where", "description": null, "type": { - "kind": "ENUM", - "name": "PublicationState", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null, @@ -8702,7 +8157,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Menu", + "name": "FormMessages", "ofType": null } }, @@ -8710,15 +8165,15 @@ "deprecationReason": null }, { - "name": "menusConnection", + "name": "formMessagesConnection", "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -8726,11 +8181,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -8764,14 +8219,51 @@ ], "type": { "kind": "OBJECT", - "name": "MenuConnection", + "name": "FormMessagesConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "page", + "name": "global", + "description": null, + "args": [ + { + "name": "publicationState", + "description": null, + "type": { + "kind": "ENUM", + "name": "PublicationState", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "Global", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "me", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsMe", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "menu", "description": null, "args": [ { @@ -8805,22 +8297,22 @@ ], "type": { "kind": "OBJECT", - "name": "Pages", + "name": "Menu", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "pages", + "name": "menus", "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -8828,11 +8320,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "locale", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -8840,11 +8332,11 @@ "deprecationReason": null }, { - "name": "start", + "name": "publicationState", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "PublicationState", "ofType": null }, "defaultValue": null, @@ -8852,11 +8344,11 @@ "deprecationReason": null }, { - "name": "where", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null, @@ -8864,11 +8356,11 @@ "deprecationReason": null }, { - "name": "publicationState", + "name": "start", "description": null, "type": { - "kind": "ENUM", - "name": "PublicationState", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -8876,11 +8368,11 @@ "deprecationReason": null }, { - "name": "locale", + "name": "where", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null, @@ -8893,7 +8385,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Pages", + "name": "Menu", "ofType": null } }, @@ -8901,15 +8393,15 @@ "deprecationReason": null }, { - "name": "pagesConnection", + "name": "menusConnection", "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -8917,11 +8409,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "locale", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -8929,11 +8421,11 @@ "deprecationReason": null }, { - "name": "start", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -8941,11 +8433,11 @@ "deprecationReason": null }, { - "name": "where", + "name": "start", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -8953,11 +8445,11 @@ "deprecationReason": null }, { - "name": "locale", + "name": "where", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null, @@ -8967,14 +8459,14 @@ ], "type": { "kind": "OBJECT", - "name": "PagesConnection", + "name": "MenuConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "project", + "name": "page", "description": null, "args": [ { @@ -9008,22 +8500,22 @@ ], "type": { "kind": "OBJECT", - "name": "Project", + "name": "Page", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "projects", + "name": "pages", "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -9031,11 +8523,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "locale", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9043,11 +8535,11 @@ "deprecationReason": null }, { - "name": "start", + "name": "publicationState", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "PublicationState", "ofType": null }, "defaultValue": null, @@ -9055,11 +8547,11 @@ "deprecationReason": null }, { - "name": "where", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9067,11 +8559,11 @@ "deprecationReason": null }, { - "name": "publicationState", + "name": "start", "description": null, "type": { - "kind": "ENUM", - "name": "PublicationState", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -9079,11 +8571,11 @@ "deprecationReason": null }, { - "name": "locale", + "name": "where", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null, @@ -9096,7 +8588,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Project", + "name": "Page", "ofType": null } }, @@ -9104,15 +8596,15 @@ "deprecationReason": null }, { - "name": "projectsConnection", + "name": "pagesConnection", "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -9120,11 +8612,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "locale", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9132,11 +8624,11 @@ "deprecationReason": null }, { - "name": "start", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9144,11 +8636,11 @@ "deprecationReason": null }, { - "name": "where", + "name": "start", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -9156,11 +8648,11 @@ "deprecationReason": null }, { - "name": "locale", + "name": "where", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null, @@ -9170,42 +8662,59 @@ ], "type": { "kind": "OBJECT", - "name": "ProjectConnection", + "name": "PageConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "files", + "name": "project", "description": null, "args": [ { - "name": "sort", + "name": "id", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "limit", + "name": "publicationState", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "PublicationState", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "type": { + "kind": "OBJECT", + "name": "Project", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "projects", + "description": null, + "args": [ { - "name": "start", + "name": "limit", "description": null, "type": { "kind": "SCALAR", @@ -9217,11 +8726,11 @@ "deprecationReason": null }, { - "name": "where", + "name": "locale", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9239,6 +8748,42 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "where", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null } ], "type": { @@ -9246,7 +8791,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFile", + "name": "Project", "ofType": null } }, @@ -9254,11 +8799,23 @@ "deprecationReason": null }, { - "name": "filesConnection", + "name": "projectsConnection", "description": null, "args": [ { - "name": "sort", + "name": "limit", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locale", "description": null, "type": { "kind": "SCALAR", @@ -9270,11 +8827,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9308,7 +8865,7 @@ ], "type": { "kind": "OBJECT", - "name": "UploadFileConnection", + "name": "ProjectConnection", "ofType": null }, "isDeprecated": false, @@ -9360,11 +8917,11 @@ "description": "Retrieve all the existing roles. You can't apply filters on this query.", "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -9372,11 +8929,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "publicationState", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "PublicationState", "ofType": null }, "defaultValue": null, @@ -9384,11 +8941,11 @@ "deprecationReason": null }, { - "name": "start", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9396,11 +8953,11 @@ "deprecationReason": null }, { - "name": "where", + "name": "start", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -9408,11 +8965,11 @@ "deprecationReason": null }, { - "name": "publicationState", + "name": "where", "description": null, "type": { - "kind": "ENUM", - "name": "PublicationState", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null, @@ -9437,11 +8994,11 @@ "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -9449,11 +9006,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9539,11 +9096,11 @@ "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -9551,11 +9108,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "publicationState", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "PublicationState", "ofType": null }, "defaultValue": null, @@ -9563,11 +9120,11 @@ "deprecationReason": null }, { - "name": "start", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9575,11 +9132,11 @@ "deprecationReason": null }, { - "name": "where", + "name": "start", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -9587,11 +9144,11 @@ "deprecationReason": null }, { - "name": "publicationState", + "name": "where", "description": null, "type": { - "kind": "ENUM", - "name": "PublicationState", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "defaultValue": null, @@ -9616,11 +9173,11 @@ "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -9628,11 +9185,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9671,18 +9228,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "me", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UsersPermissionsMe", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -9697,27 +9242,11 @@ "fields": null, "inputFields": [ { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", + "name": "created_by", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -9725,7 +9254,7 @@ "deprecationReason": null }, { - "name": "type", + "name": "description", "description": null, "type": { "kind": "SCALAR", @@ -9737,14 +9266,14 @@ "deprecationReason": null }, { - "name": "permissions", + "name": "name", "description": null, "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null } }, @@ -9753,7 +9282,7 @@ "deprecationReason": null }, { - "name": "users", + "name": "permissions", "description": null, "type": { "kind": "LIST", @@ -9769,11 +9298,11 @@ "deprecationReason": null }, { - "name": "created_by", + "name": "type", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -9791,12 +9320,38 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "users", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, + { + "kind": "SCALAR", + "name": "String", + "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "SCALAR", "name": "Time", @@ -9823,39 +9378,31 @@ "description": null, "fields": [ { - "name": "id", + "name": "alternativeText", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", + "name": "caption", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "created_at", "description": null, "args": [], "type": { @@ -9871,35 +9418,7 @@ "deprecationReason": null }, { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "alternativeText", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "caption", + "name": "ext", "description": null, "args": [], "type": { @@ -9910,30 +9429,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "width", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "height", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "formats", "description": null, @@ -9963,19 +9458,19 @@ "deprecationReason": null }, { - "name": "ext", + "name": "height", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "mime", + "name": "id", "description": null, "args": [], "type": { @@ -9983,7 +9478,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, @@ -9991,7 +9486,7 @@ "deprecationReason": null }, { - "name": "size", + "name": "mime", "description": null, "args": [], "type": { @@ -9999,7 +9494,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, @@ -10007,7 +9502,7 @@ "deprecationReason": null }, { - "name": "url", + "name": "name", "description": null, "args": [], "type": { @@ -10067,11 +9562,11 @@ "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -10079,11 +9574,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -10126,6 +9621,66 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "size", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "width", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -10139,19 +9694,19 @@ "description": null, "fields": [ { - "name": "count", + "name": "avg", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "UploadFileAggregatorAvg", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "totalCount", + "name": "count", "description": null, "args": [], "type": { @@ -10163,48 +9718,48 @@ "deprecationReason": null }, { - "name": "sum", + "name": "max", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "UploadFileAggregatorSum", + "name": "UploadFileAggregatorMax", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "avg", + "name": "min", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "UploadFileAggregatorAvg", + "name": "UploadFileAggregatorMin", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "min", + "name": "sum", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "UploadFileAggregatorMin", + "name": "UploadFileAggregatorSum", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "max", + "name": "totalCount", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileAggregatorMax", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "isDeprecated": false, @@ -10222,7 +9777,7 @@ "description": null, "fields": [ { - "name": "width", + "name": "height", "description": null, "args": [], "type": { @@ -10234,7 +9789,7 @@ "deprecationReason": null }, { - "name": "height", + "name": "size", "description": null, "args": [], "type": { @@ -10246,7 +9801,7 @@ "deprecationReason": null }, { - "name": "size", + "name": "width", "description": null, "args": [], "type": { @@ -10269,7 +9824,7 @@ "description": null, "fields": [ { - "name": "width", + "name": "height", "description": null, "args": [], "type": { @@ -10281,7 +9836,7 @@ "deprecationReason": null }, { - "name": "height", + "name": "size", "description": null, "args": [], "type": { @@ -10293,7 +9848,7 @@ "deprecationReason": null }, { - "name": "size", + "name": "width", "description": null, "args": [], "type": { @@ -10316,7 +9871,7 @@ "description": null, "fields": [ { - "name": "width", + "name": "height", "description": null, "args": [], "type": { @@ -10328,7 +9883,7 @@ "deprecationReason": null }, { - "name": "height", + "name": "size", "description": null, "args": [], "type": { @@ -10340,7 +9895,7 @@ "deprecationReason": null }, { - "name": "size", + "name": "width", "description": null, "args": [], "type": { @@ -10363,7 +9918,7 @@ "description": null, "fields": [ { - "name": "width", + "name": "height", "description": null, "args": [], "type": { @@ -10375,7 +9930,7 @@ "deprecationReason": null }, { - "name": "height", + "name": "size", "description": null, "args": [], "type": { @@ -10387,7 +9942,7 @@ "deprecationReason": null }, { - "name": "size", + "name": "width", "description": null, "args": [], "type": { @@ -10410,17 +9965,13 @@ "description": null, "fields": [ { - "name": "values", + "name": "aggregate", "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UploadFile", - "ofType": null - } + "kind": "OBJECT", + "name": "UploadFileAggregator", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -10438,13 +9989,17 @@ "deprecationReason": null }, { - "name": "aggregate", + "name": "values", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileAggregator", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UploadFile", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -10461,24 +10016,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -10496,24 +10051,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -10531,24 +10086,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -10566,24 +10121,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -10601,24 +10156,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "isDeprecated": false, @@ -10636,24 +10191,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -10671,24 +10226,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "isDeprecated": false, @@ -10706,24 +10261,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "isDeprecated": false, @@ -10741,24 +10296,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -10776,24 +10331,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -10811,24 +10366,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -10846,24 +10401,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -10881,24 +10436,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "JSON", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "JSON", "ofType": null }, "isDeprecated": false, @@ -10916,24 +10471,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "Float", "ofType": null }, "isDeprecated": false, @@ -10951,24 +10506,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -10986,24 +10541,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -11021,24 +10576,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "UploadFileConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UploadFileConnection", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "isDeprecated": false, @@ -11056,7 +10611,7 @@ "description": null, "fields": [ { - "name": "id", + "name": "alternativeText", "description": null, "args": [], "type": { @@ -11064,7 +10619,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionId", + "name": "UploadFileConnectionAlternativeText", "ofType": null } }, @@ -11072,7 +10627,7 @@ "deprecationReason": null }, { - "name": "created_at", + "name": "caption", "description": null, "args": [], "type": { @@ -11080,7 +10635,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionCreated_at", + "name": "UploadFileConnectionCaption", "ofType": null } }, @@ -11088,7 +10643,7 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "created_at", "description": null, "args": [], "type": { @@ -11096,7 +10651,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionUpdated_at", + "name": "UploadFileConnectionCreated_at", "ofType": null } }, @@ -11104,7 +10659,7 @@ "deprecationReason": null }, { - "name": "name", + "name": "ext", "description": null, "args": [], "type": { @@ -11112,7 +10667,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionName", + "name": "UploadFileConnectionExt", "ofType": null } }, @@ -11120,7 +10675,7 @@ "deprecationReason": null }, { - "name": "alternativeText", + "name": "formats", "description": null, "args": [], "type": { @@ -11128,7 +10683,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionAlternativeText", + "name": "UploadFileConnectionFormats", "ofType": null } }, @@ -11136,7 +10691,7 @@ "deprecationReason": null }, { - "name": "caption", + "name": "hash", "description": null, "args": [], "type": { @@ -11144,7 +10699,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionCaption", + "name": "UploadFileConnectionHash", "ofType": null } }, @@ -11152,7 +10707,7 @@ "deprecationReason": null }, { - "name": "width", + "name": "height", "description": null, "args": [], "type": { @@ -11160,7 +10715,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionWidth", + "name": "UploadFileConnectionHeight", "ofType": null } }, @@ -11168,7 +10723,7 @@ "deprecationReason": null }, { - "name": "height", + "name": "id", "description": null, "args": [], "type": { @@ -11176,7 +10731,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionHeight", + "name": "UploadFileConnectionId", "ofType": null } }, @@ -11184,7 +10739,7 @@ "deprecationReason": null }, { - "name": "formats", + "name": "mime", "description": null, "args": [], "type": { @@ -11192,7 +10747,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionFormats", + "name": "UploadFileConnectionMime", "ofType": null } }, @@ -11200,7 +10755,7 @@ "deprecationReason": null }, { - "name": "hash", + "name": "name", "description": null, "args": [], "type": { @@ -11208,7 +10763,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionHash", + "name": "UploadFileConnectionName", "ofType": null } }, @@ -11216,7 +10771,7 @@ "deprecationReason": null }, { - "name": "ext", + "name": "previewUrl", "description": null, "args": [], "type": { @@ -11224,7 +10779,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionExt", + "name": "UploadFileConnectionPreviewUrl", "ofType": null } }, @@ -11232,7 +10787,7 @@ "deprecationReason": null }, { - "name": "mime", + "name": "provider", "description": null, "args": [], "type": { @@ -11240,7 +10795,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionMime", + "name": "UploadFileConnectionProvider", "ofType": null } }, @@ -11248,7 +10803,7 @@ "deprecationReason": null }, { - "name": "size", + "name": "provider_metadata", "description": null, "args": [], "type": { @@ -11256,7 +10811,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionSize", + "name": "UploadFileConnectionProvider_metadata", "ofType": null } }, @@ -11264,7 +10819,7 @@ "deprecationReason": null }, { - "name": "url", + "name": "size", "description": null, "args": [], "type": { @@ -11272,7 +10827,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionUrl", + "name": "UploadFileConnectionSize", "ofType": null } }, @@ -11280,7 +10835,7 @@ "deprecationReason": null }, { - "name": "previewUrl", + "name": "updated_at", "description": null, "args": [], "type": { @@ -11288,7 +10843,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionPreviewUrl", + "name": "UploadFileConnectionUpdated_at", "ofType": null } }, @@ -11296,7 +10851,7 @@ "deprecationReason": null }, { - "name": "provider", + "name": "url", "description": null, "args": [], "type": { @@ -11304,7 +10859,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionProvider", + "name": "UploadFileConnectionUrl", "ofType": null } }, @@ -11312,7 +10867,7 @@ "deprecationReason": null }, { - "name": "provider_metadata", + "name": "width", "description": null, "args": [], "type": { @@ -11320,7 +10875,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UploadFileConnectionProvider_metadata", + "name": "UploadFileConnectionWidth", "ofType": null } }, @@ -11340,43 +10895,35 @@ "fields": null, "inputFields": [ { - "name": "username", + "name": "blocked", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "email", + "name": "confirmationToken", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "provider", + "name": "confirmed", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, "defaultValue": null, @@ -11384,11 +10931,11 @@ "deprecationReason": null }, { - "name": "password", + "name": "created_by", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -11396,19 +10943,23 @@ "deprecationReason": null }, { - "name": "resetPasswordToken", + "name": "email", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "confirmationToken", + "name": "password", "description": null, "type": { "kind": "SCALAR", @@ -11420,11 +10971,11 @@ "deprecationReason": null }, { - "name": "confirmed", + "name": "provider", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, "defaultValue": null, @@ -11432,11 +10983,11 @@ "deprecationReason": null }, { - "name": "blocked", + "name": "resetPasswordToken", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null }, "defaultValue": null, @@ -11456,7 +11007,7 @@ "deprecationReason": null }, { - "name": "created_by", + "name": "updated_by", "description": null, "type": { "kind": "SCALAR", @@ -11468,12 +11019,16 @@ "deprecationReason": null }, { - "name": "updated_by", + "name": "username", "description": null, "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, @@ -11611,33 +11166,25 @@ "description": null, "fields": [ { - "name": "id", + "name": "blocked", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "username", + "name": "confirmed", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -11659,37 +11206,45 @@ "deprecationReason": null }, { - "name": "confirmed", + "name": "id", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "blocked", + "name": "role", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "UsersPermissionsMeRole", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "role", + "name": "username", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsMeRole", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -11705,6 +11260,18 @@ "name": "UsersPermissionsMeRole", "description": null, "fields": [ + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "id", "description": null, @@ -11737,18 +11304,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "type", "description": null, @@ -11773,23 +11328,7 @@ "description": null, "fields": [ { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", + "name": "action", "description": null, "args": [], "type": { @@ -11821,7 +11360,7 @@ "deprecationReason": null }, { - "name": "action", + "name": "enabled", "description": null, "args": [], "type": { @@ -11829,7 +11368,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -11837,7 +11376,7 @@ "deprecationReason": null }, { - "name": "enabled", + "name": "id", "description": null, "args": [], "type": { @@ -11845,7 +11384,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null } }, @@ -11875,6 +11414,22 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -11889,7 +11444,7 @@ "fields": null, "inputFields": [ { - "name": "username", + "name": "email", "description": null, "type": { "kind": "NON_NULL", @@ -11905,7 +11460,7 @@ "deprecationReason": null }, { - "name": "email", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -11921,7 +11476,7 @@ "deprecationReason": null }, { - "name": "password", + "name": "username", "description": null, "type": { "kind": "NON_NULL", @@ -11946,6 +11501,18 @@ "name": "UsersPermissionsRole", "description": null, "fields": [ + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "id", "description": null, @@ -11978,40 +11545,16 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "type", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "permissions", "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -12019,11 +11562,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -12067,16 +11610,28 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "users", "description": null, "args": [ { - "name": "sort", + "name": "limit", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -12084,11 +11639,11 @@ "deprecationReason": null }, { - "name": "limit", + "name": "sort", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, @@ -12179,17 +11734,13 @@ "description": null, "fields": [ { - "name": "values", + "name": "aggregate", "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsersPermissionsRole", - "ofType": null - } + "kind": "OBJECT", + "name": "UsersPermissionsRoleAggregator", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -12207,15 +11758,19 @@ "deprecationReason": null }, { - "name": "aggregate", + "name": "values", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsRoleAggregator", - "ofType": null - }, - "isDeprecated": false, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsRole", + "ofType": null + } + }, + "isDeprecated": false, "deprecationReason": null } ], @@ -12230,24 +11785,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UsersPermissionsRoleConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsRoleConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -12265,24 +11820,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "UsersPermissionsRoleConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsRoleConnection", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "isDeprecated": false, @@ -12300,24 +11855,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UsersPermissionsRoleConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsRoleConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -12335,24 +11890,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UsersPermissionsRoleConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsRoleConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -12370,7 +11925,7 @@ "description": null, "fields": [ { - "name": "id", + "name": "description", "description": null, "args": [], "type": { @@ -12378,7 +11933,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsRoleConnectionId", + "name": "UsersPermissionsRoleConnectionDescription", "ofType": null } }, @@ -12386,7 +11941,7 @@ "deprecationReason": null }, { - "name": "name", + "name": "id", "description": null, "args": [], "type": { @@ -12394,7 +11949,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsRoleConnectionName", + "name": "UsersPermissionsRoleConnectionId", "ofType": null } }, @@ -12402,7 +11957,7 @@ "deprecationReason": null }, { - "name": "description", + "name": "name", "description": null, "args": [], "type": { @@ -12410,7 +11965,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsRoleConnectionDescription", + "name": "UsersPermissionsRoleConnectionName", "ofType": null } }, @@ -12445,39 +12000,31 @@ "description": null, "fields": [ { - "name": "id", + "name": "blocked", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_at", + "name": "confirmed", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "updated_at", + "name": "created_at", "description": null, "args": [], "type": { @@ -12493,7 +12040,7 @@ "deprecationReason": null }, { - "name": "username", + "name": "email", "description": null, "args": [], "type": { @@ -12509,7 +12056,7 @@ "deprecationReason": null }, { - "name": "email", + "name": "id", "description": null, "args": [], "type": { @@ -12517,7 +12064,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, @@ -12537,37 +12084,45 @@ "deprecationReason": null }, { - "name": "confirmed", + "name": "role", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "UsersPermissionsRole", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "blocked", + "name": "updated_at", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "role", + "name": "username", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsRole", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -12619,17 +12174,13 @@ "description": null, "fields": [ { - "name": "values", + "name": "aggregate", "description": null, "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UsersPermissionsUser", - "ofType": null - } + "kind": "OBJECT", + "name": "UsersPermissionsUserAggregator", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -12647,13 +12198,17 @@ "deprecationReason": null }, { - "name": "aggregate", + "name": "values", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUserAggregator", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsUser", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -12670,24 +12225,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "UsersPermissionsUserConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnection", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "isDeprecated": false, @@ -12705,24 +12260,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "UsersPermissionsUserConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnection", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "isDeprecated": false, @@ -12740,24 +12295,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "UsersPermissionsUserConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnection", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -12775,24 +12330,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UsersPermissionsUserConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -12810,24 +12365,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "UsersPermissionsUserConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnection", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "isDeprecated": false, @@ -12845,24 +12400,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UsersPermissionsUserConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -12880,24 +12435,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "UsersPermissionsUserConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnection", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "isDeprecated": false, @@ -12915,24 +12470,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "UsersPermissionsUserConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnection", + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "isDeprecated": false, @@ -12950,24 +12505,24 @@ "description": null, "fields": [ { - "name": "key", + "name": "connection", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "OBJECT", + "name": "UsersPermissionsUserConnection", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "connection", + "name": "key", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUserConnection", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, @@ -12985,7 +12540,7 @@ "description": null, "fields": [ { - "name": "id", + "name": "blocked", "description": null, "args": [], "type": { @@ -12993,7 +12548,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionId", + "name": "UsersPermissionsUserConnectionBlocked", "ofType": null } }, @@ -13001,7 +12556,7 @@ "deprecationReason": null }, { - "name": "created_at", + "name": "confirmed", "description": null, "args": [], "type": { @@ -13009,7 +12564,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionCreated_at", + "name": "UsersPermissionsUserConnectionConfirmed", "ofType": null } }, @@ -13017,7 +12572,7 @@ "deprecationReason": null }, { - "name": "updated_at", + "name": "created_at", "description": null, "args": [], "type": { @@ -13025,7 +12580,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionUpdated_at", + "name": "UsersPermissionsUserConnectionCreated_at", "ofType": null } }, @@ -13033,7 +12588,7 @@ "deprecationReason": null }, { - "name": "username", + "name": "email", "description": null, "args": [], "type": { @@ -13041,7 +12596,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionUsername", + "name": "UsersPermissionsUserConnectionEmail", "ofType": null } }, @@ -13049,7 +12604,7 @@ "deprecationReason": null }, { - "name": "email", + "name": "id", "description": null, "args": [], "type": { @@ -13057,7 +12612,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionEmail", + "name": "UsersPermissionsUserConnectionId", "ofType": null } }, @@ -13081,7 +12636,7 @@ "deprecationReason": null }, { - "name": "confirmed", + "name": "role", "description": null, "args": [], "type": { @@ -13089,7 +12644,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionConfirmed", + "name": "UsersPermissionsUserConnectionRole", "ofType": null } }, @@ -13097,7 +12652,7 @@ "deprecationReason": null }, { - "name": "blocked", + "name": "updated_at", "description": null, "args": [], "type": { @@ -13105,7 +12660,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionBlocked", + "name": "UsersPermissionsUserConnectionUpdated_at", "ofType": null } }, @@ -13113,7 +12668,7 @@ "deprecationReason": null }, { - "name": "role", + "name": "username", "description": null, "args": [], "type": { @@ -13121,7 +12676,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UsersPermissionsUserConnectionRole", + "name": "UsersPermissionsUserConnectionUsername", "ofType": null } }, @@ -13134,134 +12689,99 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "createFormMessageInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "data", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "FormMessageInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", - "name": "createFormMessagePayload", - "description": null, + "name": "__Directive", + "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", "fields": [ { - "name": "formMessage", + "name": "name", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "FormMessages", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "createMenuInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "data", + "name": "description", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "MenuInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "createMenuPayload", - "description": null, - "fields": [ + }, { - "name": "menu", + "name": "isRepeatable", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "Menu", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "createPageInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "data", + "name": "locations", "description": null, + "args": [], "type": { - "kind": "INPUT_OBJECT", - "name": "PageInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__DirectiveLocation", + "ofType": null + } + } + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "createPagePayload", - "description": null, - "fields": [ + }, { - "name": "page", + "name": "args", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "Pages", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null @@ -13273,1381 +12793,1084 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "createProjectInput", - "description": null, + "kind": "ENUM", + "name": "__DirectiveLocation", + "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", "fields": null, - "inputFields": [ + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "data", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "ProjectInput", - "ofType": null - }, - "defaultValue": null, + "name": "QUERY", + "description": "Location adjacent to a query operation.", "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "createProjectPayload", - "description": null, - "fields": [ + }, { - "name": "project", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - }, + "name": "MUTATION", + "description": "Location adjacent to a mutation operation.", "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "createRoleInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "data", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "RoleInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "createRolePayload", - "description": null, - "fields": [ - { - "name": "role", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UsersPermissionsRole", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "createUserInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "data", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "UserInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "createUserPayload", - "description": null, - "fields": [ - { - "name": "user", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUser", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "deleteFileInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "deleteFilePayload", - "description": null, - "fields": [ - { - "name": "file", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UploadFile", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "deleteFormMessageInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "deleteFormMessagePayload", - "description": null, - "fields": [ - { - "name": "formMessage", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "FormMessages", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "deleteGlobalPayload", - "description": null, - "fields": [ - { - "name": "global", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Global", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "deleteMenuInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "deleteMenuPayload", - "description": null, - "fields": [ - { - "name": "menu", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Menu", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "deletePageInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "deletePagePayload", - "description": null, - "fields": [ - { - "name": "page", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Pages", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "deleteProjectInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "deleteProjectPayload", - "description": null, - "fields": [ - { - "name": "project", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "deleteRoleInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "deleteRolePayload", - "description": null, - "fields": [ - { - "name": "role", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UsersPermissionsRole", - "ofType": null - }, + "name": "SUBSCRIPTION", + "description": "Location adjacent to a subscription operation.", "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "deleteUserInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "where", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", - "ofType": null - }, - "defaultValue": null, + "name": "FIELD", + "description": "Location adjacent to a field.", "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "deleteUserPayload", - "description": null, - "fields": [ + }, { - "name": "user", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUser", - "ofType": null - }, + "name": "FRAGMENT_DEFINITION", + "description": "Location adjacent to a fragment definition.", "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editComponentBlocksCardInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, + "name": "FRAGMENT_SPREAD", + "description": "Location adjacent to a fragment spread.", "isDeprecated": false, "deprecationReason": null }, { - "name": "title", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, + "name": "INLINE_FRAGMENT", + "description": "Location adjacent to an inline fragment.", "isDeprecated": false, "deprecationReason": null }, { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, + "name": "VARIABLE_DEFINITION", + "description": "Location adjacent to a variable definition.", "isDeprecated": false, "deprecationReason": null }, { - "name": "image", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, + "name": "SCHEMA", + "description": "Location adjacent to a schema definition.", "isDeprecated": false, "deprecationReason": null }, { - "name": "url", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, + "name": "SCALAR", + "description": "Location adjacent to a scalar definition.", "isDeprecated": false, "deprecationReason": null }, { - "name": "label", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, + "name": "OBJECT", + "description": "Location adjacent to an object type definition.", "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editComponentBlocksNavigationBlockInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, + "name": "FIELD_DEFINITION", + "description": "Location adjacent to a field definition.", "isDeprecated": false, "deprecationReason": null }, { - "name": "label", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, + "name": "ARGUMENT_DEFINITION", + "description": "Location adjacent to an argument definition.", "isDeprecated": false, "deprecationReason": null }, { - "name": "url", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, + "name": "INTERFACE", + "description": "Location adjacent to an interface definition.", "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editComponentBlocksSingleFeatureInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, + "name": "UNION", + "description": "Location adjacent to a union definition.", "isDeprecated": false, "deprecationReason": null }, { - "name": "description", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, + "name": "ENUM", + "description": "Location adjacent to an enum definition.", "isDeprecated": false, "deprecationReason": null }, { - "name": "title", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, + "name": "ENUM_VALUE", + "description": "Location adjacent to an enum value definition.", "isDeprecated": false, "deprecationReason": null }, { - "name": "image", + "name": "INPUT_OBJECT", + "description": "Location adjacent to an input object type definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_FIELD_DEFINITION", + "description": "Location adjacent to an input object field definition.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__EnumValue", + "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", + "fields": [ + { + "name": "name", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "url", + "name": "description", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "bubbleColor", + "name": "isDeprecated", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "label", + "name": "deprecationReason", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "editComponentBlocksSocialBubbleInput", - "description": null, - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "__Field", + "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", + "fields": [ { - "name": "id", + "name": "name", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "url", + "name": "description", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "bubbleColor", + "name": "args", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "bubbleHoverColor", + "name": "isDeprecated", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "image", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editComponentGlobalBottomBarInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "id", + "name": "deprecationReason", "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "editComponentGlobalCompanyDatumInput", - "description": null, - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "__InputValue", + "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", + "fields": [ { - "name": "id", + "name": "name", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "primaryEmail", + "name": "description", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "companyName", + "name": "type", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "additionalLegalInfo", - "description": null, + "name": "defaultValue", + "description": "A GraphQL-formatted string representing the default value for this input value.", + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "locations", + "name": "isDeprecated", "description": null, + "args": [], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "editComponentGlobalHeadquarterInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "capital", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "vatId", + "name": "deprecationReason", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Schema", + "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", + "fields": [ { - "name": "copyright", + "name": "description", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "legalCompanyName", - "description": null, + "name": "types", + "description": "A list of all types supported by this server.", + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editComponentGlobalFooterDatumInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", - "description": null, + "name": "queryType", + "description": "The type that query operations will be rooted at.", + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "description", - "description": null, + "name": "mutationType", + "description": "If this server supports mutation, the type that mutation operations will be rooted at.", + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "__Type", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editComponentGlobalFooterInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", - "description": null, + "name": "subscriptionType", + "description": "If this server support subscription, the type that subscription operations will be rooted at.", + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "__Type", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "description", - "description": null, + "name": "directives", + "description": "A list of all directives supported by this server.", + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Directive", + "ofType": null + } + } + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "editComponentGlobalHeadquarterInput", - "description": null, - "fields": null, - "inputFields": [ + "kind": "OBJECT", + "name": "__Type", + "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", + "fields": [ { - "name": "id", + "name": "kind", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__TypeKind", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "province", + "name": "name", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "provinceInitials", + "name": "description", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "type", + "name": "specifiedByUrl", "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "street", + "name": "fields", "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Field", + "ofType": null + } + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "city", + "name": "interfaces", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "cap", + "name": "possibleTypes", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editComponentGlobalTopbarInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "enumValues", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__EnumValue", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "inputFields", "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "menu", + "name": "ofType", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "__Type", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "editComponentMenuPageLinkInput", - "description": null, + "kind": "ENUM", + "name": "__TypeKind", + "description": "An enum describing what kind of type a given `__Type` is.", "fields": null, - "inputFields": [ + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, + "name": "SCALAR", + "description": "Indicates this type is a scalar.", "isDeprecated": false, "deprecationReason": null }, { - "name": "pageLinkName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, + "name": "OBJECT", + "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERFACE", + "description": "Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNION", + "description": "Indicates this type is a union. `possibleTypes` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM", + "description": "Indicates this type is an enum. `enumValues` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_OBJECT", + "description": "Indicates this type is an input object. `inputFields` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LIST", + "description": "Indicates this type is a list. `ofType` is a valid field.", "isDeprecated": false, "deprecationReason": null }, { - "name": "link", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, + "name": "NON_NULL", + "description": "Indicates this type is a non-null. `ofType` is a valid field.", "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, - "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "editComponentProjectBlockquoteBlockInput", + "name": "createFormMessageInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "data", "description": null, "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "INPUT_OBJECT", + "name": "FormMessageInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "createFormMessagePayload", + "description": null, + "fields": [ { - "name": "text", + "name": "formMessage", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "FormMessages", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "editComponentProjectImageBlockInput", + "name": "createMenuInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "data", "description": null, "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "INPUT_OBJECT", + "name": "MenuInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "createMenuPayload", + "description": null, + "fields": [ { - "name": "image", + "name": "menu", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "Menu", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "editComponentProjectParagraphBlockInput", + "name": "createPageInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "data", "description": null, "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "INPUT_OBJECT", + "name": "PageInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "createPagePayload", + "description": null, + "fields": [ { - "name": "text", + "name": "page", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Page", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "editComponentProjectTitleBlockInput", + "name": "createProjectInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "data", "description": null, "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "INPUT_OBJECT", + "name": "ProjectInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "createProjectPayload", + "description": null, + "fields": [ { - "name": "title", + "name": "project", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Project", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "editComponentSectionCardSectionInput", + "name": "createRoleInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", + "name": "data", "description": null, "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "INPUT_OBJECT", + "name": "RoleInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "createRolePayload", + "description": null, + "fields": [ { - "name": "title", + "name": "role", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UsersPermissionsRole", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "createUserInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "subtitle", + "name": "data", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "UserInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "createUserPayload", + "description": null, + "fields": [ { - "name": "sections", + "name": "user", "description": null, + "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "editComponentBlocksCardInput", - "ofType": null - } + "kind": "OBJECT", + "name": "UsersPermissionsUser", + "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "deleteFileInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "sectionTitle", + "name": "where", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "InputID", "ofType": null }, "defaultValue": null, @@ -14660,231 +13883,335 @@ "possibleTypes": null }, { - "kind": "INPUT_OBJECT", - "name": "editComponentSectionContactsSectionInput", + "kind": "OBJECT", + "name": "deleteFilePayload", "description": null, - "fields": null, - "inputFields": [ + "fields": [ { - "name": "id", + "name": "file", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "ID", + "kind": "OBJECT", + "name": "UploadFile", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "deleteFormMessageInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "title", + "name": "where", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "InputID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "deleteFormMessagePayload", + "description": null, + "fields": [ { - "name": "subtitle", + "name": "formMessage", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "FormMessages", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "deleteGlobalPayload", + "description": null, + "fields": [ { - "name": "email", + "name": "global", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Global", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "deleteMenuInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "sectionTitle", + "name": "where", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "InputID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "deleteMenuPayload", + "description": null, + "fields": [ { - "name": "socialBubbles", + "name": "menu", "description": null, + "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "editComponentBlocksSocialBubbleInput", - "ofType": null - } + "kind": "OBJECT", + "name": "Menu", + "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "editComponentSectionFooterSectionInput", + "name": "deletePageInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", + "name": "where", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "InputID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "deletePagePayload", + "description": null, + "fields": [ { - "name": "email", + "name": "page", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Page", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "deleteProjectInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "copyright", + "name": "where", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "InputID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "deleteProjectPayload", + "description": null, + "fields": [ { - "name": "sharedCapital", + "name": "project", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Project", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "deleteRoleInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "street", + "name": "where", "description": null, "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "InputID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "deleteRolePayload", + "description": null, + "fields": [ { - "name": "city", + "name": "role", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "UsersPermissionsRole", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "deleteUserInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "vatNumber", + "name": "where", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "InputID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "deleteUserPayload", + "description": null, + "fields": [ { - "name": "cap", + "name": "user", "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "UsersPermissionsUser", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, + "inputFields": null, + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "editComponentSectionHeroSectionInput", + "name": "editComponentBlocksCardInput", "description": null, "fields": null, "inputFields": [ { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "title", + "name": "description", "description": null, "type": { "kind": "SCALAR", @@ -14896,11 +14223,11 @@ "deprecationReason": null }, { - "name": "subtitle", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -14908,34 +14235,23 @@ "deprecationReason": null }, { - "name": "areBubblesActive", + "name": "image", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "ID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editComponentSectionProjectsSectionInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "id", + "name": "label", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -14943,7 +14259,7 @@ "deprecationReason": null }, { - "name": "sectionTitle", + "name": "title", "description": null, "type": { "kind": "SCALAR", @@ -14955,7 +14271,7 @@ "deprecationReason": null }, { - "name": "sectionTitleColor", + "name": "url", "description": null, "type": { "kind": "SCALAR", @@ -14973,7 +14289,7 @@ }, { "kind": "INPUT_OBJECT", - "name": "editComponentSectionSimpleSectionInput", + "name": "editComponentBlocksLinkInput", "description": null, "fields": null, "inputFields": [ @@ -14990,7 +14306,7 @@ "deprecationReason": null }, { - "name": "sectionTitle", + "name": "label", "description": null, "type": { "kind": "SCALAR", @@ -15002,7 +14318,7 @@ "deprecationReason": null }, { - "name": "sectionTitleColor", + "name": "url", "description": null, "type": { "kind": "SCALAR", @@ -15012,9 +14328,20 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentBlocksSingleFeatureInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "title", + "name": "bubbleColor", "description": null, "type": { "kind": "SCALAR", @@ -15026,7 +14353,7 @@ "deprecationReason": null }, { - "name": "subtitle", + "name": "description", "description": null, "type": { "kind": "SCALAR", @@ -15036,18 +14363,7 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editComponentSectionSingleFeatureSectionInput", - "description": null, - "fields": null, - "inputFields": [ + }, { "name": "id", "description": null, @@ -15061,11 +14377,11 @@ "deprecationReason": null }, { - "name": "title", + "name": "image", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -15073,7 +14389,7 @@ "deprecationReason": null }, { - "name": "subtitle", + "name": "label", "description": null, "type": { "kind": "SCALAR", @@ -15085,23 +14401,19 @@ "deprecationReason": null }, { - "name": "sections", + "name": "title", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "editComponentBlocksSingleFeatureInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "sectionTitle", + "name": "url", "description": null, "type": { "kind": "SCALAR", @@ -15119,12 +14431,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "editFileInput", + "name": "editComponentBlocksSocialBubbleInput", "description": null, "fields": null, "inputFields": [ { - "name": "name", + "name": "bubbleColor", "description": null, "type": { "kind": "SCALAR", @@ -15136,7 +14448,7 @@ "deprecationReason": null }, { - "name": "alternativeText", + "name": "bubbleHoverColor", "description": null, "type": { "kind": "SCALAR", @@ -15148,11 +14460,11 @@ "deprecationReason": null }, { - "name": "caption", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -15160,11 +14472,11 @@ "deprecationReason": null }, { - "name": "width", + "name": "image", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -15172,23 +14484,34 @@ "deprecationReason": null }, { - "name": "height", + "name": "url", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentGlobalCompanyDatumInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "formats", + "name": "additionalLegalInfo", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15196,11 +14519,11 @@ "deprecationReason": null }, { - "name": "hash", + "name": "capital", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null }, "defaultValue": null, @@ -15208,7 +14531,7 @@ "deprecationReason": null }, { - "name": "ext", + "name": "companyName", "description": null, "type": { "kind": "SCALAR", @@ -15220,7 +14543,7 @@ "deprecationReason": null }, { - "name": "mime", + "name": "copyright", "description": null, "type": { "kind": "SCALAR", @@ -15232,11 +14555,11 @@ "deprecationReason": null }, { - "name": "size", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "Float", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -15244,7 +14567,7 @@ "deprecationReason": null }, { - "name": "url", + "name": "legalCompanyName", "description": null, "type": { "kind": "SCALAR", @@ -15256,19 +14579,23 @@ "deprecationReason": null }, { - "name": "previewUrl", + "name": "locations", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "editComponentGlobalHeadquarterInput", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "provider", + "name": "primaryEmail", "description": null, "type": { "kind": "SCALAR", @@ -15280,39 +14607,34 @@ "deprecationReason": null }, { - "name": "provider_metadata", + "name": "vatId", "description": null, "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "related", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentGlobalFooterInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "created_by", + "name": "description", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15320,7 +14642,7 @@ "deprecationReason": null }, { - "name": "updated_by", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -15338,16 +14660,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "editFormMessageInput", + "name": "editComponentGlobalHeadquarterInput", "description": null, "fields": null, "inputFields": [ { - "name": "email", + "name": "cap", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null }, "defaultValue": null, @@ -15355,7 +14677,7 @@ "deprecationReason": null }, { - "name": "name", + "name": "city", "description": null, "type": { "kind": "SCALAR", @@ -15367,11 +14689,11 @@ "deprecationReason": null }, { - "name": "message", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -15379,11 +14701,11 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "province", "description": null, "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15391,11 +14713,11 @@ "deprecationReason": null }, { - "name": "created_by", + "name": "provinceInitials", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15403,34 +14725,11 @@ "deprecationReason": null }, { - "name": "updated_by", + "name": "street", "description": null, "type": { "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editGlobalInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "topbar", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "editComponentGlobalTopbarInput", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15438,23 +14737,34 @@ "deprecationReason": null }, { - "name": "companyData", + "name": "type", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "editComponentGlobalCompanyDatumInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentGlobalTopbarInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "footer", + "name": "id", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "editComponentGlobalFooterInput", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -15462,19 +14772,30 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "menu", "description": null, "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "ID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentProjectBlockquoteBlockInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "created_by", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -15486,11 +14807,11 @@ "deprecationReason": null }, { - "name": "updated_by", + "name": "text", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15504,16 +14825,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "editLocaleInput", + "name": "editComponentProjectImageBlockInput", "description": null, "fields": null, "inputFields": [ { - "name": "name", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -15521,19 +14842,30 @@ "deprecationReason": null }, { - "name": "code", + "name": "image", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentProjectParagraphBlockInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "created_by", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -15545,11 +14877,11 @@ "deprecationReason": null }, { - "name": "updated_by", + "name": "text", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15563,28 +14895,24 @@ }, { "kind": "INPUT_OBJECT", - "name": "editMenuInput", + "name": "editComponentSectionCardSectionInput", "description": null, "fields": null, "inputFields": [ { - "name": "links", + "name": "id", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "editComponentBlocksNavigationBlockInput", - "ofType": null - } + "kind": "SCALAR", + "name": "ID", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "title", + "name": "sectionTitle", "description": null, "type": { "kind": "SCALAR", @@ -15596,23 +14924,27 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "sections", "description": null, "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "editComponentBlocksCardInput", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_by", + "name": "subtitle", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15620,11 +14952,11 @@ "deprecationReason": null }, { - "name": "updated_by", + "name": "title", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15638,12 +14970,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "editPageInput", + "name": "editComponentSectionContactsSectionInput", "description": null, "fields": null, "inputFields": [ { - "name": "title", + "name": "email", "description": null, "type": { "kind": "SCALAR", @@ -15655,11 +14987,11 @@ "deprecationReason": null }, { - "name": "path", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -15667,34 +14999,26 @@ "deprecationReason": null }, { - "name": "sections", + "name": "sectionTitle", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "PagesSectionsDynamicZoneInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "localizations", + "name": "socialBubbles", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "INPUT_OBJECT", + "name": "editComponentBlocksSocialBubbleInput", "ofType": null } }, @@ -15703,7 +15027,7 @@ "deprecationReason": null }, { - "name": "locale", + "name": "subtitle", "description": null, "type": { "kind": "SCALAR", @@ -15715,23 +15039,34 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "title", "description": null, "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentSectionHeroSectionInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "created_by", + "name": "areBubblesActive", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "Boolean", "ofType": null }, "defaultValue": null, @@ -15739,7 +15074,7 @@ "deprecationReason": null }, { - "name": "updated_by", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -15749,20 +15084,9 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editProjectInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "projectType", + "name": "subtitle", "description": null, "type": { "kind": "SCALAR", @@ -15774,7 +15098,7 @@ "deprecationReason": null }, { - "name": "linkPath", + "name": "title", "description": null, "type": { "kind": "SCALAR", @@ -15784,13 +15108,24 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentSectionSimpleSectionInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "linkLabel", + "name": "id", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -15798,7 +15133,7 @@ "deprecationReason": null }, { - "name": "description", + "name": "sectionTitle", "description": null, "type": { "kind": "SCALAR", @@ -15810,27 +15145,19 @@ "deprecationReason": null }, { - "name": "blocks", + "name": "sectionTitleColor", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ProjectBlocksDynamicZoneInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "path", + "name": "subtitle", "description": null, "type": { "kind": "SCALAR", @@ -15842,7 +15169,7 @@ "deprecationReason": null }, { - "name": "companyName", + "name": "title", "description": null, "type": { "kind": "SCALAR", @@ -15852,9 +15179,20 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editComponentSectionSingleFeatureSectionInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "image", + "name": "id", "description": null, "type": { "kind": "SCALAR", @@ -15866,23 +15204,7 @@ "deprecationReason": null }, { - "name": "localizations", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "locale", + "name": "sectionTitle", "description": null, "type": { "kind": "SCALAR", @@ -15894,23 +15216,27 @@ "deprecationReason": null }, { - "name": "published_at", + "name": "sections", "description": null, "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "editComponentBlocksSingleFeatureInput", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_by", + "name": "subtitle", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15918,11 +15244,11 @@ "deprecationReason": null }, { - "name": "updated_by", + "name": "title", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -15936,12 +15262,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "editRoleInput", + "name": "editFileInput", "description": null, "fields": null, "inputFields": [ { - "name": "name", + "name": "alternativeText", "description": null, "type": { "kind": "SCALAR", @@ -15953,7 +15279,7 @@ "deprecationReason": null }, { - "name": "description", + "name": "caption", "description": null, "type": { "kind": "SCALAR", @@ -15965,11 +15291,11 @@ "deprecationReason": null }, { - "name": "type", + "name": "created_by", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -15977,43 +15303,23 @@ "deprecationReason": null }, { - "name": "permissions", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "users", + "name": "ext", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "created_by", + "name": "formats", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "JSON", "ofType": null }, "defaultValue": null, @@ -16021,34 +15327,23 @@ "deprecationReason": null }, { - "name": "updated_by", + "name": "hash", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "editUserInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "username", + "name": "height", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -16056,7 +15351,7 @@ "deprecationReason": null }, { - "name": "email", + "name": "mime", "description": null, "type": { "kind": "SCALAR", @@ -16068,7 +15363,7 @@ "deprecationReason": null }, { - "name": "provider", + "name": "name", "description": null, "type": { "kind": "SCALAR", @@ -16080,7 +15375,7 @@ "deprecationReason": null }, { - "name": "password", + "name": "previewUrl", "description": null, "type": { "kind": "SCALAR", @@ -16092,7 +15387,7 @@ "deprecationReason": null }, { - "name": "resetPasswordToken", + "name": "provider", "description": null, "type": { "kind": "SCALAR", @@ -16104,11 +15399,11 @@ "deprecationReason": null }, { - "name": "confirmationToken", + "name": "provider_metadata", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "JSON", "ofType": null }, "defaultValue": null, @@ -16116,23 +15411,27 @@ "deprecationReason": null }, { - "name": "confirmed", + "name": "related", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "blocked", + "name": "size", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null }, "defaultValue": null, @@ -16140,7 +15439,7 @@ "deprecationReason": null }, { - "name": "role", + "name": "updated_by", "description": null, "type": { "kind": "SCALAR", @@ -16152,11 +15451,11 @@ "deprecationReason": null }, { - "name": "created_by", + "name": "url", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "String", "ofType": null }, "defaultValue": null, @@ -16164,11 +15463,11 @@ "deprecationReason": null }, { - "name": "updated_by", + "name": "width", "description": null, "type": { "kind": "SCALAR", - "name": "ID", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -16182,16 +15481,16 @@ }, { "kind": "INPUT_OBJECT", - "name": "updateFormMessageInput", + "name": "editFormMessageInput", "description": null, "fields": null, "inputFields": [ { - "name": "where", + "name": "created_by", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -16199,103 +15498,106 @@ "deprecationReason": null }, { - "name": "data", + "name": "email", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "editFormMessageInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "updateFormMessagePayload", - "description": null, - "fields": [ + }, { - "name": "formMessage", + "name": "message", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "FormMessages", + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "published_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "updateGlobalInput", + "name": "editGlobalInput", "description": null, "fields": null, "inputFields": [ { - "name": "data", + "name": "companyData", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "editGlobalInput", + "name": "editComponentGlobalCompanyDatumInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "updateGlobalPayload", - "description": null, - "fields": [ + }, { - "name": "global", + "name": "created_by", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "Global", + "kind": "SCALAR", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "updateMenuInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "where", + "name": "footer", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "InputID", + "name": "editComponentGlobalFooterInput", "ofType": null }, "defaultValue": null, @@ -16303,57 +15605,58 @@ "deprecationReason": null }, { - "name": "data", + "name": "published_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "topbar", "description": null, "type": { "kind": "INPUT_OBJECT", - "name": "editMenuInput", + "name": "editComponentGlobalTopbarInput", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "updateMenuPayload", - "description": null, - "fields": [ + }, { - "name": "menu", + "name": "updated_by", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "Menu", + "kind": "SCALAR", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "updatePageInput", + "name": "editLocaleInput", "description": null, "fields": null, "inputFields": [ { - "name": "where", + "name": "code", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, @@ -16361,57 +15664,58 @@ "deprecationReason": null }, { - "name": "data", + "name": "created_by", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "editPageInput", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "updatePagePayload", - "description": null, - "fields": [ + }, { - "name": "page", + "name": "name", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "Pages", + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "updateProjectInput", + "name": "editMenuInput", "description": null, "fields": null, "inputFields": [ { - "name": "where", + "name": "created_by", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -16419,57 +15723,55 @@ "deprecationReason": null }, { - "name": "data", + "name": "links", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "editProjectInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "editComponentBlocksLinkInput", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "updateProjectPayload", - "description": null, - "fields": [ + }, { - "name": "project", + "name": "locale", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "Project", + "kind": "SCALAR", + "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "updateRoleInput", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "where", + "name": "localizations", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "published_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", "ofType": null }, "defaultValue": null, @@ -16477,57 +15779,46 @@ "deprecationReason": null }, { - "name": "data", + "name": "title", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "editRoleInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "updateRolePayload", - "description": null, - "fields": [ + }, { - "name": "role", + "name": "updated_by", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsRole", + "kind": "SCALAR", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "updateUserInput", + "name": "editPageInput", "description": null, "fields": null, "inputFields": [ { - "name": "where", + "name": "created_by", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "InputID", + "kind": "SCALAR", + "name": "ID", "ofType": null }, "defaultValue": null, @@ -16535,700 +15826,578 @@ "deprecationReason": null }, { - "name": "data", + "name": "locale", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "editUserInput", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "updateUserPayload", - "description": null, - "fields": [ + }, { - "name": "user", + "name": "localizations", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "UsersPermissionsUser", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Schema", - "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", - "fields": [ + }, { - "name": "description", + "name": "path", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "types", - "description": "A list of all types supported by this server.", - "args": [], + "name": "published_at", + "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "DateTime", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "queryType", - "description": "The type that query operations will be rooted at.", - "args": [], + "name": "sections", + "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PageSectionsDynamicZoneInput", + "ofType": null + } } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "mutationType", - "description": "If this server supports mutation, the type that mutation operations will be rooted at.", - "args": [], + "name": "title", + "description": null, "type": { - "kind": "OBJECT", - "name": "__Type", + "kind": "SCALAR", + "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "subscriptionType", - "description": "If this server support subscription, the type that subscription operations will be rooted at.", - "args": [], + "name": "updated_by", + "description": null, "type": { - "kind": "OBJECT", - "name": "__Type", + "kind": "SCALAR", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editProjectInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "directives", - "description": "A list of all directives supported by this server.", - "args": [], + "name": "blocks", + "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Directive", - "ofType": null - } + "kind": "SCALAR", + "name": "ProjectBlocksDynamicZoneInput", + "ofType": null } } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Type", - "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", - "fields": [ + }, { - "name": "kind", + "name": "companyName", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__TypeKind", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "name", + "name": "created_by", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "image", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "specifiedByUrl", + "name": "linkLabel", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "fields", + "name": "linkPath", "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Field", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "interfaces", + "name": "locale", "description": null, - "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "possibleTypes", + "name": "localizations", "description": null, - "args": [], "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } + "kind": "SCALAR", + "name": "ID", + "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "enumValues", + "name": "path", "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__EnumValue", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "inputFields", + "name": "projectType", "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "ofType", + "name": "published_at", "description": null, - "args": [], "type": { - "kind": "OBJECT", - "name": "__Type", + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updated_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { - "kind": "ENUM", - "name": "__TypeKind", - "description": "An enum describing what kind of type a given `__Type` is.", + "kind": "INPUT_OBJECT", + "name": "editRoleInput", + "description": null, "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "SCALAR", - "description": "Indicates this type is a scalar.", - "isDeprecated": false, - "deprecationReason": null - }, + "inputFields": [ { - "name": "OBJECT", - "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", + "name": "created_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "INTERFACE", - "description": "Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.", + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "UNION", - "description": "Indicates this type is a union. `possibleTypes` is a valid field.", + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "ENUM", - "description": "Indicates this type is an enum. `enumValues` is a valid field.", + "name": "permissions", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "INPUT_OBJECT", - "description": "Indicates this type is an input object. `inputFields` is a valid field.", + "name": "type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "LIST", - "description": "Indicates this type is a list. `ofType` is a valid field.", + "name": "updated_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "NON_NULL", - "description": "Indicates this type is a non-null. `ofType` is a valid field.", - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__Field", - "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", - "fields": [ - { - "name": "name", + "name": "users", "description": null, - "args": [], "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "editUserInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "description", + "name": "blocked", "description": null, - "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "args", + "name": "confirmationToken", "description": null, - "args": [ - { - "name": "includeDeprecated", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "type", + "name": "confirmed", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "isDeprecated", + "name": "created_by", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "kind": "SCALAR", + "name": "ID", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "deprecationReason", + "name": "email", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "__InputValue", - "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", - "fields": [ + }, { - "name": "name", + "name": "password", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "description", + "name": "provider", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "type", + "name": "resetPasswordToken", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "defaultValue", - "description": "A GraphQL-formatted string representing the default value for this input value.", - "args": [], + "name": "role", + "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "isDeprecated", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "name": "updated_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "deprecationReason", + "name": "username", "description": null, - "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "__EnumValue", - "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, + "kind": "INPUT_OBJECT", + "name": "updateFormMessageInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "description", + "name": "data", "description": null, - "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "editFormMessageInput", "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "isDeprecated", + "name": "where", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "InputID", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "updateFormMessagePayload", + "description": null, + "fields": [ { - "name": "deprecationReason", + "name": "formMessage", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "FormMessages", "ofType": null }, "isDeprecated": false, @@ -17241,98 +16410,99 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "__Directive", - "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "updateGlobalInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "name", + "name": "data", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "editGlobalInput", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "updateGlobalPayload", + "description": null, + "fields": [ { - "name": "description", + "name": "global", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Global", "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "updateMenuInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "isRepeatable", + "name": "data", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "editMenuInput", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "locations", + "name": "where", "description": null, - "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__DirectiveLocation", - "ofType": null - } - } - } + "kind": "INPUT_OBJECT", + "name": "InputID", + "ofType": null }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "updateMenuPayload", + "description": null, + "fields": [ { - "name": "args", + "name": "menu", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } - } + "kind": "OBJECT", + "name": "Menu", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -17344,132 +16514,264 @@ "possibleTypes": null }, { - "kind": "ENUM", - "name": "__DirectiveLocation", - "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", + "kind": "INPUT_OBJECT", + "name": "updatePageInput", + "description": null, "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "QUERY", - "description": "Location adjacent to a query operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "MUTATION", - "description": "Location adjacent to a mutation operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "SUBSCRIPTION", - "description": "Location adjacent to a subscription operation.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FIELD", - "description": "Location adjacent to a field.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_DEFINITION", - "description": "Location adjacent to a fragment definition.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FRAGMENT_SPREAD", - "description": "Location adjacent to a fragment spread.", - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INLINE_FRAGMENT", - "description": "Location adjacent to an inline fragment.", - "isDeprecated": false, - "deprecationReason": null - }, + "inputFields": [ { - "name": "VARIABLE_DEFINITION", - "description": "Location adjacent to a variable definition.", + "name": "data", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "editPageInput", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "SCHEMA", - "description": "Location adjacent to a schema definition.", + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "InputID", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "updatePagePayload", + "description": null, + "fields": [ { - "name": "SCALAR", - "description": "Location adjacent to a scalar definition.", + "name": "page", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Page", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "updateProjectInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "OBJECT", - "description": "Location adjacent to an object type definition.", + "name": "data", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "editProjectInput", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "FIELD_DEFINITION", - "description": "Location adjacent to a field definition.", + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "InputID", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "updateProjectPayload", + "description": null, + "fields": [ { - "name": "ARGUMENT_DEFINITION", - "description": "Location adjacent to an argument definition.", + "name": "project", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Project", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "updateRoleInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "INTERFACE", - "description": "Location adjacent to an interface definition.", + "name": "data", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "editRoleInput", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "UNION", - "description": "Location adjacent to a union definition.", + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "InputID", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "updateRolePayload", + "description": null, + "fields": [ { - "name": "ENUM", - "description": "Location adjacent to an enum definition.", + "name": "role", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsRole", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "updateUserInput", + "description": null, + "fields": null, + "inputFields": [ { - "name": "ENUM_VALUE", - "description": "Location adjacent to an enum value definition.", + "name": "data", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "editUserInput", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "INPUT_OBJECT", - "description": "Location adjacent to an input object type definition.", + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "InputID", + "ofType": null + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "updateUserPayload", + "description": null, + "fields": [ { - "name": "INPUT_FIELD_DEFINITION", - "description": "Location adjacent to an input object field definition.", + "name": "user", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsUser", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null } ], + "inputFields": null, + "interfaces": [], + "enumValues": null, "possibleTypes": null } ], "directives": [ + { + "name": "deprecated", + "description": "Marks an element of a GraphQL schema as no longer supported.", + "isRepeatable": false, + "locations": [ + "ARGUMENT_DEFINITION", + "ENUM_VALUE", + "FIELD_DEFINITION", + "INPUT_FIELD_DEFINITION" + ], + "args": [ + { + "name": "reason", + "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": "\"No longer supported\"", + "isDeprecated": false, + "deprecationReason": null + } + ] + }, { "name": "include", "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", @@ -17526,31 +16828,6 @@ } ] }, - { - "name": "deprecated", - "description": "Marks an element of a GraphQL schema as no longer supported.", - "isRepeatable": false, - "locations": [ - "FIELD_DEFINITION", - "ARGUMENT_DEFINITION", - "INPUT_FIELD_DEFINITION", - "ENUM_VALUE" - ], - "args": [ - { - "name": "reason", - "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"No longer supported\"", - "isDeprecated": false, - "deprecationReason": null - } - ] - }, { "name": "specifiedBy", "description": "Exposes a URL that specifies the behaviour of this scalar.", diff --git a/frontend/graphql/generated.ts b/frontend/graphql/generated.ts index 85a4651e..dcd86710 100644 --- a/frontend/graphql/generated.ts +++ b/frontend/graphql/generated.ts @@ -17,8 +17,8 @@ export type Scalars = { JSON: any; /** The `Long` scalar type represents 52-bit integers */ Long: any; - /** Input type for dynamic zone sections of Pages */ - PagesSectionsDynamicZoneInput: any; + /** Input type for dynamic zone sections of Page */ + PageSectionsDynamicZoneInput: any; /** Input type for dynamic zone blocks of Project */ ProjectBlocksDynamicZoneInput: any; /** A time string with format: HH:mm:ss.SSS */ @@ -29,125 +29,106 @@ export type Scalars = { export type AdminUser = { __typename?: 'AdminUser'; - id: Scalars['ID']; - username?: Maybe; firstname: Scalars['String']; + id: Scalars['ID']; lastname: Scalars['String']; + username?: Maybe; }; export type ComponentBlocksCard = { __typename?: 'ComponentBlocksCard'; + description?: Maybe; id: Scalars['ID']; - title: Scalars['String']; - description: Scalars['String']; image?: Maybe; - url: Scalars['String']; label: Scalars['String']; + title?: Maybe; + url: Scalars['String']; }; export type ComponentBlocksCardInput = { - title: Scalars['String']; - description: Scalars['String']; + description?: Maybe; image?: Maybe; - url: Scalars['String']; label: Scalars['String']; + title?: Maybe; + url: Scalars['String']; }; -export type ComponentBlocksNavigationBlock = { - __typename?: 'ComponentBlocksNavigationBlock'; +export type ComponentBlocksLink = { + __typename?: 'ComponentBlocksLink'; id: Scalars['ID']; label?: Maybe; url?: Maybe; }; -export type ComponentBlocksNavigationBlockInput = { +export type ComponentBlocksLinkInput = { label?: Maybe; url?: Maybe; }; export type ComponentBlocksSingleFeature = { __typename?: 'ComponentBlocksSingleFeature'; + bubbleColor?: Maybe; + description?: Maybe; id: Scalars['ID']; - description: Scalars['String']; - title: Scalars['String']; image?: Maybe; - url: Scalars['String']; - bubbleColor?: Maybe; label: Scalars['String']; + title?: Maybe; + url: Scalars['String']; }; export type ComponentBlocksSingleFeatureInput = { - description: Scalars['String']; - title: Scalars['String']; - image?: Maybe; - url: Scalars['String']; bubbleColor?: Maybe; + description?: Maybe; + image?: Maybe; label: Scalars['String']; + title?: Maybe; + url: Scalars['String']; }; export type ComponentBlocksSocialBubble = { __typename?: 'ComponentBlocksSocialBubble'; - id: Scalars['ID']; - url?: Maybe; bubbleColor?: Maybe; bubbleHoverColor?: Maybe; + id: Scalars['ID']; image?: Maybe; + url?: Maybe; }; export type ComponentBlocksSocialBubbleInput = { - url?: Maybe; bubbleColor?: Maybe; bubbleHoverColor?: Maybe; image?: Maybe; -}; - -export type ComponentGlobalBottomBar = { - __typename?: 'ComponentGlobalBottomBar'; - id: Scalars['ID']; -}; - -export type ComponentGlobalBottomBarInput = { - _?: Maybe; + url?: Maybe; }; export type ComponentGlobalCompanyData = { __typename?: 'ComponentGlobalCompanyData'; - id: Scalars['ID']; - primaryEmail?: Maybe; - companyName?: Maybe; additionalLegalInfo?: Maybe; - locations?: Maybe>>; capital?: Maybe; - vatId?: Maybe; + companyName?: Maybe; copyright?: Maybe; + id: Scalars['ID']; legalCompanyName?: Maybe; + locations?: Maybe>>; + primaryEmail?: Maybe; + vatId?: Maybe; }; export type ComponentGlobalCompanyDatumInput = { - primaryEmail?: Maybe; - companyName?: Maybe; additionalLegalInfo?: Maybe; - locations?: Maybe>>; capital?: Maybe; - vatId?: Maybe; + companyName?: Maybe; copyright?: Maybe; legalCompanyName?: Maybe; + locations?: Maybe>>; + primaryEmail?: Maybe; + vatId?: Maybe; }; export type ComponentGlobalFooter = { __typename?: 'ComponentGlobalFooter'; - id: Scalars['ID']; description?: Maybe; -}; - -export type ComponentGlobalFooterData = { - __typename?: 'ComponentGlobalFooterData'; id: Scalars['ID']; - description?: Maybe; -}; - -export type ComponentGlobalFooterDatumInput = { - description?: Maybe; }; export type ComponentGlobalFooterInput = { @@ -156,22 +137,22 @@ export type ComponentGlobalFooterInput = { export type ComponentGlobalHeadquarter = { __typename?: 'ComponentGlobalHeadquarter'; + cap?: Maybe; + city?: Maybe; id: Scalars['ID']; province?: Maybe; provinceInitials?: Maybe; - type?: Maybe; street?: Maybe; - city?: Maybe; - cap?: Maybe; + type?: Maybe; }; export type ComponentGlobalHeadquarterInput = { + cap?: Maybe; + city?: Maybe; province?: Maybe; provinceInitials?: Maybe; - type?: Maybe; street?: Maybe; - city?: Maybe; - cap?: Maybe; + type?: Maybe; }; export type ComponentGlobalTopbar = { @@ -184,18 +165,6 @@ export type ComponentGlobalTopbarInput = { menu?: Maybe; }; -export type ComponentMenuPageLink = { - __typename?: 'ComponentMenuPageLink'; - id: Scalars['ID']; - pageLinkName: Scalars['String']; - link?: Maybe; -}; - -export type ComponentMenuPageLinkInput = { - pageLinkName: Scalars['String']; - link?: Maybe; -}; - export type ComponentProjectBlockquoteBlock = { __typename?: 'ComponentProjectBlockquoteBlock'; id: Scalars['ID']; @@ -226,98 +195,52 @@ export type ComponentProjectParagraphBlockInput = { text?: Maybe; }; -export type ComponentProjectTitleBlock = { - __typename?: 'ComponentProjectTitleBlock'; - id: Scalars['ID']; - title?: Maybe; -}; - -export type ComponentProjectTitleBlockInput = { - title?: Maybe; -}; - export type ComponentSectionCardSection = { __typename?: 'ComponentSectionCardSection'; id: Scalars['ID']; - title?: Maybe; - subtitle?: Maybe; - sections?: Maybe>>; sectionTitle?: Maybe; + sections?: Maybe>>; + subtitle?: Maybe; + title?: Maybe; }; export type ComponentSectionCardSectionInput = { - title?: Maybe; - subtitle?: Maybe; - sections?: Maybe>>; sectionTitle?: Maybe; + sections?: Maybe>>; + subtitle?: Maybe; + title?: Maybe; }; export type ComponentSectionContactsSection = { __typename?: 'ComponentSectionContactsSection'; - id: Scalars['ID']; - title?: Maybe; - subtitle?: Maybe; email?: Maybe; + id: Scalars['ID']; sectionTitle?: Maybe; socialBubbles?: Maybe>>; + subtitle?: Maybe; + title?: Maybe; }; export type ComponentSectionContactsSectionInput = { - title?: Maybe; - subtitle?: Maybe; email?: Maybe; sectionTitle?: Maybe; socialBubbles?: Maybe>>; -}; - -export type ComponentSectionFooterSection = { - __typename?: 'ComponentSectionFooterSection'; - id: Scalars['ID']; - description?: Maybe; - email?: Maybe; - copyright?: Maybe; - sharedCapital?: Maybe; - street?: Maybe; - city?: Maybe; - vatNumber?: Maybe; - cap?: Maybe; -}; - -export type ComponentSectionFooterSectionInput = { - description?: Maybe; - email?: Maybe; - copyright?: Maybe; - sharedCapital?: Maybe; - street?: Maybe; - city?: Maybe; - vatNumber?: Maybe; - cap?: Maybe; + subtitle?: Maybe; + title?: Maybe; }; export type ComponentSectionHeroSection = { __typename?: 'ComponentSectionHeroSection'; + areBubblesActive?: Maybe; id: Scalars['ID']; - title?: Maybe; subtitle?: Maybe; - areBubblesActive?: Maybe; + title?: Maybe; }; export type ComponentSectionHeroSectionInput = { - title?: Maybe; - subtitle?: Maybe; areBubblesActive?: Maybe; -}; - -export type ComponentSectionProjectsSection = { - __typename?: 'ComponentSectionProjectsSection'; - id: Scalars['ID']; - sectionTitle?: Maybe; - sectionTitleColor?: Maybe; -}; - -export type ComponentSectionProjectsSectionInput = { - sectionTitle?: Maybe; - sectionTitleColor?: Maybe; + subtitle?: Maybe; + title?: Maybe; }; export type ComponentSectionSimpleSection = { @@ -325,79 +248,79 @@ export type ComponentSectionSimpleSection = { id: Scalars['ID']; sectionTitle?: Maybe; sectionTitleColor?: Maybe; - title?: Maybe; subtitle?: Maybe; + title?: Maybe; }; export type ComponentSectionSimpleSectionInput = { sectionTitle?: Maybe; sectionTitleColor?: Maybe; - title?: Maybe; subtitle?: Maybe; + title?: Maybe; }; export type ComponentSectionSingleFeatureSection = { __typename?: 'ComponentSectionSingleFeatureSection'; id: Scalars['ID']; - title?: Maybe; - subtitle?: Maybe; - sections?: Maybe>>; sectionTitle?: Maybe; + sections?: Maybe>>; + subtitle?: Maybe; + title?: Maybe; }; export type ComponentSectionSingleFeatureSectionInput = { - title?: Maybe; - subtitle?: Maybe; - sections?: Maybe>>; sectionTitle?: Maybe; + sections?: Maybe>>; + subtitle?: Maybe; + title?: Maybe; }; export type FileInfoInput = { - name?: Maybe; alternativeText?: Maybe; caption?: Maybe; + name?: Maybe; }; export type FileInput = { - name: Scalars['String']; alternativeText?: Maybe; caption?: Maybe; - width?: Maybe; - height?: Maybe; + created_by?: Maybe; + ext?: Maybe; formats?: Maybe; hash: Scalars['String']; - ext?: Maybe; + height?: Maybe; mime: Scalars['String']; - size: Scalars['Float']; - url: Scalars['String']; + name: Scalars['String']; previewUrl?: Maybe; provider: Scalars['String']; provider_metadata?: Maybe; related?: Maybe>>; - created_by?: Maybe; + size: Scalars['Float']; updated_by?: Maybe; + url: Scalars['String']; + width?: Maybe; }; export type FormMessageInput = { + created_by?: Maybe; email?: Maybe; - name?: Maybe; message?: Maybe; + name?: Maybe; published_at?: Maybe; - created_by?: Maybe; updated_by?: Maybe; }; export type FormMessages = { __typename?: 'FormMessages'; - id: Scalars['ID']; created_at: Scalars['DateTime']; - updated_at: Scalars['DateTime']; email?: Maybe; - name?: Maybe; + id: Scalars['ID']; message?: Maybe; + name?: Maybe; published_at?: Maybe; + updated_at: Scalars['DateTime']; }; export type FormMessagesAggregator = { @@ -408,91 +331,91 @@ export type FormMessagesAggregator = { export type FormMessagesConnection = { __typename?: 'FormMessagesConnection'; - values?: Maybe>>; - groupBy?: Maybe; aggregate?: Maybe; + groupBy?: Maybe; + values?: Maybe>>; }; export type FormMessagesConnectionCreated_At = { __typename?: 'FormMessagesConnectionCreated_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type FormMessagesConnectionEmail = { __typename?: 'FormMessagesConnectionEmail'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type FormMessagesConnectionId = { __typename?: 'FormMessagesConnectionId'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type FormMessagesConnectionMessage = { __typename?: 'FormMessagesConnectionMessage'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type FormMessagesConnectionName = { __typename?: 'FormMessagesConnectionName'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type FormMessagesConnectionPublished_At = { __typename?: 'FormMessagesConnectionPublished_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type FormMessagesConnectionUpdated_At = { __typename?: 'FormMessagesConnectionUpdated_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type FormMessagesGroupBy = { __typename?: 'FormMessagesGroupBy'; - id?: Maybe>>; created_at?: Maybe>>; - updated_at?: Maybe>>; email?: Maybe>>; - name?: Maybe>>; + id?: Maybe>>; message?: Maybe>>; + name?: Maybe>>; published_at?: Maybe>>; + updated_at?: Maybe>>; }; export type Global = { __typename?: 'Global'; - id: Scalars['ID']; - created_at: Scalars['DateTime']; - updated_at: Scalars['DateTime']; - topbar?: Maybe; companyData?: Maybe; + created_at: Scalars['DateTime']; footer?: Maybe; + id: Scalars['ID']; published_at?: Maybe; + topbar?: Maybe; + updated_at: Scalars['DateTime']; }; export type GlobalInput = { - topbar?: Maybe; companyData?: Maybe; + created_by?: Maybe; footer?: Maybe; published_at?: Maybe; - created_by?: Maybe; + topbar?: Maybe; updated_by?: Maybe; }; export type I18NLocale = { __typename?: 'I18NLocale'; - id: Scalars['ID']; + code?: Maybe; created_at: Scalars['DateTime']; - updated_at: Scalars['DateTime']; + id: Scalars['ID']; name?: Maybe; - code?: Maybe; + updated_at: Scalars['DateTime']; }; export type InputId = { @@ -501,21 +424,31 @@ export type InputId = { export type LocaleInput = { - name?: Maybe; code?: Maybe; created_by?: Maybe; + name?: Maybe; updated_by?: Maybe; }; export type Menu = { __typename?: 'Menu'; - id: Scalars['ID']; created_at: Scalars['DateTime']; - updated_at: Scalars['DateTime']; - links?: Maybe>>; - title: Scalars['String']; + id: Scalars['ID']; + links?: Maybe>>; + locale?: Maybe; + localizations?: Maybe>>; published_at?: Maybe; + title: Scalars['String']; + updated_at: Scalars['DateTime']; +}; + + +export type MenuLocalizationsArgs = { + limit?: Maybe; + sort?: Maybe; + start?: Maybe; + where?: Maybe; }; export type MenuAggregator = { @@ -526,100 +459,110 @@ export type MenuAggregator = { export type MenuConnection = { __typename?: 'MenuConnection'; - values?: Maybe>>; - groupBy?: Maybe; aggregate?: Maybe; + groupBy?: Maybe; + values?: Maybe>>; }; export type MenuConnectionCreated_At = { __typename?: 'MenuConnectionCreated_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type MenuConnectionId = { __typename?: 'MenuConnectionId'; + connection?: Maybe; key?: Maybe; +}; + +export type MenuConnectionLocale = { + __typename?: 'MenuConnectionLocale'; connection?: Maybe; + key?: Maybe; }; export type MenuConnectionPublished_At = { __typename?: 'MenuConnectionPublished_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type MenuConnectionTitle = { __typename?: 'MenuConnectionTitle'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type MenuConnectionUpdated_At = { __typename?: 'MenuConnectionUpdated_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type MenuGroupBy = { __typename?: 'MenuGroupBy'; - id?: Maybe>>; created_at?: Maybe>>; - updated_at?: Maybe>>; - title?: Maybe>>; + id?: Maybe>>; + locale?: Maybe>>; published_at?: Maybe>>; + title?: Maybe>>; + updated_at?: Maybe>>; }; export type MenuInput = { - links?: Maybe>>; - title?: Maybe; - published_at?: Maybe; created_by?: Maybe; + links?: Maybe>>; + locale?: Maybe; + localizations?: Maybe>>; + published_at?: Maybe; + title: Scalars['String']; updated_by?: Maybe; }; -export type Morph = UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsLoginPayload | UserPermissionsPasswordPayload | FormMessages | FormMessagesConnection | FormMessagesAggregator | FormMessagesGroupBy | FormMessagesConnectionId | FormMessagesConnectionCreated_At | FormMessagesConnectionUpdated_At | FormMessagesConnectionEmail | FormMessagesConnectionName | FormMessagesConnectionMessage | FormMessagesConnectionPublished_At | CreateFormMessagePayload | UpdateFormMessagePayload | DeleteFormMessagePayload | Global | UpdateGlobalPayload | DeleteGlobalPayload | Menu | MenuConnection | MenuAggregator | MenuGroupBy | MenuConnectionId | MenuConnectionCreated_At | MenuConnectionUpdated_At | MenuConnectionTitle | MenuConnectionPublished_At | CreateMenuPayload | UpdateMenuPayload | DeleteMenuPayload | Pages | PagesConnection | PagesAggregator | PagesGroupBy | PagesConnectionId | PagesConnectionCreated_At | PagesConnectionUpdated_At | PagesConnectionTitle | PagesConnectionPath | PagesConnectionLocale | PagesConnectionPublished_At | CreatePagePayload | UpdatePagePayload | DeletePagePayload | Project | ProjectConnection | ProjectAggregator | ProjectGroupBy | ProjectConnectionId | ProjectConnectionCreated_At | ProjectConnectionUpdated_At | ProjectConnectionProjectType | ProjectConnectionLinkPath | ProjectConnectionLinkLabel | ProjectConnectionDescription | ProjectConnectionPath | ProjectConnectionCompanyName | ProjectConnectionImage | ProjectConnectionLocale | ProjectConnectionPublished_At | CreateProjectPayload | UpdateProjectPayload | DeleteProjectPayload | I18NLocale | UploadFile | UploadFileConnection | UploadFileAggregator | UploadFileAggregatorSum | UploadFileAggregatorAvg | UploadFileAggregatorMin | UploadFileAggregatorMax | UploadFileGroupBy | UploadFileConnectionId | UploadFileConnectionCreated_At | UploadFileConnectionUpdated_At | UploadFileConnectionName | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionWidth | UploadFileConnectionHeight | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionExt | UploadFileConnectionMime | UploadFileConnectionSize | UploadFileConnectionUrl | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | DeleteFilePayload | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleConnection | UsersPermissionsRoleAggregator | UsersPermissionsRoleGroupBy | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionType | CreateRolePayload | UpdateRolePayload | DeleteRolePayload | UsersPermissionsUser | UsersPermissionsUserConnection | UsersPermissionsUserAggregator | UsersPermissionsUserGroupBy | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionRole | CreateUserPayload | UpdateUserPayload | DeleteUserPayload | ComponentBlocksCard | ComponentBlocksNavigationBlock | ComponentBlocksSingleFeature | ComponentBlocksSocialBubble | ComponentGlobalBottomBar | ComponentGlobalCompanyData | ComponentGlobalFooterData | ComponentGlobalFooter | ComponentGlobalHeadquarter | ComponentGlobalTopbar | ComponentMenuPageLink | ComponentProjectBlockquoteBlock | ComponentProjectImageBlock | ComponentProjectParagraphBlock | ComponentProjectTitleBlock | ComponentSectionCardSection | ComponentSectionContactsSection | ComponentSectionFooterSection | ComponentSectionHeroSection | ComponentSectionProjectsSection | ComponentSectionSimpleSection | ComponentSectionSingleFeatureSection; +export type Morph = ComponentBlocksCard | ComponentBlocksLink | ComponentBlocksSingleFeature | ComponentBlocksSocialBubble | ComponentGlobalCompanyData | ComponentGlobalFooter | ComponentGlobalHeadquarter | ComponentGlobalTopbar | ComponentProjectBlockquoteBlock | ComponentProjectImageBlock | ComponentProjectParagraphBlock | ComponentSectionCardSection | ComponentSectionContactsSection | ComponentSectionHeroSection | ComponentSectionSimpleSection | ComponentSectionSingleFeatureSection | FormMessages | FormMessagesAggregator | FormMessagesConnection | FormMessagesConnectionCreated_At | FormMessagesConnectionEmail | FormMessagesConnectionId | FormMessagesConnectionMessage | FormMessagesConnectionName | FormMessagesConnectionPublished_At | FormMessagesConnectionUpdated_At | FormMessagesGroupBy | Global | I18NLocale | Menu | MenuAggregator | MenuConnection | MenuConnectionCreated_At | MenuConnectionId | MenuConnectionLocale | MenuConnectionPublished_At | MenuConnectionTitle | MenuConnectionUpdated_At | MenuGroupBy | Page | PageAggregator | PageConnection | PageConnectionCreated_At | PageConnectionId | PageConnectionLocale | PageConnectionPath | PageConnectionPublished_At | PageConnectionTitle | PageConnectionUpdated_At | PageGroupBy | Project | ProjectAggregator | ProjectConnection | ProjectConnectionCompanyName | ProjectConnectionCreated_At | ProjectConnectionDescription | ProjectConnectionId | ProjectConnectionImage | ProjectConnectionLinkLabel | ProjectConnectionLinkPath | ProjectConnectionLocale | ProjectConnectionPath | ProjectConnectionProjectType | ProjectConnectionPublished_At | ProjectConnectionUpdated_At | ProjectGroupBy | UploadFile | UploadFileAggregator | UploadFileAggregatorAvg | UploadFileAggregatorMax | UploadFileAggregatorMin | UploadFileAggregatorSum | UploadFileConnection | UploadFileConnectionAlternativeText | UploadFileConnectionCaption | UploadFileConnectionCreated_At | UploadFileConnectionExt | UploadFileConnectionFormats | UploadFileConnectionHash | UploadFileConnectionHeight | UploadFileConnectionId | UploadFileConnectionMime | UploadFileConnectionName | UploadFileConnectionPreviewUrl | UploadFileConnectionProvider | UploadFileConnectionProvider_Metadata | UploadFileConnectionSize | UploadFileConnectionUpdated_At | UploadFileConnectionUrl | UploadFileConnectionWidth | UploadFileGroupBy | UserPermissionsPasswordPayload | UsersPermissionsLoginPayload | UsersPermissionsMe | UsersPermissionsMeRole | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsRoleAggregator | UsersPermissionsRoleConnection | UsersPermissionsRoleConnectionDescription | UsersPermissionsRoleConnectionId | UsersPermissionsRoleConnectionName | UsersPermissionsRoleConnectionType | UsersPermissionsRoleGroupBy | UsersPermissionsUser | UsersPermissionsUserAggregator | UsersPermissionsUserConnection | UsersPermissionsUserConnectionBlocked | UsersPermissionsUserConnectionConfirmed | UsersPermissionsUserConnectionCreated_At | UsersPermissionsUserConnectionEmail | UsersPermissionsUserConnectionId | UsersPermissionsUserConnectionProvider | UsersPermissionsUserConnectionRole | UsersPermissionsUserConnectionUpdated_At | UsersPermissionsUserConnectionUsername | UsersPermissionsUserGroupBy | CreateFormMessagePayload | CreateMenuPayload | CreatePagePayload | CreateProjectPayload | CreateRolePayload | CreateUserPayload | DeleteFilePayload | DeleteFormMessagePayload | DeleteGlobalPayload | DeleteMenuPayload | DeletePagePayload | DeleteProjectPayload | DeleteRolePayload | DeleteUserPayload | UpdateFormMessagePayload | UpdateGlobalPayload | UpdateMenuPayload | UpdatePagePayload | UpdateProjectPayload | UpdateRolePayload | UpdateUserPayload; export type Mutation = { __typename?: 'Mutation'; createFormMessage?: Maybe; - updateFormMessage?: Maybe; - deleteFormMessage?: Maybe; - updateGlobal?: Maybe; - deleteGlobal?: Maybe; createMenu?: Maybe; - updateMenu?: Maybe; - deleteMenu?: Maybe; + createMenuLocalization: Menu; createPage?: Maybe; - updatePage?: Maybe; - deletePage?: Maybe; + createPageLocalization: Page; createProject?: Maybe; - updateProject?: Maybe; - deleteProject?: Maybe; - /** Delete one file */ - deleteFile?: Maybe; + createProjectLocalization: Project; /** Create a new role */ createRole?: Maybe; - /** Update an existing role */ - updateRole?: Maybe; - /** Delete an existing role */ - deleteRole?: Maybe; /** Create a new user */ createUser?: Maybe; - /** Update an existing user */ - updateUser?: Maybe; + /** Delete one file */ + deleteFile?: Maybe; + deleteFormMessage?: Maybe; + deleteGlobal?: Maybe; + deleteMenu?: Maybe; + deletePage?: Maybe; + deleteProject?: Maybe; + /** Delete an existing role */ + deleteRole?: Maybe; /** Delete an existing user */ deleteUser?: Maybe; - createPageLocalization: Pages; - createProjectLocalization: Project; - upload: UploadFile; - multipleUpload: Array>; - updateFileInfo: UploadFile; + emailConfirmation?: Maybe; + forgotPassword?: Maybe; login: UsersPermissionsLoginPayload; + multipleUpload: Array>; register: UsersPermissionsLoginPayload; - forgotPassword?: Maybe; resetPassword?: Maybe; - emailConfirmation?: Maybe; + updateFileInfo: UploadFile; + updateFormMessage?: Maybe; + updateGlobal?: Maybe; + updateMenu?: Maybe; + updatePage?: Maybe; + updateProject?: Maybe; + /** Update an existing role */ + updateRole?: Maybe; + /** Update an existing user */ + updateUser?: Maybe; + upload: UploadFile; }; @@ -628,33 +571,13 @@ export type MutationCreateFormMessageArgs = { }; -export type MutationUpdateFormMessageArgs = { - input?: Maybe; -}; - - -export type MutationDeleteFormMessageArgs = { - input?: Maybe; -}; - - -export type MutationUpdateGlobalArgs = { - input?: Maybe; -}; - - export type MutationCreateMenuArgs = { input?: Maybe; }; -export type MutationUpdateMenuArgs = { - input?: Maybe; -}; - - -export type MutationDeleteMenuArgs = { - input?: Maybe; +export type MutationCreateMenuLocalizationArgs = { + input: UpdateMenuInput; }; @@ -663,28 +586,28 @@ export type MutationCreatePageArgs = { }; -export type MutationUpdatePageArgs = { - input?: Maybe; +export type MutationCreatePageLocalizationArgs = { + input: UpdatePageInput; }; -export type MutationDeletePageArgs = { - input?: Maybe; +export type MutationCreateProjectArgs = { + input?: Maybe; }; -export type MutationCreateProjectArgs = { - input?: Maybe; +export type MutationCreateProjectLocalizationArgs = { + input: UpdateProjectInput; }; -export type MutationUpdateProjectArgs = { - input?: Maybe; +export type MutationCreateRoleArgs = { + input?: Maybe; }; -export type MutationDeleteProjectArgs = { - input?: Maybe; +export type MutationCreateUserArgs = { + input?: Maybe; }; @@ -693,28 +616,28 @@ export type MutationDeleteFileArgs = { }; -export type MutationCreateRoleArgs = { - input?: Maybe; +export type MutationDeleteFormMessageArgs = { + input?: Maybe; }; -export type MutationUpdateRoleArgs = { - input?: Maybe; +export type MutationDeleteMenuArgs = { + input?: Maybe; }; -export type MutationDeleteRoleArgs = { - input?: Maybe; +export type MutationDeletePageArgs = { + input?: Maybe; }; -export type MutationCreateUserArgs = { - input?: Maybe; +export type MutationDeleteProjectArgs = { + input?: Maybe; }; -export type MutationUpdateUserArgs = { - input?: Maybe; +export type MutationDeleteRoleArgs = { + input?: Maybe; }; @@ -723,32 +646,39 @@ export type MutationDeleteUserArgs = { }; -export type MutationCreatePageLocalizationArgs = { - input: UpdatePageInput; +export type MutationEmailConfirmationArgs = { + confirmation: Scalars['String']; }; -export type MutationCreateProjectLocalizationArgs = { - input: UpdateProjectInput; +export type MutationForgotPasswordArgs = { + email: Scalars['String']; }; -export type MutationUploadArgs = { - refId?: Maybe; - ref?: Maybe; - field?: Maybe; - source?: Maybe; - info?: Maybe; - file: Scalars['Upload']; +export type MutationLoginArgs = { + input: UsersPermissionsLoginInput; }; export type MutationMultipleUploadArgs = { - refId?: Maybe; - ref?: Maybe; field?: Maybe; - source?: Maybe; files: Array>; + ref?: Maybe; + refId?: Maybe; + source?: Maybe; +}; + + +export type MutationRegisterArgs = { + input: UsersPermissionsRegisterInput; +}; + + +export type MutationResetPasswordArgs = { + code: Scalars['String']; + password: Scalars['String']; + passwordConfirmation: Scalars['String']; }; @@ -758,155 +688,173 @@ export type MutationUpdateFileInfoArgs = { }; -export type MutationLoginArgs = { - input: UsersPermissionsLoginInput; +export type MutationUpdateFormMessageArgs = { + input?: Maybe; }; -export type MutationRegisterArgs = { - input: UsersPermissionsRegisterInput; +export type MutationUpdateGlobalArgs = { + input?: Maybe; }; -export type MutationForgotPasswordArgs = { - email: Scalars['String']; +export type MutationUpdateMenuArgs = { + input?: Maybe; }; -export type MutationResetPasswordArgs = { - password: Scalars['String']; - passwordConfirmation: Scalars['String']; - code: Scalars['String']; +export type MutationUpdatePageArgs = { + input?: Maybe; }; -export type MutationEmailConfirmationArgs = { - confirmation: Scalars['String']; +export type MutationUpdateProjectArgs = { + input?: Maybe; }; -export type PageInput = { - title?: Maybe; - path: Scalars['String']; - sections?: Maybe>; - localizations?: Maybe>>; - locale?: Maybe; - published_at?: Maybe; - created_by?: Maybe; - updated_by?: Maybe; + +export type MutationUpdateRoleArgs = { + input?: Maybe; }; -export type Pages = { - __typename?: 'Pages'; - id: Scalars['ID']; + +export type MutationUpdateUserArgs = { + input?: Maybe; +}; + + +export type MutationUploadArgs = { + field?: Maybe; + file: Scalars['Upload']; + info?: Maybe; + ref?: Maybe; + refId?: Maybe; + source?: Maybe; +}; + +export type Page = { + __typename?: 'Page'; created_at: Scalars['DateTime']; - updated_at: Scalars['DateTime']; - title: Scalars['String']; - path: Scalars['String']; - sections?: Maybe>>; + id: Scalars['ID']; locale?: Maybe; + localizations?: Maybe>>; + path?: Maybe; published_at?: Maybe; - localizations?: Maybe>>; + sections?: Maybe>>; + title: Scalars['String']; + updated_at: Scalars['DateTime']; }; -export type PagesLocalizationsArgs = { - sort?: Maybe; +export type PageLocalizationsArgs = { limit?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; }; -export type PagesAggregator = { - __typename?: 'PagesAggregator'; +export type PageAggregator = { + __typename?: 'PageAggregator'; count?: Maybe; totalCount?: Maybe; }; -export type PagesConnection = { - __typename?: 'PagesConnection'; - values?: Maybe>>; - groupBy?: Maybe; - aggregate?: Maybe; +export type PageConnection = { + __typename?: 'PageConnection'; + aggregate?: Maybe; + groupBy?: Maybe; + values?: Maybe>>; }; -export type PagesConnectionCreated_At = { - __typename?: 'PagesConnectionCreated_at'; +export type PageConnectionCreated_At = { + __typename?: 'PageConnectionCreated_at'; + connection?: Maybe; key?: Maybe; - connection?: Maybe; }; -export type PagesConnectionId = { - __typename?: 'PagesConnectionId'; +export type PageConnectionId = { + __typename?: 'PageConnectionId'; + connection?: Maybe; key?: Maybe; - connection?: Maybe; }; -export type PagesConnectionLocale = { - __typename?: 'PagesConnectionLocale'; +export type PageConnectionLocale = { + __typename?: 'PageConnectionLocale'; + connection?: Maybe; key?: Maybe; - connection?: Maybe; }; -export type PagesConnectionPath = { - __typename?: 'PagesConnectionPath'; +export type PageConnectionPath = { + __typename?: 'PageConnectionPath'; + connection?: Maybe; key?: Maybe; - connection?: Maybe; }; -export type PagesConnectionPublished_At = { - __typename?: 'PagesConnectionPublished_at'; +export type PageConnectionPublished_At = { + __typename?: 'PageConnectionPublished_at'; + connection?: Maybe; key?: Maybe; - connection?: Maybe; }; -export type PagesConnectionTitle = { - __typename?: 'PagesConnectionTitle'; +export type PageConnectionTitle = { + __typename?: 'PageConnectionTitle'; + connection?: Maybe; key?: Maybe; - connection?: Maybe; }; -export type PagesConnectionUpdated_At = { - __typename?: 'PagesConnectionUpdated_at'; +export type PageConnectionUpdated_At = { + __typename?: 'PageConnectionUpdated_at'; + connection?: Maybe; key?: Maybe; - connection?: Maybe; }; -export type PagesGroupBy = { - __typename?: 'PagesGroupBy'; - id?: Maybe>>; - created_at?: Maybe>>; - updated_at?: Maybe>>; - title?: Maybe>>; - path?: Maybe>>; - locale?: Maybe>>; - published_at?: Maybe>>; +export type PageGroupBy = { + __typename?: 'PageGroupBy'; + created_at?: Maybe>>; + id?: Maybe>>; + locale?: Maybe>>; + path?: Maybe>>; + published_at?: Maybe>>; + title?: Maybe>>; + updated_at?: Maybe>>; +}; + +export type PageInput = { + created_by?: Maybe; + locale?: Maybe; + localizations?: Maybe>>; + path?: Maybe; + published_at?: Maybe; + sections?: Maybe>; + title?: Maybe; + updated_by?: Maybe; }; -export type PagesSectionsDynamicZone = ComponentSectionCardSection | ComponentSectionHeroSection | ComponentSectionSingleFeatureSection | ComponentSectionContactsSection | ComponentSectionSimpleSection; +export type PageSectionsDynamicZone = ComponentSectionCardSection | ComponentSectionContactsSection | ComponentSectionHeroSection | ComponentSectionSimpleSection | ComponentSectionSingleFeatureSection; export type Project = { __typename?: 'Project'; - id: Scalars['ID']; - created_at: Scalars['DateTime']; - updated_at: Scalars['DateTime']; - projectType?: Maybe; - linkPath?: Maybe; - linkLabel?: Maybe; - description?: Maybe; blocks?: Maybe>>; - path: Scalars['String']; companyName?: Maybe; + created_at: Scalars['DateTime']; + description?: Maybe; + id: Scalars['ID']; image?: Maybe; + linkLabel?: Maybe; + linkPath?: Maybe; locale?: Maybe; - published_at?: Maybe; localizations?: Maybe>>; + path?: Maybe; + projectType?: Maybe; + published_at?: Maybe; + updated_at: Scalars['DateTime']; }; export type ProjectLocalizationsArgs = { - sort?: Maybe; limit?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; }; @@ -917,117 +865,117 @@ export type ProjectAggregator = { totalCount?: Maybe; }; -export type ProjectBlocksDynamicZone = ComponentProjectTitleBlock | ComponentProjectBlockquoteBlock | ComponentProjectImageBlock | ComponentProjectParagraphBlock; +export type ProjectBlocksDynamicZone = ComponentProjectBlockquoteBlock | ComponentProjectImageBlock | ComponentProjectParagraphBlock; export type ProjectConnection = { __typename?: 'ProjectConnection'; - values?: Maybe>>; - groupBy?: Maybe; aggregate?: Maybe; + groupBy?: Maybe; + values?: Maybe>>; }; export type ProjectConnectionCompanyName = { __typename?: 'ProjectConnectionCompanyName'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionCreated_At = { __typename?: 'ProjectConnectionCreated_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionDescription = { __typename?: 'ProjectConnectionDescription'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionId = { __typename?: 'ProjectConnectionId'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionImage = { __typename?: 'ProjectConnectionImage'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionLinkLabel = { __typename?: 'ProjectConnectionLinkLabel'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionLinkPath = { __typename?: 'ProjectConnectionLinkPath'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionLocale = { __typename?: 'ProjectConnectionLocale'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionPath = { __typename?: 'ProjectConnectionPath'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionProjectType = { __typename?: 'ProjectConnectionProjectType'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionPublished_At = { __typename?: 'ProjectConnectionPublished_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectConnectionUpdated_At = { __typename?: 'ProjectConnectionUpdated_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type ProjectGroupBy = { __typename?: 'ProjectGroupBy'; - id?: Maybe>>; + companyName?: Maybe>>; created_at?: Maybe>>; - updated_at?: Maybe>>; - projectType?: Maybe>>; - linkPath?: Maybe>>; - linkLabel?: Maybe>>; description?: Maybe>>; - path?: Maybe>>; - companyName?: Maybe>>; + id?: Maybe>>; image?: Maybe>>; + linkLabel?: Maybe>>; + linkPath?: Maybe>>; locale?: Maybe>>; + path?: Maybe>>; + projectType?: Maybe>>; published_at?: Maybe>>; + updated_at?: Maybe>>; }; export type ProjectInput = { - projectType?: Maybe; - linkPath?: Maybe; - linkLabel?: Maybe; - description?: Maybe; blocks?: Maybe>; - path: Scalars['String']; companyName?: Maybe; + created_by?: Maybe; + description?: Maybe; image?: Maybe; - localizations?: Maybe>>; + linkLabel?: Maybe; + linkPath?: Maybe; locale?: Maybe; + localizations?: Maybe>>; + path?: Maybe; + projectType?: Maybe; published_at?: Maybe; - created_by?: Maybe; updated_by?: Maybe; }; @@ -1038,21 +986,22 @@ export enum PublicationState { export type Query = { __typename?: 'Query'; + files?: Maybe>>; + filesConnection?: Maybe; formMessage?: Maybe; formMessages?: Maybe>>; formMessagesConnection?: Maybe; global?: Maybe; + me?: Maybe; menu?: Maybe; menus?: Maybe>>; menusConnection?: Maybe; - page?: Maybe; - pages?: Maybe>>; - pagesConnection?: Maybe; + page?: Maybe; + pages?: Maybe>>; + pagesConnection?: Maybe; project?: Maybe; projects?: Maybe>>; projectsConnection?: Maybe; - files?: Maybe>>; - filesConnection?: Maybe; role?: Maybe; /** Retrieve all the existing roles. You can't apply filters on this query. */ roles?: Maybe>>; @@ -1060,7 +1009,23 @@ export type Query = { user?: Maybe; users?: Maybe>>; usersConnection?: Maybe; - me?: Maybe; +}; + + +export type QueryFilesArgs = { + limit?: Maybe; + publicationState?: Maybe; + sort?: Maybe; + start?: Maybe; + where?: Maybe; +}; + + +export type QueryFilesConnectionArgs = { + limit?: Maybe; + sort?: Maybe; + start?: Maybe; + where?: Maybe; }; @@ -1071,17 +1036,17 @@ export type QueryFormMessageArgs = { export type QueryFormMessagesArgs = { - sort?: Maybe; limit?: Maybe; + publicationState?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; - publicationState?: Maybe; }; export type QueryFormMessagesConnectionArgs = { - sort?: Maybe; limit?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; }; @@ -1099,17 +1064,19 @@ export type QueryMenuArgs = { export type QueryMenusArgs = { - sort?: Maybe; limit?: Maybe; + locale?: Maybe; + publicationState?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; - publicationState?: Maybe; }; export type QueryMenusConnectionArgs = { - sort?: Maybe; limit?: Maybe; + locale?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; }; @@ -1122,21 +1089,21 @@ export type QueryPageArgs = { export type QueryPagesArgs = { - sort?: Maybe; limit?: Maybe; + locale?: Maybe; + publicationState?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; - publicationState?: Maybe; - locale?: Maybe; }; export type QueryPagesConnectionArgs = { - sort?: Maybe; limit?: Maybe; + locale?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; - locale?: Maybe; }; @@ -1147,36 +1114,19 @@ export type QueryProjectArgs = { export type QueryProjectsArgs = { - sort?: Maybe; limit?: Maybe; - start?: Maybe; - where?: Maybe; - publicationState?: Maybe; locale?: Maybe; -}; - - -export type QueryProjectsConnectionArgs = { + publicationState?: Maybe; sort?: Maybe; - limit?: Maybe; start?: Maybe; where?: Maybe; - locale?: Maybe; }; -export type QueryFilesArgs = { - sort?: Maybe; +export type QueryProjectsConnectionArgs = { limit?: Maybe; - start?: Maybe; - where?: Maybe; - publicationState?: Maybe; -}; - - -export type QueryFilesConnectionArgs = { + locale?: Maybe; sort?: Maybe; - limit?: Maybe; start?: Maybe; where?: Maybe; }; @@ -1189,17 +1139,17 @@ export type QueryRoleArgs = { export type QueryRolesArgs = { - sort?: Maybe; limit?: Maybe; + publicationState?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; - publicationState?: Maybe; }; export type QueryRolesConnectionArgs = { - sort?: Maybe; limit?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; }; @@ -1212,243 +1162,243 @@ export type QueryUserArgs = { export type QueryUsersArgs = { - sort?: Maybe; limit?: Maybe; + publicationState?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; - publicationState?: Maybe; }; export type QueryUsersConnectionArgs = { - sort?: Maybe; limit?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; }; export type RoleInput = { - name: Scalars['String']; + created_by?: Maybe; description?: Maybe; - type?: Maybe; + name: Scalars['String']; permissions?: Maybe>>; - users?: Maybe>>; - created_by?: Maybe; + type?: Maybe; updated_by?: Maybe; + users?: Maybe>>; }; export type UploadFile = { __typename?: 'UploadFile'; - id: Scalars['ID']; - created_at: Scalars['DateTime']; - updated_at: Scalars['DateTime']; - name: Scalars['String']; alternativeText?: Maybe; caption?: Maybe; - width?: Maybe; - height?: Maybe; + created_at: Scalars['DateTime']; + ext?: Maybe; formats?: Maybe; hash: Scalars['String']; - ext?: Maybe; + height?: Maybe; + id: Scalars['ID']; mime: Scalars['String']; - size: Scalars['Float']; - url: Scalars['String']; + name: Scalars['String']; previewUrl?: Maybe; provider: Scalars['String']; provider_metadata?: Maybe; related?: Maybe>>; + size: Scalars['Float']; + updated_at: Scalars['DateTime']; + url: Scalars['String']; + width?: Maybe; }; export type UploadFileRelatedArgs = { - sort?: Maybe; limit?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; }; export type UploadFileAggregator = { __typename?: 'UploadFileAggregator'; - count?: Maybe; - totalCount?: Maybe; - sum?: Maybe; avg?: Maybe; - min?: Maybe; + count?: Maybe; max?: Maybe; + min?: Maybe; + sum?: Maybe; + totalCount?: Maybe; }; export type UploadFileAggregatorAvg = { __typename?: 'UploadFileAggregatorAvg'; - width?: Maybe; height?: Maybe; size?: Maybe; + width?: Maybe; }; export type UploadFileAggregatorMax = { __typename?: 'UploadFileAggregatorMax'; - width?: Maybe; height?: Maybe; size?: Maybe; + width?: Maybe; }; export type UploadFileAggregatorMin = { __typename?: 'UploadFileAggregatorMin'; - width?: Maybe; height?: Maybe; size?: Maybe; + width?: Maybe; }; export type UploadFileAggregatorSum = { __typename?: 'UploadFileAggregatorSum'; - width?: Maybe; height?: Maybe; size?: Maybe; + width?: Maybe; }; export type UploadFileConnection = { __typename?: 'UploadFileConnection'; - values?: Maybe>>; - groupBy?: Maybe; aggregate?: Maybe; + groupBy?: Maybe; + values?: Maybe>>; }; export type UploadFileConnectionAlternativeText = { __typename?: 'UploadFileConnectionAlternativeText'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionCaption = { __typename?: 'UploadFileConnectionCaption'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionCreated_At = { __typename?: 'UploadFileConnectionCreated_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionExt = { __typename?: 'UploadFileConnectionExt'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionFormats = { __typename?: 'UploadFileConnectionFormats'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionHash = { __typename?: 'UploadFileConnectionHash'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionHeight = { __typename?: 'UploadFileConnectionHeight'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionId = { __typename?: 'UploadFileConnectionId'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionMime = { __typename?: 'UploadFileConnectionMime'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionName = { __typename?: 'UploadFileConnectionName'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionPreviewUrl = { __typename?: 'UploadFileConnectionPreviewUrl'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionProvider = { __typename?: 'UploadFileConnectionProvider'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionProvider_Metadata = { __typename?: 'UploadFileConnectionProvider_metadata'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionSize = { __typename?: 'UploadFileConnectionSize'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionUpdated_At = { __typename?: 'UploadFileConnectionUpdated_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionUrl = { __typename?: 'UploadFileConnectionUrl'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileConnectionWidth = { __typename?: 'UploadFileConnectionWidth'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UploadFileGroupBy = { __typename?: 'UploadFileGroupBy'; - id?: Maybe>>; - created_at?: Maybe>>; - updated_at?: Maybe>>; - name?: Maybe>>; alternativeText?: Maybe>>; caption?: Maybe>>; - width?: Maybe>>; - height?: Maybe>>; + created_at?: Maybe>>; + ext?: Maybe>>; formats?: Maybe>>; hash?: Maybe>>; - ext?: Maybe>>; + height?: Maybe>>; + id?: Maybe>>; mime?: Maybe>>; - size?: Maybe>>; - url?: Maybe>>; + name?: Maybe>>; previewUrl?: Maybe>>; provider?: Maybe>>; provider_metadata?: Maybe>>; + size?: Maybe>>; + updated_at?: Maybe>>; + url?: Maybe>>; + width?: Maybe>>; }; export type UserInput = { - username: Scalars['String']; + blocked?: Maybe; + confirmationToken?: Maybe; + confirmed?: Maybe; + created_by?: Maybe; email: Scalars['String']; - provider?: Maybe; password?: Maybe; + provider?: Maybe; resetPasswordToken?: Maybe; - confirmationToken?: Maybe; - confirmed?: Maybe; - blocked?: Maybe; role?: Maybe; - created_by?: Maybe; updated_by?: Maybe; + username: Scalars['String']; }; export type UserPermissionsPasswordPayload = { @@ -1467,64 +1417,64 @@ export type UsersPermissionsLoginPayload = { jwt?: Maybe; user: UsersPermissionsMe; }; - -export type UsersPermissionsMe = { - __typename?: 'UsersPermissionsMe'; - id: Scalars['ID']; - username: Scalars['String']; - email: Scalars['String']; - confirmed?: Maybe; + +export type UsersPermissionsMe = { + __typename?: 'UsersPermissionsMe'; blocked?: Maybe; + confirmed?: Maybe; + email: Scalars['String']; + id: Scalars['ID']; role?: Maybe; + username: Scalars['String']; }; export type UsersPermissionsMeRole = { __typename?: 'UsersPermissionsMeRole'; + description?: Maybe; id: Scalars['ID']; name: Scalars['String']; - description?: Maybe; type?: Maybe; }; export type UsersPermissionsPermission = { __typename?: 'UsersPermissionsPermission'; - id: Scalars['ID']; - type: Scalars['String']; - controller: Scalars['String']; action: Scalars['String']; + controller: Scalars['String']; enabled: Scalars['Boolean']; + id: Scalars['ID']; policy?: Maybe; role?: Maybe; + type: Scalars['String']; }; export type UsersPermissionsRegisterInput = { - username: Scalars['String']; email: Scalars['String']; password: Scalars['String']; + username: Scalars['String']; }; export type UsersPermissionsRole = { __typename?: 'UsersPermissionsRole'; + description?: Maybe; id: Scalars['ID']; name: Scalars['String']; - description?: Maybe; - type?: Maybe; permissions?: Maybe>>; + type?: Maybe; users?: Maybe>>; }; export type UsersPermissionsRolePermissionsArgs = { - sort?: Maybe; limit?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; }; export type UsersPermissionsRoleUsersArgs = { - sort?: Maybe; limit?: Maybe; + sort?: Maybe; start?: Maybe; where?: Maybe; }; @@ -1537,54 +1487,54 @@ export type UsersPermissionsRoleAggregator = { export type UsersPermissionsRoleConnection = { __typename?: 'UsersPermissionsRoleConnection'; - values?: Maybe>>; - groupBy?: Maybe; aggregate?: Maybe; + groupBy?: Maybe; + values?: Maybe>>; }; export type UsersPermissionsRoleConnectionDescription = { __typename?: 'UsersPermissionsRoleConnectionDescription'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsRoleConnectionId = { __typename?: 'UsersPermissionsRoleConnectionId'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsRoleConnectionName = { __typename?: 'UsersPermissionsRoleConnectionName'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsRoleConnectionType = { __typename?: 'UsersPermissionsRoleConnectionType'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsRoleGroupBy = { __typename?: 'UsersPermissionsRoleGroupBy'; + description?: Maybe>>; id?: Maybe>>; name?: Maybe>>; - description?: Maybe>>; type?: Maybe>>; }; export type UsersPermissionsUser = { __typename?: 'UsersPermissionsUser'; - id: Scalars['ID']; + blocked?: Maybe; + confirmed?: Maybe; created_at: Scalars['DateTime']; - updated_at: Scalars['DateTime']; - username: Scalars['String']; email: Scalars['String']; + id: Scalars['ID']; provider?: Maybe; - confirmed?: Maybe; - blocked?: Maybe; role?: Maybe; + updated_at: Scalars['DateTime']; + username: Scalars['String']; }; export type UsersPermissionsUserAggregator = { @@ -1595,76 +1545,76 @@ export type UsersPermissionsUserAggregator = { export type UsersPermissionsUserConnection = { __typename?: 'UsersPermissionsUserConnection'; - values?: Maybe>>; - groupBy?: Maybe; aggregate?: Maybe; + groupBy?: Maybe; + values?: Maybe>>; }; export type UsersPermissionsUserConnectionBlocked = { __typename?: 'UsersPermissionsUserConnectionBlocked'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsUserConnectionConfirmed = { __typename?: 'UsersPermissionsUserConnectionConfirmed'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsUserConnectionCreated_At = { __typename?: 'UsersPermissionsUserConnectionCreated_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsUserConnectionEmail = { __typename?: 'UsersPermissionsUserConnectionEmail'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsUserConnectionId = { __typename?: 'UsersPermissionsUserConnectionId'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsUserConnectionProvider = { __typename?: 'UsersPermissionsUserConnectionProvider'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsUserConnectionRole = { __typename?: 'UsersPermissionsUserConnectionRole'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsUserConnectionUpdated_At = { __typename?: 'UsersPermissionsUserConnectionUpdated_at'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsUserConnectionUsername = { __typename?: 'UsersPermissionsUserConnectionUsername'; - key?: Maybe; connection?: Maybe; + key?: Maybe; }; export type UsersPermissionsUserGroupBy = { __typename?: 'UsersPermissionsUserGroupBy'; - id?: Maybe>>; + blocked?: Maybe>>; + confirmed?: Maybe>>; created_at?: Maybe>>; - updated_at?: Maybe>>; - username?: Maybe>>; email?: Maybe>>; + id?: Maybe>>; provider?: Maybe>>; - confirmed?: Maybe>>; - blocked?: Maybe>>; role?: Maybe>>; + updated_at?: Maybe>>; + username?: Maybe>>; }; export type CreateFormMessageInput = { @@ -1691,7 +1641,7 @@ export type CreatePageInput = { export type CreatePagePayload = { __typename?: 'createPagePayload'; - page?: Maybe; + page?: Maybe; }; export type CreateProjectInput = { @@ -1759,7 +1709,7 @@ export type DeletePageInput = { export type DeletePagePayload = { __typename?: 'deletePagePayload'; - page?: Maybe; + page?: Maybe; }; export type DeleteProjectInput = { @@ -1790,72 +1740,63 @@ export type DeleteUserPayload = { }; export type EditComponentBlocksCardInput = { - id?: Maybe; - title?: Maybe; description?: Maybe; + id?: Maybe; image?: Maybe; - url?: Maybe; label?: Maybe; + title?: Maybe; + url?: Maybe; }; -export type EditComponentBlocksNavigationBlockInput = { +export type EditComponentBlocksLinkInput = { id?: Maybe; label?: Maybe; url?: Maybe; }; export type EditComponentBlocksSingleFeatureInput = { - id?: Maybe; + bubbleColor?: Maybe; description?: Maybe; - title?: Maybe; + id?: Maybe; image?: Maybe; - url?: Maybe; - bubbleColor?: Maybe; label?: Maybe; + title?: Maybe; + url?: Maybe; }; export type EditComponentBlocksSocialBubbleInput = { - id?: Maybe; - url?: Maybe; bubbleColor?: Maybe; bubbleHoverColor?: Maybe; - image?: Maybe; -}; - -export type EditComponentGlobalBottomBarInput = { id?: Maybe; + image?: Maybe; + url?: Maybe; }; export type EditComponentGlobalCompanyDatumInput = { - id?: Maybe; - primaryEmail?: Maybe; - companyName?: Maybe; additionalLegalInfo?: Maybe; - locations?: Maybe>>; capital?: Maybe; - vatId?: Maybe; + companyName?: Maybe; copyright?: Maybe; - legalCompanyName?: Maybe; -}; - -export type EditComponentGlobalFooterDatumInput = { id?: Maybe; - description?: Maybe; + legalCompanyName?: Maybe; + locations?: Maybe>>; + primaryEmail?: Maybe; + vatId?: Maybe; }; export type EditComponentGlobalFooterInput = { - id?: Maybe; description?: Maybe; + id?: Maybe; }; export type EditComponentGlobalHeadquarterInput = { + cap?: Maybe; + city?: Maybe; id?: Maybe; province?: Maybe; provinceInitials?: Maybe; - type?: Maybe; street?: Maybe; - city?: Maybe; - cap?: Maybe; + type?: Maybe; }; export type EditComponentGlobalTopbarInput = { @@ -1863,12 +1804,6 @@ export type EditComponentGlobalTopbarInput = { menu?: Maybe; }; -export type EditComponentMenuPageLinkInput = { - id?: Maybe; - pageLinkName?: Maybe; - link?: Maybe; -}; - export type EditComponentProjectBlockquoteBlockInput = { id?: Maybe; text?: Maybe; @@ -1884,176 +1819,155 @@ export type EditComponentProjectParagraphBlockInput = { text?: Maybe; }; -export type EditComponentProjectTitleBlockInput = { - id?: Maybe; - title?: Maybe; -}; - export type EditComponentSectionCardSectionInput = { id?: Maybe; - title?: Maybe; - subtitle?: Maybe; - sections?: Maybe>>; sectionTitle?: Maybe; + sections?: Maybe>>; + subtitle?: Maybe; + title?: Maybe; }; export type EditComponentSectionContactsSectionInput = { - id?: Maybe; - title?: Maybe; - subtitle?: Maybe; email?: Maybe; + id?: Maybe; sectionTitle?: Maybe; socialBubbles?: Maybe>>; -}; - -export type EditComponentSectionFooterSectionInput = { - id?: Maybe; - description?: Maybe; - email?: Maybe; - copyright?: Maybe; - sharedCapital?: Maybe; - street?: Maybe; - city?: Maybe; - vatNumber?: Maybe; - cap?: Maybe; + subtitle?: Maybe; + title?: Maybe; }; export type EditComponentSectionHeroSectionInput = { - id?: Maybe; - title?: Maybe; - subtitle?: Maybe; areBubblesActive?: Maybe; -}; - -export type EditComponentSectionProjectsSectionInput = { id?: Maybe; - sectionTitle?: Maybe; - sectionTitleColor?: Maybe; + subtitle?: Maybe; + title?: Maybe; }; export type EditComponentSectionSimpleSectionInput = { id?: Maybe; sectionTitle?: Maybe; sectionTitleColor?: Maybe; - title?: Maybe; subtitle?: Maybe; + title?: Maybe; }; export type EditComponentSectionSingleFeatureSectionInput = { id?: Maybe; - title?: Maybe; - subtitle?: Maybe; - sections?: Maybe>>; sectionTitle?: Maybe; + sections?: Maybe>>; + subtitle?: Maybe; + title?: Maybe; }; export type EditFileInput = { - name?: Maybe; alternativeText?: Maybe; caption?: Maybe; - width?: Maybe; - height?: Maybe; + created_by?: Maybe; + ext?: Maybe; formats?: Maybe; hash?: Maybe; - ext?: Maybe; + height?: Maybe; mime?: Maybe; - size?: Maybe; - url?: Maybe; + name?: Maybe; previewUrl?: Maybe; provider?: Maybe; provider_metadata?: Maybe; related?: Maybe>>; - created_by?: Maybe; + size?: Maybe; updated_by?: Maybe; + url?: Maybe; + width?: Maybe; }; export type EditFormMessageInput = { + created_by?: Maybe; email?: Maybe; - name?: Maybe; message?: Maybe; + name?: Maybe; published_at?: Maybe; - created_by?: Maybe; updated_by?: Maybe; }; export type EditGlobalInput = { - topbar?: Maybe; companyData?: Maybe; + created_by?: Maybe; footer?: Maybe; published_at?: Maybe; - created_by?: Maybe; + topbar?: Maybe; updated_by?: Maybe; }; export type EditLocaleInput = { - name?: Maybe; code?: Maybe; created_by?: Maybe; + name?: Maybe; updated_by?: Maybe; }; export type EditMenuInput = { - links?: Maybe>>; - title?: Maybe; - published_at?: Maybe; created_by?: Maybe; + links?: Maybe>>; + locale?: Maybe; + localizations?: Maybe>>; + published_at?: Maybe; + title?: Maybe; updated_by?: Maybe; }; export type EditPageInput = { - title?: Maybe; - path?: Maybe; - sections?: Maybe>; - localizations?: Maybe>>; + created_by?: Maybe; locale?: Maybe; + localizations?: Maybe>>; + path?: Maybe; published_at?: Maybe; - created_by?: Maybe; + sections?: Maybe>; + title?: Maybe; updated_by?: Maybe; }; export type EditProjectInput = { - projectType?: Maybe; - linkPath?: Maybe; - linkLabel?: Maybe; - description?: Maybe; blocks?: Maybe>; - path?: Maybe; companyName?: Maybe; + created_by?: Maybe; + description?: Maybe; image?: Maybe; - localizations?: Maybe>>; + linkLabel?: Maybe; + linkPath?: Maybe; locale?: Maybe; + localizations?: Maybe>>; + path?: Maybe; + projectType?: Maybe; published_at?: Maybe; - created_by?: Maybe; updated_by?: Maybe; }; export type EditRoleInput = { - name?: Maybe; + created_by?: Maybe; description?: Maybe; - type?: Maybe; + name?: Maybe; permissions?: Maybe>>; - users?: Maybe>>; - created_by?: Maybe; + type?: Maybe; updated_by?: Maybe; + users?: Maybe>>; }; export type EditUserInput = { - username?: Maybe; + blocked?: Maybe; + confirmationToken?: Maybe; + confirmed?: Maybe; + created_by?: Maybe; email?: Maybe; - provider?: Maybe; password?: Maybe; + provider?: Maybe; resetPasswordToken?: Maybe; - confirmationToken?: Maybe; - confirmed?: Maybe; - blocked?: Maybe; role?: Maybe; - created_by?: Maybe; updated_by?: Maybe; + username?: Maybe; }; export type UpdateFormMessageInput = { - where?: Maybe; data?: Maybe; + where?: Maybe; }; export type UpdateFormMessagePayload = { @@ -2071,8 +1985,8 @@ export type UpdateGlobalPayload = { }; export type UpdateMenuInput = { - where?: Maybe; data?: Maybe; + where?: Maybe; }; export type UpdateMenuPayload = { @@ -2081,18 +1995,18 @@ export type UpdateMenuPayload = { }; export type UpdatePageInput = { - where?: Maybe; data?: Maybe; + where?: Maybe; }; export type UpdatePagePayload = { __typename?: 'updatePagePayload'; - page?: Maybe; + page?: Maybe; }; export type UpdateProjectInput = { - where?: Maybe; data?: Maybe; + where?: Maybe; }; export type UpdateProjectPayload = { @@ -2101,8 +2015,8 @@ export type UpdateProjectPayload = { }; export type UpdateRoleInput = { - where?: Maybe; data?: Maybe; + where?: Maybe; }; export type UpdateRolePayload = { @@ -2111,8 +2025,8 @@ export type UpdateRolePayload = { }; export type UpdateUserInput = { - where?: Maybe; data?: Maybe; + where?: Maybe; }; export type UpdateUserPayload = { @@ -2126,7 +2040,7 @@ export type GetPagesQueryVariables = Exact<{ }>; -export type GetPagesQuery = { __typename?: 'Query', pages?: Maybe, localizations?: Maybe }>>>, sections?: Maybe, title?: Maybe, subtitle?: Maybe, sections?: Maybe }> }>>> } | { __typename: 'ComponentSectionHeroSection', id: string, title?: Maybe, subtitle?: Maybe, areBubblesActive?: Maybe } | { __typename: 'ComponentSectionSingleFeatureSection', id: string, sectionTitle?: Maybe, title?: Maybe, subtitle?: Maybe, sections?: Maybe, image?: Maybe<{ __typename?: 'UploadFile', id: string, name: string, alternativeText?: Maybe, width?: Maybe, height?: Maybe, url: string }> }>>> } | { __typename: 'ComponentSectionContactsSection', id: string, title?: Maybe, subtitle?: Maybe, email?: Maybe, sectionTitle?: Maybe } | { __typename: 'ComponentSectionSimpleSection', id: string, sectionTitle?: Maybe, sectionTitleColor?: Maybe, title?: Maybe, subtitle?: Maybe }>>> }>>> }; +export type GetPagesQuery = { __typename?: 'Query', pages?: Maybe, title: string, locale?: Maybe, localizations?: Maybe, locale?: Maybe }>>>, sections?: Maybe, title?: Maybe, subtitle?: Maybe, sections?: Maybe, description?: Maybe, url: string, label: string, image?: Maybe<{ __typename?: 'UploadFile', id: string, url: string, alternativeText?: Maybe }> }>>> } | { __typename: 'ComponentSectionContactsSection', id: string, title?: Maybe, subtitle?: Maybe, email?: Maybe, sectionTitle?: Maybe } | { __typename: 'ComponentSectionHeroSection', id: string, title?: Maybe, subtitle?: Maybe, areBubblesActive?: Maybe } | { __typename: 'ComponentSectionSimpleSection', id: string, sectionTitle?: Maybe, sectionTitleColor?: Maybe, title?: Maybe, subtitle?: Maybe } | { __typename: 'ComponentSectionSingleFeatureSection', id: string, sectionTitle?: Maybe, title?: Maybe, subtitle?: Maybe, sections?: Maybe, title?: Maybe, url: string, label: string, bubbleColor?: Maybe, image?: Maybe<{ __typename?: 'UploadFile', id: string, name: string, alternativeText?: Maybe, width?: Maybe, height?: Maybe, url: string }> }>>> }>>> }>>> }; export type InsertFormMessageMutationVariables = Exact<{ input?: Maybe; @@ -2140,19 +2054,19 @@ export type CreatePageMutationVariables = Exact<{ }>; -export type CreatePageMutation = { __typename?: 'Mutation', createPage?: Maybe<{ __typename?: 'createPagePayload', page?: Maybe<{ __typename?: 'Pages', id: string }> }> }; +export type CreatePageMutation = { __typename?: 'Mutation', createPage?: Maybe<{ __typename?: 'createPagePayload', page?: Maybe<{ __typename?: 'Page', id: string }> }> }; export type GetGlobalQueryVariables = Exact<{ [key: string]: never; }>; -export type GetGlobalQuery = { __typename?: 'Query', global?: Maybe<{ __typename?: 'Global', id: string, topbar?: Maybe<{ __typename?: 'ComponentGlobalTopbar', id: string, menu?: Maybe<{ __typename?: 'Menu', id: string, title: string, links?: Maybe, url?: Maybe }>>> }> }>, companyData?: Maybe<{ __typename?: 'ComponentGlobalCompanyData', id: string, primaryEmail?: Maybe, companyName?: Maybe, copyright?: Maybe, vatId?: Maybe, capital?: Maybe, additionalLegalInfo?: Maybe, locations?: Maybe, provinceInitials?: Maybe, type?: Maybe, street?: Maybe, city?: Maybe, cap?: Maybe }>>> }>, footer?: Maybe<{ __typename?: 'ComponentGlobalFooter', id: string, description?: Maybe }> }> }; +export type GetGlobalQuery = { __typename?: 'Query', global?: Maybe<{ __typename?: 'Global', id: string, topbar?: Maybe<{ __typename?: 'ComponentGlobalTopbar', id: string, menu?: Maybe<{ __typename?: 'Menu', id: string, title: string, links?: Maybe, url?: Maybe }>>> }> }>, companyData?: Maybe<{ __typename?: 'ComponentGlobalCompanyData', id: string, primaryEmail?: Maybe, companyName?: Maybe, copyright?: Maybe, vatId?: Maybe, capital?: Maybe, additionalLegalInfo?: Maybe, locations?: Maybe, provinceInitials?: Maybe, type?: Maybe, street?: Maybe, city?: Maybe, cap?: Maybe }>>> }>, footer?: Maybe<{ __typename?: 'ComponentGlobalFooter', id: string, description?: Maybe }> }> }; export type GetProjectsQueryVariables = Exact<{ locale?: Maybe; }>; -export type GetProjectsQuery = { __typename?: 'Query', projects?: Maybe, linkLabel?: Maybe, projectType?: Maybe, companyName?: Maybe, description?: Maybe, path: string, locale?: Maybe, localizations?: Maybe }>>>, image?: Maybe<{ __typename?: 'UploadFile', id: string, url: string, alternativeText?: Maybe }>, blocks?: Maybe } | { __typename: 'ComponentProjectBlockquoteBlock', id: string, text?: Maybe } | { __typename: 'ComponentProjectImageBlock', id: string, image?: Maybe<{ __typename?: 'UploadFile', id: string, url: string, alternativeText?: Maybe }> } | { __typename: 'ComponentProjectParagraphBlock', id: string, text?: Maybe }>>> }>>> }; +export type GetProjectsQuery = { __typename?: 'Query', projects?: Maybe, linkLabel?: Maybe, projectType?: Maybe, companyName?: Maybe, description?: Maybe, path?: Maybe, locale?: Maybe, localizations?: Maybe, locale?: Maybe }>>>, image?: Maybe<{ __typename?: 'UploadFile', id: string, url: string, alternativeText?: Maybe }>, blocks?: Maybe } | { __typename: 'ComponentProjectImageBlock', id: string, image?: Maybe<{ __typename?: 'UploadFile', id: string, url: string, alternativeText?: Maybe }> } | { __typename: 'ComponentProjectParagraphBlock', id: string, text?: Maybe }>>> }>>> }; export type SaveChangesMutationVariables = Exact<{ pageInput?: Maybe; @@ -2161,7 +2075,7 @@ export type SaveChangesMutationVariables = Exact<{ }>; -export type SaveChangesMutation = { __typename?: 'Mutation', updatePage?: Maybe<{ __typename?: 'updatePagePayload', page?: Maybe<{ __typename?: 'Pages', id: string }> }>, updateGlobal?: Maybe<{ __typename?: 'updateGlobalPayload', global?: Maybe<{ __typename?: 'Global', companyData?: Maybe<{ __typename?: 'ComponentGlobalCompanyData', id: string }>, footer?: Maybe<{ __typename?: 'ComponentGlobalFooter', id: string }> }> }>, updateMenu?: Maybe<{ __typename?: 'updateMenuPayload', menu?: Maybe<{ __typename?: 'Menu', id: string, title: string, links?: Maybe, label?: Maybe }>>> }> }> }; +export type SaveChangesMutation = { __typename?: 'Mutation', updatePage?: Maybe<{ __typename?: 'updatePagePayload', page?: Maybe<{ __typename?: 'Page', id: string }> }>, updateGlobal?: Maybe<{ __typename?: 'updateGlobalPayload', global?: Maybe<{ __typename?: 'Global', companyData?: Maybe<{ __typename?: 'ComponentGlobalCompanyData', id: string }>, footer?: Maybe<{ __typename?: 'ComponentGlobalFooter', id: string }> }> }>, updateMenu?: Maybe<{ __typename?: 'updateMenuPayload', menu?: Maybe<{ __typename?: 'Menu', id: string, title: string, links?: Maybe, label?: Maybe }>>> }> }> }; export type UpdateMenuMutationVariables = Exact<{ input?: Maybe; @@ -2340,11 +2254,6 @@ export const GetProjects = ` alternativeText } blocks { - ... on ComponentProjectTitleBlock { - __typename - id - title - } ... on ComponentProjectBlockquoteBlock { __typename id diff --git a/frontend/graphql/getProjects.graphql b/frontend/graphql/getProjects.graphql index f2233276..8f3902db 100644 --- a/frontend/graphql/getProjects.graphql +++ b/frontend/graphql/getProjects.graphql @@ -19,11 +19,6 @@ query getProjects($locale: String) { alternativeText } blocks { - ... on ComponentProjectTitleBlock { - __typename - id - title - } ... on ComponentProjectBlockquoteBlock { __typename id diff --git a/frontend/package-lock.json b/frontend/package-lock.json index fed88893..a300672f 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1366,9 +1366,9 @@ } }, "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -1565,9 +1565,9 @@ } }, "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2155,9 +2155,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2178,9 +2178,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2202,9 +2202,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2213,9 +2213,9 @@ } }, "@graphql-tools/delegate": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@graphql-tools/delegate/-/delegate-8.2.0.tgz", - "integrity": "sha512-Qf/xDXiUAozVsxdn94wNGB/0pQKKXElUJBSz/9UAtdlrfaP+BCV35PtEvuryNhMDPuj+QO1gFEixlc6YroL5jw==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/delegate/-/delegate-8.2.1.tgz", + "integrity": "sha512-fvQjSrCJCfchSQlLNHPcj1TwojyV1CPtXmwtSEVKvyp9axokuP37WGyliOWUYCepfwpklklLFUeTEiWlCoxv2Q==", "dev": true, "requires": { "@graphql-tools/batch-execute": "^8.1.0", @@ -2227,9 +2227,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2252,9 +2252,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2275,9 +2275,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2299,9 +2299,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2323,14 +2323,26 @@ }, "dependencies": { "@babel/generator": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.0.tgz", - "integrity": "sha512-eKl4XdMrbpYvuB505KTta4AV9g+wWzmVBW69tX0H2NwKVKd2YJbKgyK6M8j/rgLbmHOYJn6rUklV677nOyJrEQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.4.tgz", + "integrity": "sha512-d3itta0tu+UayjEORPNz6e1T3FtvWlP5N4V5M+lhp/CxT4oAA7/NcScnpRyspUMLK6tu9MNHmQHxRykuN2R7hw==", "dev": true, "requires": { - "@babel/types": "^7.15.0", + "@babel/types": "^7.15.4", "jsesc": "^2.5.1", "source-map": "^0.5.0" + }, + "dependencies": { + "@babel/types": { + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.4.tgz", + "integrity": "sha512-0f1HJFuGmmbrKTCZtbm3cU+b/AqdEYk5toj5iQur58xkVMlS0JWaKxTBSmCXd47uiN7vbcozAupm6Mvs80GNhw==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.14.9", + "to-fast-properties": "^2.0.0" + } + } } }, "@babel/helper-validator-identifier": { @@ -2373,9 +2385,9 @@ } }, "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2414,9 +2426,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2425,9 +2437,9 @@ } }, "@graphql-tools/load": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@graphql-tools/load/-/load-7.2.0.tgz", - "integrity": "sha512-wpMjONVcE47jjlTkoivOnl/WPxcDUyfyN+3++UOijrdSSzuItwmaWo14e+Egqd5Uz/wWlLPwfbSatbcN0rDKuQ==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@graphql-tools/load/-/load-7.3.0.tgz", + "integrity": "sha512-ZVipT7yzOpf/DJ2sLI3xGwnULVFp/icu7RFEgDo2ZX0WHiS7EjWZ0cegxEm87+WN4fMwpiysRLzWx67VIHwKGA==", "dev": true, "requires": { "@graphql-tools/schema": "8.2.0", @@ -2437,9 +2449,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2522,9 +2534,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2611,19 +2623,19 @@ }, "dependencies": { "@graphql-tools/merge": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.1.0.tgz", - "integrity": "sha512-Lza419UHgnn0w42wLpviHYmg/k42bdxTsguAaUwfrgMbJ99nyx8/1Owu1ij6k1bc5RN0YynS5N/rLGw7skw8vQ==", + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-8.1.2.tgz", + "integrity": "sha512-kFLd4kKNJXYXnKIhM8q9zgGAtbLmsy3WmGdDxYq3YHBJUogucAxnivQYyRIseUq37KGmSAIWu3pBQ23TKGsGOw==", "dev": true, "requires": { - "@graphql-tools/utils": "^8.2.0", + "@graphql-tools/utils": "^8.2.2", "tslib": "~2.3.0" } }, "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2662,9 +2674,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -2703,9 +2715,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" @@ -6121,9 +6133,9 @@ }, "dependencies": { "@graphql-tools/utils": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.1.tgz", - "integrity": "sha512-xjyetFpDy2/MY8P4+NiE7i1czCrAI36Twjm+jcoBfPctMnJegZkZnLfepmjwYQ92Sv9hnhr+x52OUQAddj29CQ==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-8.2.2.tgz", + "integrity": "sha512-29FFY5U4lpXuBiW9dRvuWnBVwGhWbGLa2leZcAMU/Pz47Cr/QLZGVgpLBV9rt+Gbs7wyIJM7t7EuksPs0RDm3g==", "dev": true, "requires": { "tslib": "~2.3.0" diff --git a/frontend/package.json b/frontend/package.json index 65a19ce4..c040fcae 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -17,7 +17,7 @@ "@emotion/styled": "11.3.0", "@graphql-codegen/typescript-document-nodes": "1.17.13", "framer-motion": "4.1.17", - "graphql": "15.5.1", + "graphql": "^15.5.1", "graphql-codegen": "0.4.0", "next": "11.0.0", "react": "17.0.2", @@ -29,14 +29,14 @@ "tinacms": "0.41.1" }, "devDependencies": { - "@graphql-codegen/cli": "2.0.1", - "@graphql-codegen/introspection": "2.0.0", - "@graphql-codegen/typescript": "2.0.0", - "@graphql-codegen/typescript-operations": "2.0.1", - "@graphql-codegen/typescript-react-apollo": "3.0.0", + "@graphql-codegen/cli": "2.2.0", + "@graphql-codegen/introspection": "2.1.0", + "@graphql-codegen/typescript": "2.2.1", + "@graphql-codegen/typescript-operations": "2.1.3", + "@graphql-codegen/typescript-react-apollo": "3.1.3", "@types/styled-components": "5.1.10", "eslint": "7.29.0", "eslint-config-next": "11.0.0", "typescript": "4.3.4" } -} +} \ No newline at end of file diff --git a/frontend/pages/[[...slug]].tsx b/frontend/pages/[[...slug]].tsx index 3284bfac..f7ecb79f 100644 --- a/frontend/pages/[[...slug]].tsx +++ b/frontend/pages/[[...slug]].tsx @@ -451,8 +451,8 @@ function getPageData( return { _template: "card", id: card.id, - title: card.title, - description: card.description, + title: card.title || null, + description: card.description || null, image: card.image == null ? null diff --git a/frontend/pages/projects/index.tsx b/frontend/pages/projects/index.tsx index 36d63110..0f6ae6b9 100644 --- a/frontend/pages/projects/index.tsx +++ b/frontend/pages/projects/index.tsx @@ -504,27 +504,70 @@ function getGlobalData( if (global == null) { return undefined; } - if (global.topbar?.menu?.links) { - let filteredLinks = filterListNullableItems(global.topbar.menu.links); - return { - id: global.id, - topbar: { - id: global.topbar.id, - menu: { - id: global.topbar.menu.id, - title: global.topbar.menu.title, - links: filteredLinks.map((link) => { - return { - _template: "navigationLink", - id: link.id, - label: link.label || null, - url: link.url || null, - }; - }), - }, - }, - }; + + if (global.topbar == null) { + return undefined; + } + + if (global.footer == null) { + return undefined; + } + + if (global.companyData == null) { + return undefined; } + + if (global.topbar.menu?.links == null) { + return undefined; + } + + let filteredLinks = filterListNullableItems(global.topbar.menu.links); + return { + id: global.id, + topbar: { + id: global.topbar.id, + menu: { + id: global.topbar.menu?.id, + title: global.topbar.menu?.title, + links: filteredLinks.map((link) => { + return { + _template: "navigationLink", + id: link.id, + label: link.label || null, + url: link.url || null, + }; + }), + }, + }, + footer: { + id: global.footer?.id, + description: global.footer?.description || null, + }, + companyData: { + id: global.companyData.id, + companyName: global.companyData.companyName || null, + additionalLegalInfo: global.companyData.additionalLegalInfo || null, + vatId: global.companyData.vatId || null, + capital: global.companyData.capital || null, + copyright: global.companyData.copyright || null, + primaryEmail: global.companyData.primaryEmail || null, + locations: global.companyData.locations + ? filterListNullableItems(global.companyData.locations).map( + (location) => { + return { + id: location.id, + province: location.province || null, + provinceInitials: location.provinceInitials || null, + type: location.type || null, + street: location.street || null, + city: location.city || null, + cap: location.cap || null, + }; + } + ) + : [], + }, + }; } function getProjectsData( From 324afcfbad48f59b51c544d62a16d313748fd559 Mon Sep 17 00:00:00 2001 From: Giacomo Baggio Date: Wed, 8 Sep 2021 13:44:27 +0200 Subject: [PATCH 21/21] Fixes --- backend/package-lock.json | 1357 +++++++++++++++++++------------------ frontend/config/env.ts | 2 +- 2 files changed, 700 insertions(+), 659 deletions(-) diff --git a/backend/package-lock.json b/backend/package-lock.json index 311cb043..ec98a99e 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -16,9 +16,9 @@ }, "dependencies": { "core-js": { - "version": "3.15.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.15.1.tgz", - "integrity": "sha512-h8VbZYnc9pDzueiS2610IULDkpFFPunHwIpl8yRwFahAEEdSpHlTy3h3z3rKq5h11CaUdBEeRViu9AYvbxiMeg==" + "version": "3.17.2", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.17.2.tgz", + "integrity": "sha512-XkbXqhcXeMHPRk2ItS+zQYliAMilea2euoMsnpRRdDad6b2VY6CQQcwz1K8AnWesfw4p165RzY0bTnr3UrbYiA==" } } }, @@ -100,24 +100,24 @@ } }, "@babel/compat-data": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.14.7.tgz", - "integrity": "sha512-nS6dZaISCXJ3+518CWiBfEr//gHyMO02uDxBkXTKZDN5POruCnOZ1N4YBRZDCabwF8nZMWBpRxIicmXtBs+fvw==" + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", + "integrity": "sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==" }, "@babel/core": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.6.tgz", - "integrity": "sha512-gJnOEWSqTk96qG5BoIrl5bVtc23DCycmIePPYnamY9RboYdI4nFy5vAQMSl81O5K/W0sLDWfGysnOECC+KUUCA==", + "version": "7.15.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.15.5.tgz", + "integrity": "sha512-pYgXxiwAgQpgM1bNkZsDEq85f0ggXMA5L7c+o3tskGMh2BunCI9QUwB9Z4jpvXUOuMdyGKiGKQiRe11VS6Jzvg==", "requires": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", - "@babel/helper-compilation-targets": "^7.14.5", - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helpers": "^7.14.6", - "@babel/parser": "^7.14.6", - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5", + "@babel/generator": "^7.15.4", + "@babel/helper-compilation-targets": "^7.15.4", + "@babel/helper-module-transforms": "^7.15.4", + "@babel/helpers": "^7.15.4", + "@babel/parser": "^7.15.5", + "@babel/template": "^7.15.4", + "@babel/traverse": "^7.15.4", + "@babel/types": "^7.15.4", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -134,38 +134,38 @@ } }, "@babel/generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.5.tgz", - "integrity": "sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.4.tgz", + "integrity": "sha512-d3itta0tu+UayjEORPNz6e1T3FtvWlP5N4V5M+lhp/CxT4oAA7/NcScnpRyspUMLK6tu9MNHmQHxRykuN2R7hw==", "requires": { - "@babel/types": "^7.14.5", + "@babel/types": "^7.15.4", "jsesc": "^2.5.1", "source-map": "^0.5.0" } }, "@babel/helper-annotate-as-pure": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.14.5.tgz", - "integrity": "sha512-EivH9EgBIb+G8ij1B2jAwSH36WnGvkQSEC6CkX/6v6ZFlw5fVOHvsgGF4uiEHO2GzMvunZb6tDLQEQSdrdocrA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.15.4.tgz", + "integrity": "sha512-QwrtdNvUNsPCj2lfNQacsGSQvGX8ee1ttrBrcozUP2Sv/jylewBP/8QFe6ZkBsC8T/GYWonNAWJV4aRR9AL2DA==", "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.14.5.tgz", - "integrity": "sha512-YTA/Twn0vBXDVGJuAX6PwW7x5zQei1luDDo2Pl6q1qZ7hVNl0RZrhHCQG/ArGpR29Vl7ETiB8eJyrvpuRp300w==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.15.4.tgz", + "integrity": "sha512-P8o7JP2Mzi0SdC6eWr1zF+AEYvrsZa7GSY1lTayjF5XJhVH0kjLYUZPvTMflP7tBgZoe9gIhTa60QwFpqh/E0Q==", "requires": { - "@babel/helper-explode-assignable-expression": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-explode-assignable-expression": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-compilation-targets": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.14.5.tgz", - "integrity": "sha512-v+QtZqXEiOnpO6EYvlImB6zCD2Lel06RzOPzmkz/D/XgQiUu3C/Jb1LOqSt/AIA34TYi/Q+KlT8vTQrgdxkbLw==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz", + "integrity": "sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ==", "requires": { - "@babel/compat-data": "^7.14.5", + "@babel/compat-data": "^7.15.0", "@babel/helper-validator-option": "^7.14.5", "browserslist": "^4.16.6", "semver": "^6.3.0" @@ -179,16 +179,16 @@ } }, "@babel/helper-create-class-features-plugin": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.6.tgz", - "integrity": "sha512-Z6gsfGofTxH/+LQXqYEK45kxmcensbzmk/oi8DmaQytlQCgqNZt9XQF8iqlI/SeXWVjaMNxvYvzaYw+kh42mDg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.4.tgz", + "integrity": "sha512-7ZmzFi+DwJx6A7mHRwbuucEYpyBwmh2Ca0RvI6z2+WLZYCqV0JOaLb+u0zbtmDicebgKBZgqbYfLaKNqSgv5Pw==", "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-member-expression-to-functions": "^7.14.5", - "@babel/helper-optimise-call-expression": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5" + "@babel/helper-annotate-as-pure": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-member-expression-to-functions": "^7.15.4", + "@babel/helper-optimise-call-expression": "^7.15.4", + "@babel/helper-replace-supers": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4" } }, "@babel/helper-create-regexp-features-plugin": { @@ -223,76 +223,76 @@ } }, "@babel/helper-explode-assignable-expression": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.14.5.tgz", - "integrity": "sha512-Htb24gnGJdIGT4vnRKMdoXiOIlqOLmdiUYpAQ0mYfgVT/GDm8GOYhgi4GL+hMKrkiPRohO4ts34ELFsGAPQLDQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.15.4.tgz", + "integrity": "sha512-J14f/vq8+hdC2KoWLIQSsGrC9EFBKE4NFts8pfMpymfApds+fPqR30AOUWc4tyr56h9l/GA1Sxv2q3dLZWbQ/g==", "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", - "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", + "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", "requires": { - "@babel/helper-get-function-arity": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-get-function-arity": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-get-function-arity": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", - "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", + "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-hoist-variables": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz", - "integrity": "sha512-R1PXiz31Uc0Vxy4OEOm07x0oSjKAdPPCh3tPivn/Eo8cvz6gveAeuyUUPB21Hoiif0uoPQSSdhIPS3352nvdyQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz", + "integrity": "sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==", "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-member-expression-to-functions": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.14.7.tgz", - "integrity": "sha512-TMUt4xKxJn6ccjcOW7c4hlwyJArizskAhoSTOCkA0uZ+KghIaci0Qg9R043kUMWI9mtQfgny+NQ5QATnZ+paaA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz", + "integrity": "sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==", "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-module-imports": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.14.5.tgz", - "integrity": "sha512-SwrNHu5QWS84XlHwGYPDtCxcA0hrSlL2yhWYLgeOc0w7ccOl2qv4s/nARI0aYZW+bSwAL5CukeXA47B/1NKcnQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz", + "integrity": "sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA==", "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-module-transforms": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.5.tgz", - "integrity": "sha512-iXpX4KW8LVODuAieD7MzhNjmM6dzYY5tfRqT+R9HDXWl0jPn/djKmA+G9s/2C2T9zggw5tK1QNqZ70USfedOwA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.15.4.tgz", + "integrity": "sha512-9fHHSGE9zTC++KuXLZcB5FKgvlV83Ox+NLUmQTawovwlJ85+QMhk1CnVk406CQVj97LaWod6KVjl2Sfgw9Aktw==", "requires": { - "@babel/helper-module-imports": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5", - "@babel/helper-simple-access": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-module-imports": "^7.15.4", + "@babel/helper-replace-supers": "^7.15.4", + "@babel/helper-simple-access": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/helper-validator-identifier": "^7.14.9", + "@babel/template": "^7.15.4", + "@babel/traverse": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-optimise-call-expression": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.14.5.tgz", - "integrity": "sha512-IqiLIrODUOdnPU9/F8ib1Fx2ohlgDhxnIDU7OEVi+kAbEZcyiF7BLU8W6PfvPi9LzztjS7kcbzbmL7oG8kD6VA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz", + "integrity": "sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==", "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-plugin-utils": { @@ -301,54 +301,54 @@ "integrity": "sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ==" }, "@babel/helper-remap-async-to-generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.14.5.tgz", - "integrity": "sha512-rLQKdQU+HYlxBwQIj8dk4/0ENOUEhA/Z0l4hN8BexpvmSMN9oA9EagjnhnDpNsRdWCfjwa4mn/HyBXO9yhQP6A==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.15.4.tgz", + "integrity": "sha512-v53MxgvMK/HCwckJ1bZrq6dNKlmwlyRNYM6ypaRTdXWGOE2c1/SCa6dL/HimhPulGhZKw9W0QhREM583F/t0vQ==", "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-wrap-function": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-annotate-as-pure": "^7.15.4", + "@babel/helper-wrap-function": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-replace-supers": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.14.5.tgz", - "integrity": "sha512-3i1Qe9/8x/hCHINujn+iuHy+mMRLoc77b2nI9TB0zjH1hvn9qGlXjWlggdwUcju36PkPCy/lpM7LLUdcTyH4Ow==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz", + "integrity": "sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw==", "requires": { - "@babel/helper-member-expression-to-functions": "^7.14.5", - "@babel/helper-optimise-call-expression": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-member-expression-to-functions": "^7.15.4", + "@babel/helper-optimise-call-expression": "^7.15.4", + "@babel/traverse": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helper-simple-access": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.14.5.tgz", - "integrity": "sha512-nfBN9xvmCt6nrMZjfhkl7i0oTV3yxR4/FztsbOASyTvVcoYd0TRHh7eMLdlEcCqobydC0LAF3LtC92Iwxo0wyw==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz", + "integrity": "sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg==", "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.14.5.tgz", - "integrity": "sha512-dmqZB7mrb94PZSAOYtr+ZN5qt5owZIAgqtoTuqiFbHFtxgEcmQlRJVI+bO++fciBunXtB6MK7HrzrfcAzIz2NQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.15.4.tgz", + "integrity": "sha512-BMRLsdh+D1/aap19TycS4eD1qELGrCBJwzaY9IE8LrpJtJb+H7rQkPIdsfgnMtLBA6DJls7X9z93Z4U8h7xw0A==", "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", - "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", + "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", "requires": { - "@babel/types": "^7.14.5" + "@babel/types": "^7.15.4" } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==" + "version": "7.14.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz", + "integrity": "sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==" }, "@babel/helper-validator-option": { "version": "7.14.5", @@ -356,24 +356,24 @@ "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==" }, "@babel/helper-wrap-function": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.14.5.tgz", - "integrity": "sha512-YEdjTCq+LNuNS1WfxsDCNpgXkJaIyqco6DAelTUjT4f2KIWC1nBcaCaSdHTBqQVLnTBexBcVcFhLSU1KnYuePQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.15.4.tgz", + "integrity": "sha512-Y2o+H/hRV5W8QhIfTpRIBwl57y8PrZt6JM3V8FOo5qarjshHItyH5lXlpMfBfmBefOqSCpKZs/6Dxqp0E/U+uw==", "requires": { - "@babel/helper-function-name": "^7.14.5", - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/helper-function-name": "^7.15.4", + "@babel/template": "^7.15.4", + "@babel/traverse": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/helpers": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.6.tgz", - "integrity": "sha512-yesp1ENQBiLI+iYHSJdoZKUtRpfTlL1grDIX9NRlAVppljLw/4tTyYupIB7uIYmC3stW/imAv8EqaKaS/ibmeA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.15.4.tgz", + "integrity": "sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ==", "requires": { - "@babel/template": "^7.14.5", - "@babel/traverse": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/template": "^7.15.4", + "@babel/traverse": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/highlight": { @@ -433,27 +433,27 @@ } }, "@babel/parser": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", - "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==" + "version": "7.15.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.5.tgz", + "integrity": "sha512-2hQstc6I7T6tQsWzlboMh3SgMRPaS4H6H7cPQsJkdzTzEGqQrpLDsE2BGASU5sBPoEQyHzeqU6C8uKbFeEk6sg==" }, "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.14.5.tgz", - "integrity": "sha512-ZoJS2XCKPBfTmL122iP6NM9dOg+d4lc9fFk3zxc8iDjvt8Pk4+TlsHSKhIPf6X+L5ORCdBzqMZDjL/WHj7WknQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.15.4.tgz", + "integrity": "sha512-eBnpsl9tlhPhpI10kU06JHnrYXwg3+V6CaP2idsCXNef0aeslpqyITXQ74Vfk5uHgY7IG7XP0yIH8b42KSzHog==", "requires": { "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.14.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4", "@babel/plugin-proposal-optional-chaining": "^7.14.5" } }, "@babel/plugin-proposal-async-generator-functions": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.14.7.tgz", - "integrity": "sha512-RK8Wj7lXLY3bqei69/cc25gwS5puEc3dknoFPFbqfy3XxYQBQFvu4ioWpafMBAB+L9NyptQK4nMOa5Xz16og8Q==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.4.tgz", + "integrity": "sha512-2zt2g5vTXpMC3OmK6uyjvdXptbhBXfA77XGrd3gh93zwG8lZYBLOBImiGBEG0RANu3JqKEACCz5CGk73OJROBw==", "requires": { "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.14.5", + "@babel/helper-remap-async-to-generator": "^7.15.4", "@babel/plugin-syntax-async-generators": "^7.8.4" } }, @@ -467,11 +467,11 @@ } }, "@babel/plugin-proposal-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.14.5.tgz", - "integrity": "sha512-KBAH5ksEnYHCegqseI5N9skTdxgJdmDoAOc0uXa+4QMYKeZD0w5IARh4FMlTNtaHhbB8v+KzMdTgxMMzsIy6Yg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.15.4.tgz", + "integrity": "sha512-M682XWrrLNk3chXCjoPUQWOyYsB93B9z3mRyjtqqYJWDf2mfCdIYgDrA11cgNVhAQieaq6F2fn2f3wI0U4aTjA==", "requires": { - "@babel/helper-create-class-features-plugin": "^7.14.5", + "@babel/helper-create-class-features-plugin": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-class-static-block": "^7.14.5" } @@ -571,12 +571,12 @@ } }, "@babel/plugin-proposal-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-62EyfyA3WA0mZiF2e2IV9mc9Ghwxcg8YTu8BS4Wss4Y3PY725OmS9M0qLORbJwLqFtGh+jiE4wAmocK2CTUK2Q==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.15.4.tgz", + "integrity": "sha512-X0UTixkLf0PCCffxgu5/1RQyGGbgZuKoI+vXP4iSbJSYwPb7hu06omsFGBvQ9lJEvwgrxHdS8B5nbfcd8GyUNA==", "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-create-class-features-plugin": "^7.14.5", + "@babel/helper-annotate-as-pure": "^7.15.4", + "@babel/helper-create-class-features-plugin": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" } @@ -737,24 +737,24 @@ } }, "@babel/plugin-transform-block-scoping": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.14.5.tgz", - "integrity": "sha512-LBYm4ZocNgoCqyxMLoOnwpsmQ18HWTQvql64t3GvMUzLQrNoV1BDG0lNftC8QKYERkZgCCT/7J5xWGObGAyHDw==", + "version": "7.15.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.15.3.tgz", + "integrity": "sha512-nBAzfZwZb4DkaGtOes1Up1nOAp9TDRRFw4XBzBBSG9QK7KVFmYzgj9o9sbPv7TX5ofL4Auq4wZnxCoPnI/lz2Q==", "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-classes": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.14.5.tgz", - "integrity": "sha512-J4VxKAMykM06K/64z9rwiL6xnBHgB1+FVspqvlgCdwD1KUbQNfszeKVVOMh59w3sztHYIZDgnhOC4WbdEfHFDA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.15.4.tgz", + "integrity": "sha512-Yjvhex8GzBmmPQUvpXRPWQ9WnxXgAFuZSrqOK/eJlOGIXwvv8H3UEdUigl1gb/bnjTrln+e8bkZUYCBt/xYlBg==", "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-optimise-call-expression": "^7.14.5", + "@babel/helper-annotate-as-pure": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-optimise-call-expression": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", + "@babel/helper-replace-supers": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", "globals": "^11.1.0" } }, @@ -801,9 +801,9 @@ } }, "@babel/plugin-transform-for-of": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.14.5.tgz", - "integrity": "sha512-CfmqxSUZzBl0rSjpoQSFoR9UEj3HzbGuGNL21/iFTmjb5gFggJp3ph0xR1YBhexmLoKRHzgxuFvty2xdSt6gTA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.15.4.tgz", + "integrity": "sha512-DRTY9fA751AFBDh2oxydvVm4SYevs5ILTWLs6xKXps4Re/KG5nfUkr+TdHCrRWB8C69TlzVgA9b3RmGWmgN9LA==", "requires": { "@babel/helper-plugin-utils": "^7.14.5" } @@ -844,25 +844,25 @@ } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.14.5.tgz", - "integrity": "sha512-en8GfBtgnydoao2PS+87mKyw62k02k7kJ9ltbKe0fXTHrQmG6QZZflYuGI1VVG7sVpx4E1n7KBpNlPb8m78J+A==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.4.tgz", + "integrity": "sha512-qg4DPhwG8hKp4BbVDvX1s8cohM8a6Bvptu4l6Iingq5rW+yRUAhe/YRup/YcW2zCOlrysEWVhftIcKzrEZv3sA==", "requires": { - "@babel/helper-module-transforms": "^7.14.5", + "@babel/helper-module-transforms": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-simple-access": "^7.14.5", + "@babel/helper-simple-access": "^7.15.4", "babel-plugin-dynamic-import-node": "^2.3.3" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.14.5.tgz", - "integrity": "sha512-mNMQdvBEE5DcMQaL5LbzXFMANrQjd2W7FPzg34Y4yEz7dBgdaC+9B84dSO+/1Wba98zoDbInctCDo4JGxz1VYA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.15.4.tgz", + "integrity": "sha512-fJUnlQrl/mezMneR72CKCgtOoahqGJNVKpompKwzv3BrEXdlPspTcyxrZ1XmDTIr9PpULrgEQo3qNKp6dW7ssw==", "requires": { - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-module-transforms": "^7.14.5", + "@babel/helper-hoist-variables": "^7.15.4", + "@babel/helper-module-transforms": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "babel-plugin-dynamic-import-node": "^2.3.3" } }, @@ -876,9 +876,9 @@ } }, "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.7.tgz", - "integrity": "sha512-DTNOTaS7TkW97xsDMrp7nycUVh6sn/eq22VaxWfEdzuEbRsiaOU0pqU7DlyUGHVsbQbSghvjKRpEl+nUCKGQSg==", + "version": "7.14.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.9.tgz", + "integrity": "sha512-l666wCVYO75mlAtGFfyFwnWmIXQm3kSH0C3IRnJqWcZbWkoihyAdDhFm2ZWaxWTqvBvhVFfJjMRQ0ez4oN1yYA==", "requires": { "@babel/helper-create-regexp-features-plugin": "^7.14.5" } @@ -901,9 +901,9 @@ } }, "@babel/plugin-transform-parameters": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.14.5.tgz", - "integrity": "sha512-Tl7LWdr6HUxTmzQtzuU14SqbgrSKmaR77M0OKyq4njZLQTPfOvzblNKyNkGwOfEFCEx7KeYHQHDI0P3F02IVkA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.15.4.tgz", + "integrity": "sha512-9WB/GUTO6lvJU3XQsSr6J/WKvBC2hcs4Pew8YxZagi6GkTdniyqp8On5kqdK8MN0LMeu0mGbhPN+O049NV/9FQ==", "requires": { "@babel/helper-plugin-utils": "^7.14.5" } @@ -917,23 +917,23 @@ } }, "@babel/plugin-transform-react-display-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.14.5.tgz", - "integrity": "sha512-07aqY1ChoPgIxsuDviptRpVkWCSbXWmzQqcgy65C6YSFOfPFvb/DX3bBRHh7pCd/PMEEYHYWUTSVkCbkVainYQ==", + "version": "7.15.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.15.1.tgz", + "integrity": "sha512-yQZ/i/pUCJAHI/LbtZr413S3VT26qNrEm0M5RRxQJA947/YNYwbZbBaXGDrq6CG5QsZycI1VIP6d7pQaBfP+8Q==", "requires": { "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-react-jsx": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.14.5.tgz", - "integrity": "sha512-7RylxNeDnxc1OleDm0F5Q/BSL+whYRbOAR+bwgCxIr0L32v7UFh/pz1DLMZideAUxKT6eMoS2zQH6fyODLEi8Q==", + "version": "7.14.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.14.9.tgz", + "integrity": "sha512-30PeETvS+AeD1f58i1OVyoDlVYQhap/K20ZrMjLmmzmC2AYR/G43D4sdJAaDAqCD3MYpSWbmrz3kES158QSLjw==", "requires": { "@babel/helper-annotate-as-pure": "^7.14.5", "@babel/helper-module-imports": "^7.14.5", "@babel/helper-plugin-utils": "^7.14.5", "@babel/plugin-syntax-jsx": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/types": "^7.14.9" } }, "@babel/plugin-transform-react-jsx-development": { @@ -970,9 +970,9 @@ } }, "@babel/plugin-transform-runtime": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.14.5.tgz", - "integrity": "sha512-fPMBhh1AV8ZyneiCIA+wYYUH1arzlXR1UMcApjvchDhfKxhy2r2lReJv8uHEyihi4IFIGlr1Pdx7S5fkESDQsg==", + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.15.0.tgz", + "integrity": "sha512-sfHYkLGjhzWTq6xsuQ01oEsUYjkHRux9fW1iUA68dC7Qd8BS1Unq4aZ8itmQp95zUzIcyR2EbNMTzAicFj+guw==", "requires": { "@babel/helper-module-imports": "^7.14.5", "@babel/helper-plugin-utils": "^7.14.5", @@ -1057,18 +1057,18 @@ } }, "@babel/preset-env": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.14.7.tgz", - "integrity": "sha512-itOGqCKLsSUl0Y+1nSfhbuuOlTs0MJk2Iv7iSH+XT/mR8U1zRLO7NjWlYXB47yhK4J/7j+HYty/EhFZDYKa/VA==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.15.4.tgz", + "integrity": "sha512-4f2nLw+q6ht8gl3sHCmNhmA5W6b1ItLzbH3UrKuJxACHr2eCpk96jwjrAfCAaXaaVwTQGnyUYHY2EWXJGt7TUQ==", "requires": { - "@babel/compat-data": "^7.14.7", - "@babel/helper-compilation-targets": "^7.14.5", + "@babel/compat-data": "^7.15.0", + "@babel/helper-compilation-targets": "^7.15.4", "@babel/helper-plugin-utils": "^7.14.5", "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.14.5", - "@babel/plugin-proposal-async-generator-functions": "^7.14.7", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.15.4", + "@babel/plugin-proposal-async-generator-functions": "^7.15.4", "@babel/plugin-proposal-class-properties": "^7.14.5", - "@babel/plugin-proposal-class-static-block": "^7.14.5", + "@babel/plugin-proposal-class-static-block": "^7.15.4", "@babel/plugin-proposal-dynamic-import": "^7.14.5", "@babel/plugin-proposal-export-namespace-from": "^7.14.5", "@babel/plugin-proposal-json-strings": "^7.14.5", @@ -1079,7 +1079,7 @@ "@babel/plugin-proposal-optional-catch-binding": "^7.14.5", "@babel/plugin-proposal-optional-chaining": "^7.14.5", "@babel/plugin-proposal-private-methods": "^7.14.5", - "@babel/plugin-proposal-private-property-in-object": "^7.14.5", + "@babel/plugin-proposal-private-property-in-object": "^7.15.4", "@babel/plugin-proposal-unicode-property-regex": "^7.14.5", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", @@ -1098,25 +1098,25 @@ "@babel/plugin-transform-arrow-functions": "^7.14.5", "@babel/plugin-transform-async-to-generator": "^7.14.5", "@babel/plugin-transform-block-scoped-functions": "^7.14.5", - "@babel/plugin-transform-block-scoping": "^7.14.5", - "@babel/plugin-transform-classes": "^7.14.5", + "@babel/plugin-transform-block-scoping": "^7.15.3", + "@babel/plugin-transform-classes": "^7.15.4", "@babel/plugin-transform-computed-properties": "^7.14.5", "@babel/plugin-transform-destructuring": "^7.14.7", "@babel/plugin-transform-dotall-regex": "^7.14.5", "@babel/plugin-transform-duplicate-keys": "^7.14.5", "@babel/plugin-transform-exponentiation-operator": "^7.14.5", - "@babel/plugin-transform-for-of": "^7.14.5", + "@babel/plugin-transform-for-of": "^7.15.4", "@babel/plugin-transform-function-name": "^7.14.5", "@babel/plugin-transform-literals": "^7.14.5", "@babel/plugin-transform-member-expression-literals": "^7.14.5", "@babel/plugin-transform-modules-amd": "^7.14.5", - "@babel/plugin-transform-modules-commonjs": "^7.14.5", - "@babel/plugin-transform-modules-systemjs": "^7.14.5", + "@babel/plugin-transform-modules-commonjs": "^7.15.4", + "@babel/plugin-transform-modules-systemjs": "^7.15.4", "@babel/plugin-transform-modules-umd": "^7.14.5", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.14.7", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.14.9", "@babel/plugin-transform-new-target": "^7.14.5", "@babel/plugin-transform-object-super": "^7.14.5", - "@babel/plugin-transform-parameters": "^7.14.5", + "@babel/plugin-transform-parameters": "^7.15.4", "@babel/plugin-transform-property-literals": "^7.14.5", "@babel/plugin-transform-regenerator": "^7.14.5", "@babel/plugin-transform-reserved-words": "^7.14.5", @@ -1128,11 +1128,11 @@ "@babel/plugin-transform-unicode-escapes": "^7.14.5", "@babel/plugin-transform-unicode-regex": "^7.14.5", "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.14.5", + "@babel/types": "^7.15.4", "babel-plugin-polyfill-corejs2": "^0.2.2", "babel-plugin-polyfill-corejs3": "^0.2.2", "babel-plugin-polyfill-regenerator": "^0.2.2", - "core-js-compat": "^3.15.0", + "core-js-compat": "^3.16.0", "semver": "^6.3.0" }, "dependencies": { @@ -1169,45 +1169,45 @@ } }, "@babel/runtime": { - "version": "7.14.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.6.tgz", - "integrity": "sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz", + "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==", "requires": { "regenerator-runtime": "^0.13.4" } }, "@babel/template": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", - "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", + "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", "requires": { "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.14.5", - "@babel/types": "^7.14.5" + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4" } }, "@babel/traverse": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz", - "integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", + "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", "requires": { "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.14.5", - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-hoist-variables": "^7.14.5", - "@babel/helper-split-export-declaration": "^7.14.5", - "@babel/parser": "^7.14.7", - "@babel/types": "^7.14.5", + "@babel/generator": "^7.15.4", + "@babel/helper-function-name": "^7.15.4", + "@babel/helper-hoist-variables": "^7.15.4", + "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/parser": "^7.15.4", + "@babel/types": "^7.15.4", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", - "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", + "version": "7.15.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.4.tgz", + "integrity": "sha512-0f1HJFuGmmbrKTCZtbm3cU+b/AqdEYk5toj5iQur58xkVMlS0JWaKxTBSmCXd47uiN7vbcozAupm6Mvs80GNhw==", "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" } }, @@ -1248,9 +1248,9 @@ } }, "reactstrap": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/reactstrap/-/reactstrap-8.9.0.tgz", - "integrity": "sha512-pmf33YjpNZk1IfrjqpWCUMq9hk6GzSnMWBAofTBNIRJQB1zQ0Au2kzv3lPUAFsBYgWEuI9iYa/xKXHaboSiMkQ==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/reactstrap/-/reactstrap-8.10.0.tgz", + "integrity": "sha512-MsFUB/fRZj6Orf8Mxc93iYuAs+9ngnFmy2cfYlzkmc4vi5oM4u6ziY/DsO71lDG3cotxHRyS3Flr51cuYv+IEQ==", "requires": { "@babel/runtime": "^7.12.5", "classnames": "^2.2.3", @@ -1383,14 +1383,14 @@ "integrity": "sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ==" }, "@emotion/react": { - "version": "11.4.0", - "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.4.0.tgz", - "integrity": "sha512-4XklWsl9BdtatLoJpSjusXhpKv9YVteYKh9hPKP1Sxl+mswEFoUe0WtmtWjxEjkA51DQ2QRMCNOvKcSlCQ7ivg==", + "version": "11.4.1", + "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.4.1.tgz", + "integrity": "sha512-pRegcsuGYj4FCdZN6j5vqCALkNytdrKw3TZMekTzNXixRg4wkLsU5QEaBG5LC6l01Vppxlp7FE3aTHpIG5phLg==", "requires": { "@babel/runtime": "^7.13.10", "@emotion/cache": "^11.4.0", "@emotion/serialize": "^1.0.2", - "@emotion/sheet": "^1.0.1", + "@emotion/sheet": "^1.0.2", "@emotion/utils": "^1.0.0", "@emotion/weak-memoize": "^0.2.5", "hoist-non-react-statics": "^3.3.1" @@ -1409,9 +1409,9 @@ } }, "@emotion/sheet": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.0.1.tgz", - "integrity": "sha512-GbIvVMe4U+Zc+929N1V7nW6YYJtidj31lidSmdYcWozwoBIObXBnaJkKNDjZrLm9Nc0BR+ZyHNaRZxqNZbof5g==" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.0.2.tgz", + "integrity": "sha512-QQPB1B70JEVUHuNtzjHftMGv6eC3Y9wqavyarj4x4lg47RACkeSfNo5pxIOKizwS9AEFLohsqoaxGQj4p0vSIw==" }, "@emotion/stylis": { "version": "0.8.5", @@ -1442,9 +1442,9 @@ }, "dependencies": { "tslib": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz", - "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" } } }, @@ -1457,9 +1457,9 @@ }, "dependencies": { "tslib": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz", - "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" } } }, @@ -1489,9 +1489,9 @@ }, "dependencies": { "tslib": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz", - "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" } } }, @@ -1517,51 +1517,51 @@ "integrity": "sha512-KWk80UPIzPmUg+P0rKh6TqspRw0G6eux1PuJr+zz47ftMaZ9QDwbGzHZbtzWkl5hgayM/qrKRutllRC7D/vVXQ==" }, "@fortawesome/fontawesome-common-types": { - "version": "0.2.35", - "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.35.tgz", - "integrity": "sha512-IHUfxSEDS9dDGqYwIW7wTN6tn/O8E0n5PcAHz9cAaBoZw6UpG20IG/YM3NNLaGPwPqgjBAFjIURzqoQs3rrtuw==" + "version": "0.2.36", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.36.tgz", + "integrity": "sha512-a/7BiSgobHAgBWeN7N0w+lAhInrGxksn13uK7231n2m8EDPE3BMCl9NZLTGrj9ZXfCmC6LM0QLqXidIizVQ6yg==" }, "@fortawesome/fontawesome-free": { - "version": "5.15.3", - "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.3.tgz", - "integrity": "sha512-rFnSUN/QOtnOAgqFRooTA3H57JLDm0QEG/jPdk+tLQNL/eWd+Aok8g3qCI+Q1xuDPWpGW/i9JySpJVsq8Q0s9w==" + "version": "5.15.4", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.4.tgz", + "integrity": "sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg==" }, "@fortawesome/fontawesome-svg-core": { - "version": "1.2.35", - "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.35.tgz", - "integrity": "sha512-uLEXifXIL7hnh2sNZQrIJWNol7cTVIzwI+4qcBIq9QWaZqUblm0IDrtSqbNg+3SQf8SMGHkiSigD++rHmCHjBg==", + "version": "1.2.36", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-1.2.36.tgz", + "integrity": "sha512-YUcsLQKYb6DmaJjIHdDWpBIGCcyE/W+p/LMGvjQem55Mm2XWVAP5kWTMKWLv9lwpCVjpLxPyOMOyUocP1GxrtA==", "requires": { - "@fortawesome/fontawesome-common-types": "^0.2.35" + "@fortawesome/fontawesome-common-types": "^0.2.36" } }, "@fortawesome/free-brands-svg-icons": { - "version": "5.15.3", - "resolved": "https://registry.npmjs.org/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-5.15.3.tgz", - "integrity": "sha512-1hirPcbjj72ZJtFvdnXGPbAbpn3Ox6mH3g5STbANFp3vGSiE5u5ingAKV06mK6ZVqNYxUPlh4DlTnaIvLtF2kw==", + "version": "5.15.4", + "resolved": "https://registry.npmjs.org/@fortawesome/free-brands-svg-icons/-/free-brands-svg-icons-5.15.4.tgz", + "integrity": "sha512-f1witbwycL9cTENJegcmcZRYyawAFbm8+c6IirLmwbbpqz46wyjbQYLuxOc7weXFXfB7QR8/Vd2u5R3q6JYD9g==", "requires": { - "@fortawesome/fontawesome-common-types": "^0.2.35" + "@fortawesome/fontawesome-common-types": "^0.2.36" } }, "@fortawesome/free-regular-svg-icons": { - "version": "5.15.3", - "resolved": "https://registry.npmjs.org/@fortawesome/free-regular-svg-icons/-/free-regular-svg-icons-5.15.3.tgz", - "integrity": "sha512-q4/p8Xehy9qiVTdDWHL4Z+o5PCLRChePGZRTXkl+/Z7erDVL8VcZUuqzJjs6gUz6czss4VIPBRdCz6wP37/zMQ==", + "version": "5.15.4", + "resolved": "https://registry.npmjs.org/@fortawesome/free-regular-svg-icons/-/free-regular-svg-icons-5.15.4.tgz", + "integrity": "sha512-9VNNnU3CXHy9XednJ3wzQp6SwNwT3XaM26oS4Rp391GsxVYA+0oDR2J194YCIWf7jNRCYKjUCOduxdceLrx+xw==", "requires": { - "@fortawesome/fontawesome-common-types": "^0.2.35" + "@fortawesome/fontawesome-common-types": "^0.2.36" } }, "@fortawesome/free-solid-svg-icons": { - "version": "5.15.3", - "resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.15.3.tgz", - "integrity": "sha512-XPeeu1IlGYqz4VWGRAT5ukNMd4VHUEEJ7ysZ7pSSgaEtNvSo+FLurybGJVmiqkQdK50OkSja2bfZXOeyMGRD8Q==", + "version": "5.15.4", + "resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.15.4.tgz", + "integrity": "sha512-JLmQfz6tdtwxoihXLg6lT78BorrFyCf59SAwBM6qV/0zXyVeDygJVb3fk+j5Qat+Yvcxp1buLTY5iDh1ZSAQ8w==", "requires": { - "@fortawesome/fontawesome-common-types": "^0.2.35" + "@fortawesome/fontawesome-common-types": "^0.2.36" } }, "@fortawesome/react-fontawesome": { - "version": "0.1.14", - "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.14.tgz", - "integrity": "sha512-4wqNb0gRLVaBm/h+lGe8UfPPivcbuJ6ecI4hIgW0LjI7kzpYB9FkN0L9apbVzg+lsBdcTf0AlBtODjcSX5mmKA==", + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.15.tgz", + "integrity": "sha512-/HFHdcoLESxxMkqZAcZ6RXDJ69pVApwdwRos/B2kiMWxDSAX2dFK8Er2/+rG+RsrzWB/dsAyjefLmemgmfE18g==", "requires": { "prop-types": "^15.7.2" } @@ -1844,39 +1844,39 @@ } }, "@types/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.1.tgz", + "integrity": "sha512-a6bTJ21vFOGIkwM0kzh9Yr89ziVxq4vYH2fQ6N8AeipEzai/cFK6aGMArIkUeIdRIgpwQa+2bXiLuUJCpSf2Cg==", "requires": { "@types/connect": "*", "@types/node": "*" } }, "@types/bson": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@types/bson/-/bson-4.0.3.tgz", - "integrity": "sha512-mVRvYnTOZJz3ccpxhr3wgxVmSeiYinW+zlzQz3SXWaJmD1DuL05Jeq7nKw3SnbKmbleW5qrLG5vdyWe/A9sXhw==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@types/bson/-/bson-4.0.5.tgz", + "integrity": "sha512-vVLwMUqhYJSQ/WKcE60eFqcyuWse5fGH+NMAXHuKrUAPoryq3ATxk5o4bgYNtg5aOM4APVg7Hnb3ASqUYG0PKg==", "requires": { "@types/node": "*" } }, "@types/connect": { - "version": "3.4.34", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.34.tgz", - "integrity": "sha512-ePPA/JuI+X0vb+gSWlPKOY0NdNAie/rPUqX2GUPpbZwiKTkSPhjXWuee47E4MtE54QVzGCQMQkAL6JhV2E1+cQ==", + "version": "3.4.35", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", + "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", "requires": { "@types/node": "*" } }, "@types/content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@types/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-P1bffQfhD3O4LW0ioENXUhZ9OIa0Zn+P7M+pWgkCKaT53wVLSq0mrKksCID/FGHpFhRSxRGhgrQmfhRuzwtKdg==" + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@types/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-0mPF08jn9zYI0n0Q/Pnz7C4kThdSt+6LD4amsrYDDpgBfrVWa3TcCOxKX1zkGgYniGagRv8heN2cbh+CAn+uuQ==" }, "@types/cookies": { - "version": "0.7.6", - "resolved": "https://registry.npmjs.org/@types/cookies/-/cookies-0.7.6.tgz", - "integrity": "sha512-FK4U5Qyn7/Sc5ih233OuHO0qAkOpEcD/eG6584yEiLKizTFRny86qHLe/rej3HFQrkBuUjF4whFliAdODbVN/w==", + "version": "0.7.7", + "resolved": "https://registry.npmjs.org/@types/cookies/-/cookies-0.7.7.tgz", + "integrity": "sha512-h7BcvPUogWbKCzBR2lY4oqaZbO3jXZksexYJVFvkrFeLgbZjQkU4x8pRq6eg2MHXQhY0McQdqmmsxRWlVAHooA==", "requires": { "@types/connect": "*", "@types/express": "*", @@ -1885,9 +1885,9 @@ } }, "@types/express": { - "version": "4.17.12", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.12.tgz", - "integrity": "sha512-pTYas6FrP15B1Oa0bkN5tQMNqOcVXa9j4FTFtO8DWI9kppKib+6NJtfTOOLcwxuuYvcX2+dVG6et1SxW/Kc17Q==", + "version": "4.17.13", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.13.tgz", + "integrity": "sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==", "requires": { "@types/body-parser": "*", "@types/express-serve-static-core": "^4.17.18", @@ -1896,9 +1896,9 @@ } }, "@types/express-serve-static-core": { - "version": "4.17.22", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.22.tgz", - "integrity": "sha512-WdqmrUsRS4ootGha6tVwk/IVHM1iorU8tGehftQD2NWiPniw/sm7xdJOIlXLwqdInL9wBw/p7oO8vaYEF3NDmA==", + "version": "4.17.24", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.24.tgz", + "integrity": "sha512-3UJuW+Qxhzwjq3xhwXm2onQcFHn76frIYVbTu+kn24LFxI+dEhdfISDFovPB8VpEgW8oQCTpRuCe+0zJxB7NEA==", "requires": { "@types/node": "*", "@types/qs": "*", @@ -1906,9 +1906,9 @@ } }, "@types/formidable": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/formidable/-/formidable-1.2.2.tgz", - "integrity": "sha512-8RDAMnMHOh7QrY1xuQ7s6/Xre9pMvJ2zT2VgATiz5cIE71Q/6N3+P8sr3z/dNWNmvX5/aX9x8uJlG0MZiMZXoA==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@types/formidable/-/formidable-1.2.3.tgz", + "integrity": "sha512-Ibu3TyzldPvzTK1yus5+uPDwN5m6pXCcO0c0rPKA1uce5ERjqP5AX9reKEqQFVlCScqjbQgitIQEOLlb6qd7Sw==", "requires": { "@types/node": "*" } @@ -1922,9 +1922,9 @@ } }, "@types/glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.4.tgz", + "integrity": "sha512-w+LsMxKyYQm347Otw+IfBXOv9UWVjpHpCDdbBMt8Kz/xbvCYNjP+0qPh91Km3iKfSRLBB0P7fAMf0KHrPu+MyA==", "requires": { "@types/minimatch": "*", "@types/node": "*" @@ -1940,24 +1940,24 @@ } }, "@types/http-assert": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.1.tgz", - "integrity": "sha512-PGAK759pxyfXE78NbKxyfRcWYA/KwW17X290cNev/qAsn9eQIxkH4shoNBafH37wewhDG/0p1cHPbK6+SzZjWQ==" + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.3.tgz", + "integrity": "sha512-FyAOrDuQmBi8/or3ns4rwPno7/9tJTijVW6aQQjK02+kOQ8zmoNg2XJtAuQhvQcy1ASJq38wirX5//9J1EqoUA==" }, "@types/http-errors": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-1.8.0.tgz", - "integrity": "sha512-2aoSC4UUbHDj2uCsCxcG/vRMXey/m17bC7UwitVm5hn22nI8O8Y9iDpA76Orc+DWkQ4zZrOKEshCqR/jSuXAHA==" + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-1.8.1.tgz", + "integrity": "sha512-e+2rjEwK6KDaNOm5Aa9wNGgyS9oSZU/4pfSMMPYNOfjvFI0WVXm29+ITRFr6aKDvvKo7uU1jV68MW4ScsfDi7Q==" }, "@types/invariant": { - "version": "2.2.34", - "resolved": "https://registry.npmjs.org/@types/invariant/-/invariant-2.2.34.tgz", - "integrity": "sha512-lYUtmJ9BqUN688fGY1U1HZoWT1/Jrmgigx2loq4ZcJpICECm/Om3V314BxdzypO0u5PORKGMM6x0OXaljV1YFg==" + "version": "2.2.35", + "resolved": "https://registry.npmjs.org/@types/invariant/-/invariant-2.2.35.tgz", + "integrity": "sha512-DxX1V9P8zdJPYQat1gHyY0xj3efl8gnMVjiM9iCY6y27lj+PoQWkgjt8jDqmovPqULkKVpKRg8J36iQiA+EtEg==" }, "@types/json-schema": { - "version": "7.0.7", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz", - "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==" + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==" }, "@types/keygrip": { "version": "1.0.2", @@ -1965,9 +1965,9 @@ "integrity": "sha512-GJhpTepz2udxGexqos8wgaBx4I/zWIDPh/KOGEwAqtuGDkOUJu5eFvwmdBX4AmB8Odsr+9pHCQqiAqDL/yKMKw==" }, "@types/koa": { - "version": "2.13.3", - "resolved": "https://registry.npmjs.org/@types/koa/-/koa-2.13.3.tgz", - "integrity": "sha512-TaujBV+Dhe/FvmSMZJtCFBms+bqQacgUebk/M2C2tq8iGmHE/DDf4DcW2Hc7NqusVZmy5xzrWOjtdPKNP+fTfw==", + "version": "2.13.4", + "resolved": "https://registry.npmjs.org/@types/koa/-/koa-2.13.4.tgz", + "integrity": "sha512-dfHYMfU+z/vKtQB7NUrthdAEiSvnLebvBjwHtfFmpZmB7em2N3WVQdHgnFq+xvyVgxW5jKDmjWfLD3lw4g4uTw==", "requires": { "@types/accepts": "*", "@types/content-disposition": "*", @@ -1980,9 +1980,9 @@ } }, "@types/koa-bodyparser": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@types/koa-bodyparser/-/koa-bodyparser-4.3.1.tgz", - "integrity": "sha512-N1cw6UpYYW01rGanfC0guqkyqKKavXygGBeSgsJOe7EkkSlRH7BNRjzyqv1TzJ3Au69aNeagpzzqAzTo6I08ow==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@types/koa-bodyparser/-/koa-bodyparser-4.3.3.tgz", + "integrity": "sha512-/ileIpXsy1fFEzgZhZ07eZH8rAVL7jwuk/kaoVEfauO6s80g2LIDIJKEyDbuAL9S/BWflKzEC0PHD6aXkmaSbw==", "requires": { "@types/koa": "*" } @@ -2014,23 +2014,23 @@ "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==" }, "@types/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==" + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==" }, "@types/mongodb": { - "version": "3.6.18", - "resolved": "https://registry.npmjs.org/@types/mongodb/-/mongodb-3.6.18.tgz", - "integrity": "sha512-JSVFt9p0rTfZ4EgzXmVHUB3ue00xe3CRbQho8nXfImzEDDM4O7I3po1bwbWl/EIbLENxUreZxqLOc8lvcnLVPA==", + "version": "3.6.20", + "resolved": "https://registry.npmjs.org/@types/mongodb/-/mongodb-3.6.20.tgz", + "integrity": "sha512-WcdpPJCakFzcWWD9juKoZbRtQxKIMYF/JIAM4JrNHrMcnJL6/a2NWjXxW7fo9hxboxxkg+icff8d7+WIEvKgYQ==", "requires": { "@types/bson": "*", "@types/node": "*" } }, "@types/node": { - "version": "15.12.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.12.5.tgz", - "integrity": "sha512-se3yX7UHv5Bscf8f1ERKvQOD6sTyycH3hdaoozvaLxgUiY5lIGEeH37AD0G0Qi9kPqihPn0HOfd2yaIEN9VwEg==" + "version": "16.7.13", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.13.tgz", + "integrity": "sha512-pLUPDn+YG3FYEt/pHI74HmnJOWzeR+tOIQzUx93pi9M7D8OE7PSLr97HboXwk5F+JS+TLtWuzCOW97AHjmOXXA==" }, "@types/node-fetch": { "version": "2.5.7", @@ -2054,24 +2054,24 @@ } }, "@types/prop-types": { - "version": "15.7.3", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz", - "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==" + "version": "15.7.4", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.4.tgz", + "integrity": "sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ==" }, "@types/qs": { - "version": "6.9.6", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.6.tgz", - "integrity": "sha512-0/HnwIfW4ki2D8L8c9GVcG5I72s9jP5GSLVF0VIXDW00kmIpA6O33G7a8n59Tmh7Nz0WUC3rSb7PTY/sdW2JzA==" + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" }, "@types/range-parser": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz", - "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==" + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", + "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==" }, "@types/react": { - "version": "17.0.11", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.11.tgz", - "integrity": "sha512-yFRQbD+whVonItSk7ZzP/L+gPTJVBkL/7shLEF+i9GC/1cV3JmUxEQz6+9ylhUpWSDuqo1N9qEvqS6vTj4USUA==", + "version": "17.0.20", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.20.tgz", + "integrity": "sha512-wWZrPlihslrPpcKyCSlmIlruakxr57/buQN1RjlIeaaTWDLtJkTtRW429MoQJergvVKc4IWBpRhWw7YNh/7GVA==", "requires": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -2079,9 +2079,9 @@ } }, "@types/react-redux": { - "version": "7.1.16", - "resolved": "https://registry.npmjs.org/@types/react-redux/-/react-redux-7.1.16.tgz", - "integrity": "sha512-f/FKzIrZwZk7YEO9E1yoxIuDNRiDducxkFlkw/GNMGEnK9n4K8wJzlJBghpSuOVDgEUHoDkDF7Gi9lHNQR4siw==", + "version": "7.1.18", + "resolved": "https://registry.npmjs.org/@types/react-redux/-/react-redux-7.1.18.tgz", + "integrity": "sha512-9iwAsPyJ9DLTRH+OFeIrm9cAbIj1i2ANL3sKQFATqnPWRbg+jEFXyZOKHiQK/N86pNRXbb4HRxAxo0SIX1XwzQ==", "requires": { "@types/hoist-non-react-statics": "^3.3.0", "@types/react": "*", @@ -2090,23 +2090,23 @@ } }, "@types/scheduler": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.1.tgz", - "integrity": "sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA==" + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", + "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" }, "@types/serve-static": { - "version": "1.13.9", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.9.tgz", - "integrity": "sha512-ZFqF6qa48XsPdjXV5Gsz0Zqmux2PerNd3a/ktL45mHpa19cuMi/cL8tcxdAx497yRh+QtYPuofjT9oWw9P7nkA==", + "version": "1.13.10", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", + "integrity": "sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==", "requires": { "@types/mime": "^1", "@types/node": "*" } }, "@types/ws": { - "version": "7.4.5", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.5.tgz", - "integrity": "sha512-8mbDgtc8xpxDDem5Gwj76stBDJX35KQ3YBoayxlqUQcL5BZUthiqP/VQ4PQnLHqM4PmlbyO74t98eJpURO+gPA==", + "version": "7.4.7", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", "requires": { "@types/node": "*" } @@ -2504,9 +2504,9 @@ }, "dependencies": { "core-js": { - "version": "3.15.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.15.1.tgz", - "integrity": "sha512-h8VbZYnc9pDzueiS2610IULDkpFFPunHwIpl8yRwFahAEEdSpHlTy3h3z3rKq5h11CaUdBEeRViu9AYvbxiMeg==" + "version": "3.17.2", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.17.2.tgz", + "integrity": "sha512-XkbXqhcXeMHPRk2ItS+zQYliAMilea2euoMsnpRRdDad6b2VY6CQQcwz1K8AnWesfw4p165RzY0bTnr3UrbYiA==" } } }, @@ -2756,9 +2756,9 @@ "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" }, "are-we-there-yet": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", - "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", + "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", "requires": { "delegates": "^1.0.0", "readable-stream": "^2.0.6" @@ -2930,11 +2930,18 @@ "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" }, "async-retry": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/async-retry/-/async-retry-1.3.1.tgz", - "integrity": "sha512-aiieFW/7h3hY0Bq5d+ktDBejxuwR78vRu9hDUdR8rNhSaQ29VzPL4AoIRG7D/c7tdenwOcKvgPM6tIxB3cB6HA==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/async-retry/-/async-retry-1.3.3.tgz", + "integrity": "sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==", "requires": { - "retry": "0.12.0" + "retry": "0.13.1" + }, + "dependencies": { + "retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==" + } } }, "asynckit": { @@ -2977,11 +2984,11 @@ "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" }, "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", "requires": { - "follow-redirects": "^1.10.0" + "follow-redirects": "^1.14.0" } }, "babel-loader": { @@ -3021,9 +3028,9 @@ } }, "babel-plugin-polyfill-corejs3": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.3.tgz", - "integrity": "sha512-rCOFzEIJpJEAU14XCcV/erIf/wZQMmMT5l5vXOpL5uoznyOGfDIjPj6FVytMvtzaKSTSVKouOCTPJ5OMUZH30g==", + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.4.tgz", + "integrity": "sha512-z3HnJE5TY/j4EFEa/qpQMSbcUJZ5JQi+3UFjXzn6pQCmIKc5Ug5j98SuYyH+m4xQnvKlMDIW4plLfgyVnd0IcQ==", "requires": { "@babel/helper-define-polyfill-provider": "^0.2.2", "core-js-compat": "^3.14.0" @@ -3038,9 +3045,9 @@ } }, "babel-plugin-styled-components": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-1.12.0.tgz", - "integrity": "sha512-FEiD7l5ZABdJPpLssKXjBUJMYqzbcNzBowfXDCdJhOpbhWiewapUaY+LZGT8R4Jg2TwOjGjG4RKeyrO5p9sBkA==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-1.13.2.tgz", + "integrity": "sha512-Vb1R3d4g+MUfPQPVDMCGjm3cDocJEUTR7Xq7QS95JWWeksN1wdFRYpD2kulDgI3Huuaf1CZd+NK4KQmqUFh5dA==", "requires": { "@babel/helper-annotate-as-pure": "^7.0.0", "@babel/helper-module-imports": "^7.0.0", @@ -3151,15 +3158,6 @@ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" }, - "bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "optional": true, - "requires": { - "file-uri-to-path": "1.0.0" - } - }, "bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", @@ -3268,6 +3266,11 @@ "iconv-lite": "0.4.24", "unpipe": "1.0.0" } + }, + "setprototypeof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" } } }, @@ -3528,21 +3531,21 @@ } }, "browserslist": { - "version": "4.16.6", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.6.tgz", - "integrity": "sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==", + "version": "4.17.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.0.tgz", + "integrity": "sha512-g2BJ2a0nEYvEFQC208q8mVAhfNwpZ5Mu8BwgtCdZKO3qx98HChmeg448fPdUzld8aFmfLgVh7yymqV+q1lJZ5g==", "requires": { - "caniuse-lite": "^1.0.30001219", - "colorette": "^1.2.2", - "electron-to-chromium": "^1.3.723", + "caniuse-lite": "^1.0.30001254", + "colorette": "^1.3.0", + "electron-to-chromium": "^1.3.830", "escalade": "^3.1.1", - "node-releases": "^1.1.71" + "node-releases": "^1.1.75" }, "dependencies": { "colorette": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", - "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz", + "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==" } } }, @@ -3566,9 +3569,9 @@ "integrity": "sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk=" }, "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" }, "buffer-indexof": { "version": "1.1.1", @@ -3748,9 +3751,9 @@ "integrity": "sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs=" }, "caniuse-lite": { - "version": "1.0.30001241", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001241.tgz", - "integrity": "sha512-1uoSZ1Pq1VpH0WerIMqwptXHNNGfdl7d1cJUFs80CwQ/lVzdhTvsFZCeNFslze7AjsQnb4C85tzclPa1VShbeQ==" + "version": "1.0.30001255", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001255.tgz", + "integrity": "sha512-F+A3N9jTZL882f/fg/WWVnKSu6IOo3ueLz4zwaOPbPYHNmM/ZaDUyzyJwS1mZhX7Ex5jqTyW599Gdelh5PDYLQ==" }, "captains-log": { "version": "2.0.3", @@ -3798,9 +3801,9 @@ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -4084,9 +4087,9 @@ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" }, "codemirror": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.62.0.tgz", - "integrity": "sha512-Xnl3304iCc8nyVZuRkzDVVwc794uc9QNX0UcPGeNic1fbzkSrO4l4GVXho9tRNKBgPYZXgocUqXyfIv3BILhCQ==" + "version": "5.62.3", + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.62.3.tgz", + "integrity": "sha512-zZAyOfN8TU67ngqrxhOgtkSAGV9jSpN1snbl8elPtnh9Z5A11daR405+dhLzLnuXrwX0WCShWlybxPN3QC/9Pg==" }, "collection-visit": { "version": "1.0.0", @@ -4098,12 +4101,12 @@ } }, "color": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/color/-/color-3.1.3.tgz", - "integrity": "sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz", + "integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==", "requires": { - "color-convert": "^1.9.1", - "color-string": "^1.5.4" + "color-convert": "^1.9.3", + "color-string": "^1.6.0" }, "dependencies": { "color-convert": { @@ -4135,9 +4138,9 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "color-string": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.5.tgz", - "integrity": "sha512-jgIoum0OfQfq9Whcfc2z/VhCNcmQjWbey6qBX0vqt7YICflUmBCh9E9CiQD5GSJ+Uehixm3NUwHVhqUAWRivZg==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.6.0.tgz", + "integrity": "sha512-c/hGS+kRWJutUBEngKKmk4iH3sD59MBkoxVapS/0wgpCz2u7XsNloxknyvBhzwEs1IbV36D9PwqLPJ2DTu3vMA==", "requires": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" @@ -4355,11 +4358,11 @@ "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==" }, "core-js-compat": { - "version": "3.15.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.15.1.tgz", - "integrity": "sha512-xGhzYMX6y7oEGQGAJmP2TmtBLvR4nZmRGEcFa3ubHOq5YEp51gGN9AovVa0AoujGZIq+Wm6dISiYyGNfdflYww==", + "version": "3.17.2", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.17.2.tgz", + "integrity": "sha512-lHnt7A1Oqplebl5i0MrQyFv/yyEzr9p29OjlkcsFRDDgHwwQyVckfRGJ790qzXhkwM8ba4SFHHa2sO+T5f1zGg==", "requires": { - "browserslist": "^4.16.6", + "browserslist": "^4.16.8", "semver": "7.0.0" }, "dependencies": { @@ -4371,14 +4374,14 @@ } }, "core-js-pure": { - "version": "3.15.1", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.15.1.tgz", - "integrity": "sha512-OZuWHDlYcIda8sJLY4Ec6nWq2hRjlyCqCZ+jCflyleMkVt3tPedDVErvHslyS2nbO+SlBFMSBJYvtLMwxnrzjA==" + "version": "3.17.2", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.17.2.tgz", + "integrity": "sha512-2VV7DlIbooyTI7Bh+yzOOWL9tGwLnQKHno7qATE+fqZzDKYr6llVjVQOzpD/QLZFgXDPb8T71pJokHEZHEYJhQ==" }, "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" }, "crc": { "version": "3.8.0", @@ -4608,9 +4611,9 @@ "integrity": "sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw==" }, "date-fns": { - "version": "2.22.1", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.22.1.tgz", - "integrity": "sha512-yUFPQjrxEmIsMqlHhAhmxkuH769baF21Kk+nZwZGyrMoyLA+LugaQtC0+Tqf9CBUUULWwUJt6Q5ySI3LJDDCGg==" + "version": "2.23.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.23.0.tgz", + "integrity": "sha512-5ycpauovVyAk0kXNZz6ZoB9AYMZB4DObse7P3BPWmyEjXNORTI8EJ6X0uaSAq4sCHzM1uajzrkr6HnsLQpxGXA==" }, "debug": { "version": "4.3.1", @@ -4757,9 +4760,9 @@ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" }, "denque": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz", - "integrity": "sha512-CYiCSgIF1p6EUByQPlGkKnP1M9g0ZV3qMIrqMqZqdwazygIA/YP2vrbcyl1h/WppKJTdl1F85cXIle+394iDAQ==" + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", + "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==" }, "depd": { "version": "2.0.0", @@ -4915,17 +4918,17 @@ "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" }, "domhandler": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", - "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.2.tgz", + "integrity": "sha512-PzE9aBMsdZO8TK4BnuJwH0QT41wgMbRzuZrHUcpYncEjmQazq8QEaBWgLG7ZyC/DAZKEgglpIA6j4Qn/HmxS3w==", "requires": { "domelementtype": "^2.2.0" } }, "domutils": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.7.0.tgz", - "integrity": "sha512-8eaHa17IwJUPAiB+SoTYBo5mCdeMgdcAoXJ59m6DT1vw+5iLS3gNoqYaRowaBKtGVrOF1Jz4yDTgYKLK2kvfJg==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", "requires": { "dom-serializer": "^1.0.1", "domelementtype": "^2.2.0", @@ -5068,9 +5071,9 @@ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, "electron-to-chromium": { - "version": "1.3.761", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.761.tgz", - "integrity": "sha512-7a/wV/plM/b95XjTdA2Q4zAxxExTDKkNQpTiaU/nVT8tGCQVtX9NsnTjhALBFICpOB58hU6xg5fFC3CT2Bybpg==" + "version": "1.3.832", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.832.tgz", + "integrity": "sha512-x7lO8tGoW0CyV53qON4Lb5Rok9ipDelNdBIAiYUZ03dqy4u9vohMM1qV047+s/hiyJiqUWX/3PNwkX3kexX5ig==" }, "elliptic": { "version": "6.5.4", @@ -5168,21 +5171,23 @@ } }, "es-abstract": { - "version": "1.18.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.3.tgz", - "integrity": "sha512-nQIr12dxV7SSxE6r6f1l3DtAeEYdsGpps13dR0TwJg1S8gyp4ZPgy3FZcHBgbiQqnoqSTb+oC+kO4UQ0C/J8vw==", + "version": "1.18.6", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.6.tgz", + "integrity": "sha512-kAeIT4cku5eNLNuUKhlmtuk1/TRZvQoYccn6TO0cSVdf1kzB0T7+dYuVK9MWM7l+/53W2Q8M7N2c6MQvhXFcUQ==", "requires": { "call-bind": "^1.0.2", "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", "has": "^1.0.3", "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.3", - "is-string": "^1.0.6", - "object-inspect": "^1.10.3", + "is-regex": "^1.1.4", + "is-string": "^1.0.7", + "object-inspect": "^1.11.0", "object-keys": "^1.1.1", "object.assign": "^4.1.2", "string.prototype.trimend": "^1.0.4", @@ -5483,6 +5488,11 @@ "version": "6.7.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" + }, + "setprototypeof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" } } }, @@ -5633,9 +5643,9 @@ }, "dependencies": { "core-js": { - "version": "3.15.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.15.1.tgz", - "integrity": "sha512-h8VbZYnc9pDzueiS2610IULDkpFFPunHwIpl8yRwFahAEEdSpHlTy3h3z3rKq5h11CaUdBEeRViu9AYvbxiMeg==" + "version": "3.17.2", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.17.2.tgz", + "integrity": "sha512-XkbXqhcXeMHPRk2ItS+zQYliAMilea2euoMsnpRRdDad6b2VY6CQQcwz1K8AnWesfw4p165RzY0bTnr3UrbYiA==" } } }, @@ -5677,23 +5687,17 @@ } }, "schema-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", - "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", "requires": { - "@types/json-schema": "^7.0.6", + "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" } } } }, - "file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "optional": true - }, "fill-range": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", @@ -5750,9 +5754,9 @@ } }, "find-cache-dir": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", - "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", "requires": { "commondir": "^1.0.1", "make-dir": "^3.0.2", @@ -5821,9 +5825,9 @@ "integrity": "sha512-eNMNr5exLoavuAMhIUVsOKF79SWd/zG104ef6sxBTSw+cZc6BXdQXDvYcGvp0VbxVVSp1XDUNoz7mg1xMtSznA==" }, "follow-redirects": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", - "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==" + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", + "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==" }, "font-awesome": { "version": "4.7.0", @@ -6106,6 +6110,15 @@ "pump": "^3.0.0" } }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, "get-value": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", @@ -6125,18 +6138,18 @@ } }, "git-up": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/git-up/-/git-up-4.0.2.tgz", - "integrity": "sha512-kbuvus1dWQB2sSW4cbfTeGpCMd8ge9jx9RKnhXhuJ7tnvT+NIrTVfYZxjtflZddQYcmdOTlkAcjmx7bor+15AQ==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/git-up/-/git-up-4.0.5.tgz", + "integrity": "sha512-YUvVDg/vX3d0syBsk/CKUTib0srcQME0JyHkL5BaYdwLsiCslPWmDSi8PUMo9pXYjrryMcmsCoCgsTpSCJEQaA==", "requires": { "is-ssh": "^1.3.0", - "parse-url": "^5.0.0" + "parse-url": "^6.0.0" } }, "git-url-parse": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.5.0.tgz", - "integrity": "sha512-TZYSMDeM37r71Lqg1mbnMlOqlHd7BSij9qN7XwTkRqSAYFMihGLGhfHwgqQob3GUhEneKnV4nskN9rbQw2KGxA==", + "version": "11.6.0", + "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.6.0.tgz", + "integrity": "sha512-WWUxvJs5HsyHL6L08wOusa/IXYtMuCAhrMmnTjQPpBU0TTHyDhnOATNH3xNQz7YOQUsqIIPTGr4xiVti1Hsk5g==", "requires": { "git-up": "^4.0.0" } @@ -6241,14 +6254,14 @@ } }, "graceful-fs": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", - "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==" + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" }, "grant": { - "version": "5.4.15", - "resolved": "https://registry.npmjs.org/grant/-/grant-5.4.15.tgz", - "integrity": "sha512-P2DQAgOKD4ySa+82c3DNDRLma74w/DtdJ60KsNd056oywvEAHTCCXaDBVct2vM4LPSoP8OVD/HctJEQyhExl7Q==", + "version": "5.4.17", + "resolved": "https://registry.npmjs.org/grant/-/grant-5.4.17.tgz", + "integrity": "sha512-bLpJYxkmi3kg/gV5v9Iv7xqgzAgWP7MhXaMwZVKnzhwiFPKZGzntUgq61aQ8QuLdmpm7tPxRv9Rw6xY4vqaAsA==", "requires": { "cookie": "^0.4.1", "cookie-signature": "^1.1.0", @@ -6386,9 +6399,9 @@ }, "dependencies": { "tslib": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz", - "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" } } }, @@ -6493,6 +6506,14 @@ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "requires": { + "has-symbols": "^1.0.2" + } + }, "has-unicode": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", @@ -6725,31 +6746,12 @@ } }, "http-assert": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/http-assert/-/http-assert-1.4.1.tgz", - "integrity": "sha512-rdw7q6GTlibqVVbXr0CKelfV5iY8G2HqEUkhSk297BMbSpSL8crXC+9rjKoMcZZEsksX30le6f/4ul4E28gegw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/http-assert/-/http-assert-1.5.0.tgz", + "integrity": "sha512-uPpH7OKX4H25hBmU6G1jWNaqJGpTXxey+YOUizJUAgu0AjLUeC8D73hTrhvDS5D+GJN1DN1+hhc/eF/wpxtp0w==", "requires": { "deep-equal": "~1.0.1", - "http-errors": "~1.7.2" - }, - "dependencies": { - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, - "http-errors": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz", - "integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==", - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.4", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - } - } + "http-errors": "~1.8.0" } }, "http-cache-semantics": { @@ -6778,11 +6780,6 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, - "setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" } } }, @@ -7129,6 +7126,16 @@ "ipaddr.js": "^1.9.0" } }, + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, "interpret": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz", @@ -7212,11 +7219,12 @@ } }, "is-arguments": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz", - "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", "requires": { - "call-bind": "^1.0.0" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" } }, "is-arrayish": { @@ -7225,9 +7233,12 @@ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" }, "is-bigint": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.2.tgz", - "integrity": "sha512-0JV5+SOCQkIdzjBK9buARcV804Ddu7A0Qet6sHi3FimE9ne6m4BGQZfRn+NZiXbBk4F4XmHfDZIipLj9pX8dSA==" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "requires": { + "has-bigints": "^1.0.1" + } }, "is-binary-path": { "version": "2.1.0", @@ -7243,11 +7254,12 @@ "integrity": "sha1-CWQ5Bg9KpBGr7hkUOoTWpVNG1uI=" }, "is-boolean-object": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.1.tgz", - "integrity": "sha512-bXdQWkECBUIAcCkeH1unwJLIpZYaa5VvuygSyS/c2lf719mTKZDU5UdDRlpd01UjADgmW8RfqaP+mRaVPdr/Ng==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", "requires": { - "call-bind": "^1.0.2" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" } }, "is-buffer": { @@ -7256,9 +7268,9 @@ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" }, "is-callable": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", - "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==" + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==" }, "is-class-hotfix": { "version": "0.0.6", @@ -7266,9 +7278,9 @@ "integrity": "sha512-0n+pzCC6ICtVr/WXnN2f03TK/3BfXY7me4cjCAqT8TYXEl0+JBRoqBo94JJHXcyDSLUeWbNX8Fvy5g5RJdAstQ==" }, "is-core-module": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", - "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.6.0.tgz", + "integrity": "sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==", "requires": { "has": "^1.0.3" } @@ -7292,9 +7304,12 @@ } }, "is-date-object": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.4.tgz", - "integrity": "sha512-/b4ZVsG7Z5XVtIxs/h9W8nvfLgSAyKYdtGWQLbqy6jA1icmgjf8WCoTKgeS4wy5tYaPePouzFMANbnj94c2Z+A==" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "requires": { + "has-tostringtag": "^1.0.0" + } }, "is-descriptor": { "version": "0.1.6", @@ -7337,9 +7352,12 @@ } }, "is-generator-function": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.9.tgz", - "integrity": "sha512-ZJ34p1uvIfptHCN7sFTjGibB9/oBg17sHqzDLfuwhvmN/qLVvIQXRQ8licZQ35WJ8KuEQt/etnnzQFI9C9Ue/A==" + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "requires": { + "has-tostringtag": "^1.0.0" + } }, "is-glob": { "version": "4.0.1", @@ -7387,9 +7405,12 @@ } }, "is-number-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.5.tgz", - "integrity": "sha512-RU0lI/n95pMoUKu9v1BZP5MBcZuNSVJkMkAG2dJqC4z2GlkGUNeH68SuHuBKBD/XFe+LHZ+f9BKkLET60Niedw==" + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "requires": { + "has-tostringtag": "^1.0.0" + } }, "is-obj": { "version": "2.0.0", @@ -7426,12 +7447,12 @@ } }, "is-regex": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.3.tgz", - "integrity": "sha512-qSVXFz28HM7y+IWX6vLCsexdlvzT1PJNFSBuaQLQ5o0IEw8UDYW6/2+eCMVyIsbM8CNLX2a/QWmSpyxYEHY7CQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "requires": { "call-bind": "^1.0.2", - "has-symbols": "^1.0.2" + "has-tostringtag": "^1.0.0" } }, "is-relative": { @@ -7456,9 +7477,12 @@ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" }, "is-string": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.6.tgz", - "integrity": "sha512-2gdzbKUuqtQ3lYNrUTQYoClPhm7oQu4UdpSZMp1/DGgkHBT8E2Z1l0yMdb6D4zNAxwDiMv8MdulKROJGNl0Q0w==" + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "requires": { + "has-tostringtag": "^1.0.0" + } }, "is-symbol": { "version": "1.0.4", @@ -7840,15 +7864,15 @@ "integrity": "sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw==" }, "koa-compress": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/koa-compress/-/koa-compress-5.0.1.tgz", - "integrity": "sha512-uTo7Hcyyt6e9o2X3htRS/SNEKy9vDOUc/r1qs/F0YI2Frv9IEbkjz/9dC6IdJWBQAG34lRuU7jBXeq3DRur9Ng==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/koa-compress/-/koa-compress-5.1.0.tgz", + "integrity": "sha512-G3Ppo9jrUwlchp6qdoRgQNMiGZtM0TAHkxRZQ7EoVvIG8E47J4nAsMJxXHAUQ+0oc7t0MDxSdONWTFcbzX7/Bg==", "requires": { "bytes": "^3.0.0", "compressible": "^2.0.0", - "http-errors": "^1.7.3", + "http-errors": "^1.8.0", "koa-is-json": "^1.0.0", - "statuses": "^2.0.0" + "statuses": "^2.0.1" }, "dependencies": { "statuses": { @@ -8317,9 +8341,9 @@ } }, "markdown-it": { - "version": "12.0.6", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.0.6.tgz", - "integrity": "sha512-qv3sVLl4lMT96LLtR7xeRJX11OUFjsaD5oVat2/SNBIb21bJXwal2+SklcRbTwGwqWpWH/HRtYavOoJE+seL8w==", + "version": "12.2.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.2.0.tgz", + "integrity": "sha512-Wjws+uCrVQRqOoJvze4HCqkKl1AsSh95iFAeQDwnyfxM09divCBSXlDR1uTvyUP3Grzpn4Ru8GeCxYPM8vkCQg==", "requires": { "argparse": "^2.0.1", "entities": "~2.1.0", @@ -8486,16 +8510,16 @@ "integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==" }, "mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==" + "version": "1.49.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", + "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==" }, "mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "version": "2.1.32", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", + "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", "requires": { - "mime-db": "1.48.0" + "mime-db": "1.49.0" } }, "mimic-fn": { @@ -8538,11 +8562,11 @@ } }, "schema-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", - "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", "requires": { - "@types/json-schema": "^7.0.6", + "@types/json-schema": "^7.0.8", "ajv": "^6.12.5", "ajv-keywords": "^3.5.2" } @@ -8652,9 +8676,9 @@ } }, "mongodb": { - "version": "3.6.8", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.8.tgz", - "integrity": "sha512-sDjJvI73WjON1vapcbyBD3Ao9/VN3TKYY8/QX9EPbs22KaCSrQ5rXo5ZZd44tWJ3wl3FlnrFZ+KyUtNH6+1ZPQ==", + "version": "3.6.11", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.11.tgz", + "integrity": "sha512-4Y4lTFHDHZZdgMaHmojtNAlqkvddX2QQBEN0K//GzxhGwlI9tZ9R0vhbjr1Decw+TF7qK0ZLjQT292XgHRRQgw==", "requires": { "bl": "^2.2.1", "bson": "^1.1.4", @@ -8676,18 +8700,20 @@ } }, "mongoose": { - "version": "5.13.0", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.13.0.tgz", - "integrity": "sha512-8dvu7vxmDzlupj4I9T0g33GPf4HzSZmIOKQfG9RJQ5Nxk/Ztx1b8zlYp+blvaCfWwtBpiAJuKYOBU17Wq1RVFQ==", + "version": "5.13.9", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.13.9.tgz", + "integrity": "sha512-JbLw5ie0LJxm7V9LoNxRY//6cyFJf0cOpON2TWUWvF9pabil6ArfECL3xHV2N+mwwO4gXiIa+c0pwTzDUVTgqw==", "requires": { + "@types/bson": "1.x || 4.0.x", "@types/mongodb": "^3.5.27", "bson": "^1.1.4", "kareem": "2.3.2", - "mongodb": "3.6.8", + "mongodb": "3.6.11", "mongoose-legacy-pluralize": "1.0.2", - "mpath": "0.8.3", + "mpath": "0.8.4", "mquery": "3.2.5", "ms": "2.1.2", + "optional-require": "1.0.x", "regexp-clone": "1.0.0", "safe-buffer": "5.2.1", "sift": "13.5.2", @@ -8725,9 +8751,9 @@ } }, "mpath": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.8.3.tgz", - "integrity": "sha512-eb9rRvhDltXVNL6Fxd2zM9D4vKBxjVVQNLNijlj7uoXUy19zNDsIif5zR+pWmPCWNKwAtqyo4JveQm4nfD5+eA==" + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.8.4.tgz", + "integrity": "sha512-DTxNZomBcTWlrMW76jy1wvV37X/cNNxPW1y2Jzd4DZkAaC5ZGsm8bfGfNOthcDuRJujXLqiuS6o3Tpy0JEoh7g==" }, "mquery": { "version": "3.2.5", @@ -8795,12 +8821,6 @@ "thenify-all": "^1.0.0" } }, - "nan": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", - "optional": true - }, "nano-time": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/nano-time/-/nano-time-1.0.0.tgz", @@ -8810,9 +8830,9 @@ } }, "nanoid": { - "version": "3.1.23", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", - "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==" + "version": "3.1.25", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz", + "integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==" }, "nanomatch": { "version": "1.2.13", @@ -8838,9 +8858,9 @@ "integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==" }, "needle": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/needle/-/needle-2.6.0.tgz", - "integrity": "sha512-KKYdza4heMsEfSWD7VPUIz3zX2XDwOyX2d+geb4vrERZMT5RMU6ujjaD+I5Yr54uZxQ2w6XRTAhHBbSCyovZBg==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz", + "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==", "requires": { "debug": "^3.2.6", "iconv-lite": "^0.4.4", @@ -8881,9 +8901,9 @@ } }, "node-abi": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.30.0.tgz", - "integrity": "sha512-g6bZh3YCKQRdwuO/tSZZYJAw622SjsRfJ2X0Iy4sSOHZ34/sPPdVBn8fev2tj7njzLwuqPw9uMtGsGkO5kIQvg==", + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.30.1.tgz", + "integrity": "sha512-/2D0wOQPgaUWzVSVgRMx+trKJRC2UG4SUc4oCJoXx9Uxjtp0Vy3/kt7zcbxHF8+Z/pK3UloLWzBISg72brfy1w==", "requires": { "semver": "^5.4.1" }, @@ -9008,26 +9028,31 @@ "osenv": "^0.1.4" } }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, "tar": { - "version": "4.4.13", - "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", - "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", + "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", "requires": { - "chownr": "^1.1.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.8.6", - "minizlib": "^1.2.1", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.2", - "yallist": "^3.0.3" + "chownr": "^1.1.4", + "fs-minipass": "^1.2.7", + "minipass": "^2.9.0", + "minizlib": "^1.3.3", + "mkdirp": "^0.5.5", + "safe-buffer": "^5.2.1", + "yallist": "^3.1.1" } } } }, "node-releases": { - "version": "1.1.73", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.73.tgz", - "integrity": "sha512-uW7fodD6pyW2FZNZnp/Z3hvWKeEW1Y8R1+1CnErE8cXFXzl5blBOoVB41CvMer6P6Q0S5FXDwcHgFd1Wj0U9zg==" + "version": "1.1.75", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.75.tgz", + "integrity": "sha512-Qe5OUajvqrqDSy6wrWFmMwfJ0jVgwiw4T3KqmbTcZ62qW0gQkheXYhcFM1+lOVcGUoRxcEcfyvFMAnDgaF1VWw==" }, "node-schedule": { "version": "1.3.2", @@ -9182,9 +9207,9 @@ } }, "object-inspect": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", - "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==" + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", + "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==" }, "object-is": { "version": "1.1.5", @@ -9201,9 +9226,9 @@ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" }, "object-path": { - "version": "0.11.5", - "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.5.tgz", - "integrity": "sha512-jgSbThcoR/s+XumvGMTMf81QVBmah+/Q7K7YduKeKVWL7N111unR2d6pZZarSk6kY/caeNxUDyxOvMWyzoU2eg==" + "version": "0.11.7", + "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.11.7.tgz", + "integrity": "sha512-T4evaK9VfGGQskXBDILcn6F90ZD+WO3OwRFFQ2rmZdUH4vQeDBpiolTpVlPY2yj5xSepyILTjDyM6UvbbdHMZw==" }, "object-visit": { "version": "1.0.1", @@ -9574,14 +9599,21 @@ "integrity": "sha1-8r0iH2zJcKk42IVWq8WJyqqiveE=" }, "parse-url": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-5.0.7.tgz", - "integrity": "sha512-CgbjyWT6aOh2oNSUS0cioYQsGysj9hQ2IdbOfeNwq5KOaKM7dOw/yTupiI0cnJhaDHJEIGybPkQz7LF9WNIhyw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-6.0.0.tgz", + "integrity": "sha512-cYyojeX7yIIwuJzledIHeLUBVJ6COVLeT4eF+2P6aKVzwvgKQPndCBv3+yQ7pcWjqToYwaligxzSYNNmGoMAvw==", "requires": { "is-ssh": "^1.3.0", - "normalize-url": "4.5.1", + "normalize-url": "^6.1.0", "parse-path": "^4.0.0", "protocols": "^1.4.0" + }, + "dependencies": { + "normalize-url": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==" + } } }, "parseurl": { @@ -9616,9 +9648,9 @@ } }, "tslib": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz", - "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" } } }, @@ -10000,9 +10032,9 @@ "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==" }, "prebuild-install": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-6.1.3.tgz", - "integrity": "sha512-iqqSR84tNYQUQHRXalSKdIaM8Ov1QxOVuBNWI7+BzZWv6Ih9k75wOnH1rGQ9WWTaaLkTpxWKIciOF0KyfM74+Q==", + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-6.1.4.tgz", + "integrity": "sha512-Z4vpywnK1lBg+zdPCVCsKq0xO66eEV9rWo2zrROGGiRS4JtueBOdlB1FnY8lcy7JsUud/Q3ijUxyWN26Ika0vQ==", "requires": { "detect-libc": "^1.0.3", "expand-template": "^2.0.3", @@ -10285,6 +10317,11 @@ "statuses": ">= 1.5.0 < 2", "toidentifier": "1.0.0" } + }, + "setprototypeof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" } } }, @@ -10331,9 +10368,9 @@ } }, "react-copy-to-clipboard": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/react-copy-to-clipboard/-/react-copy-to-clipboard-5.0.3.tgz", - "integrity": "sha512-9S3j+m+UxDZOM0Qb8mhnT/rMR0NGSrj9A/073yz2DSxPMYhmYFBMYIdI2X4o8AjOjyFsSNxDRnCX6s/gRxpriw==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/react-copy-to-clipboard/-/react-copy-to-clipboard-5.0.4.tgz", + "integrity": "sha512-IeVAiNVKjSPeGax/Gmkqfa/+PuMTBhutEvFUaMQLwE2tS0EXrAdgOpWDX26bWTXF3HrioorR7lr08NqeYUWQCQ==", "requires": { "copy-to-clipboard": "^3", "prop-types": "^15.5.8" @@ -10552,11 +10589,11 @@ } }, "react-router": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.2.0.tgz", - "integrity": "sha512-smz1DUuFHRKdcJC0jobGo8cVbhO3x50tCL4icacOlcwDOEQPq4TMqwx3sY1TP+DvtTgz4nm3thuo7A+BK2U0Dw==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.2.1.tgz", + "integrity": "sha512-lIboRiOtDLFdg1VTemMwud9vRVuOCZmUIT/7lUoZiSpPODiiH1UQlfXy+vPLC/7IWdFYnhRwAyNqA/+I7wnvKQ==", "requires": { - "@babel/runtime": "^7.1.2", + "@babel/runtime": "^7.12.13", "history": "^4.9.0", "hoist-non-react-statics": "^3.1.0", "loose-envify": "^1.3.1", @@ -10569,15 +10606,15 @@ } }, "react-router-dom": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-5.2.0.tgz", - "integrity": "sha512-gxAmfylo2QUjcwxI63RhQ5G85Qqt4voZpUXSEqCwykV0baaOTQDR1f0PmY8AELqIyVc0NEZUj0Gov5lNGcXgsA==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-5.3.0.tgz", + "integrity": "sha512-ObVBLjUZsphUUMVycibxgMdh5jJ1e3o+KpAZBVeHcNQZ4W+uUGGWsokurzlF4YOldQYRQL4y6yFRWM4m3svmuQ==", "requires": { - "@babel/runtime": "^7.1.2", + "@babel/runtime": "^7.12.13", "history": "^4.9.0", "loose-envify": "^1.3.1", "prop-types": "^15.6.2", - "react-router": "5.2.0", + "react-router": "5.2.1", "tiny-invariant": "^1.0.2", "tiny-warning": "^1.0.0" } @@ -10796,9 +10833,9 @@ } }, "redux": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.0.tgz", - "integrity": "sha512-uI2dQN43zqLWCt6B/BMGRMY6db7TTY4qeHHfGeKb3EOhmOKjU3KdWvNLJyqaHRksv/ErdNH7cFZWg9jXtewy4g==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.1.tgz", + "integrity": "sha512-hZQZdDEM25UY2P493kPYuKqviVwZ58lEmGQNeQ+gXa+U0gYPUBf7NKYazbe3m+bs/DzM/ahN12DbF+NG8i0CWw==", "requires": { "@babel/runtime": "^7.9.2" } @@ -10832,9 +10869,9 @@ } }, "regenerator-runtime": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" }, "regenerator-transform": { "version": "0.14.5", @@ -11231,9 +11268,9 @@ }, "dependencies": { "colorette": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", - "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz", + "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==" }, "deepmerge": { "version": "4.2.2", @@ -11251,9 +11288,9 @@ "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" }, "postcss": { - "version": "8.3.5", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.5.tgz", - "integrity": "sha512-NxTuJocUhYGsMiMFHDUkmjSKT3EdH4/WbGF6GCi1NDGk+vbcUTun4fpbOqaPtD8IIsztA2ilZm2DhYCuyN58gA==", + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.6.tgz", + "integrity": "sha512-wG1cc/JhRgdqB6WHEuyLTedf3KIRuD0hG6ldkFEZNCjRxiC+3i6kkWUUbiJQayP28iwG35cEmAbe98585BYV0A==", "requires": { "colorette": "^1.2.2", "nanoid": "^3.1.23", @@ -11379,6 +11416,11 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + }, + "setprototypeof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" } } }, @@ -11536,9 +11578,9 @@ "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" }, "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" }, "sha.js": { "version": "2.4.11", @@ -11791,16 +11833,16 @@ } }, "sockjs-client": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.5.1.tgz", - "integrity": "sha512-VnVAb663fosipI/m6pqRXakEOw7nvd7TUgdr3PlR/8V2I95QIdwT8L4nMxhyU8SmDBHYXU1TOElaKOmKLfYzeQ==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.5.2.tgz", + "integrity": "sha512-ZzRxPBISQE7RpzlH4tKJMQbHM9pabHluk0WBaxAQ+wm/UieeBVBou0p4wVnSQGN9QmpAZygQ0cDIypWuqOFmFQ==", "requires": { "debug": "^3.2.6", "eventsource": "^1.0.7", "faye-websocket": "^0.11.3", "inherits": "^2.0.4", "json3": "^3.3.3", - "url-parse": "^1.5.1" + "url-parse": "^1.5.3" }, "dependencies": { "debug": { @@ -12806,9 +12848,9 @@ } }, "styled-components": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.3.0.tgz", - "integrity": "sha512-bPJKwZCHjJPf/hwTJl6TbkSZg/3evha+XPEizrZUGb535jLImwDUdjTNxXqjjaASt2M4qO4AVfoHJNe3XB/tpQ==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.3.1.tgz", + "integrity": "sha512-JThv2JRzyH0NOIURrk9iskdxMSAAtCfj/b2Sf1WJaCUsloQkblepy1jaCLX/bYE+mhYo3unmwVSI9I5d9ncSiQ==", "requires": { "@babel/helper-module-imports": "^7.0.0", "@babel/traverse": "^7.4.5", @@ -13466,9 +13508,9 @@ } }, "urijs": { - "version": "1.19.6", - "resolved": "https://registry.npmjs.org/urijs/-/urijs-1.19.6.tgz", - "integrity": "sha512-eSXsXZ2jLvGWeLYlQA3Gh36BcjF+0amo92+wHPyN1mdR8Nxf75fuEuYTd9c0a+m/vhCjRK0ESlE9YNLW+E1VEw==" + "version": "1.19.7", + "resolved": "https://registry.npmjs.org/urijs/-/urijs-1.19.7.tgz", + "integrity": "sha512-Id+IKjdU0Hx+7Zx717jwLPsPeUqz7rAtuVBRLLs+qn+J2nf9NGITWVCxcijgYxBqe83C7sqsQPs6H1pyz3x9gA==" }, "urix": { "version": "0.1.0", @@ -13514,9 +13556,9 @@ } }, "url-parse": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.1.tgz", - "integrity": "sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.3.tgz", + "integrity": "sha512-IIORyIQD9rvj0A4CLWsHkBBJuNqWpFQe224b6j9t/ABmquIS0qDU2pY6kl6AuOrL5OkCXHMCFNe1jBcuAggjvQ==", "requires": { "querystringify": "^2.1.1", "requires-port": "^1.0.0" @@ -13615,6 +13657,13 @@ "assert-plus": "^1.0.0", "core-util-is": "1.0.2", "extsprintf": "^1.2.0" + }, + "dependencies": { + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + } } }, "video-react": { @@ -13713,11 +13762,7 @@ "version": "1.2.13", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", - "optional": true, - "requires": { - "bindings": "^1.5.0", - "nan": "^2.12.1" - } + "optional": true }, "glob-parent": { "version": "3.1.0", @@ -14051,11 +14096,7 @@ "version": "1.2.13", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", - "optional": true, - "requires": { - "bindings": "^1.5.0", - "nan": "^2.12.1" - } + "optional": true }, "glob-parent": { "version": "3.1.0", diff --git a/frontend/config/env.ts b/frontend/config/env.ts index 2a738be0..d05abf3d 100644 --- a/frontend/config/env.ts +++ b/frontend/config/env.ts @@ -1,5 +1,5 @@ export const STRAPI_URL = checkEnv( - "http://strapi.inkofpixel.com", + "https://strapi.inkofpixel.com", "NEXT_PUBLIC_STRAPI_URL" );