From 11cbf70e9f087bf096b31609eb9327b702a7d55b Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Wed, 26 Jun 2024 15:29:59 +0200 Subject: [PATCH 01/15] remove redundant code --- .../src/pages/api/changelog/v1/date/[date].ts | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/apps/devportal/src/pages/api/changelog/v1/date/[date].ts b/apps/devportal/src/pages/api/changelog/v1/date/[date].ts index 9e0239033..a94bc328c 100644 --- a/apps/devportal/src/pages/api/changelog/v1/date/[date].ts +++ b/apps/devportal/src/pages/api/changelog/v1/date/[date].ts @@ -5,26 +5,6 @@ import { ChangelogEntry, ChangelogEntryList } from '@scdp/changelog/types'; import { getQueryArray, getQueryValue } from '@scdp/changelog/utils'; import type { NextApiRequest, NextApiResponse } from 'next'; -// const handler = async (req: NextApiRequest, res: NextApiResponse>) => { -// const date: string[] = getQueryArray(req.query.date); -// const isPreview = req.preview ? true : false; - -// const firstDate = date[0]; -// if (!firstDate || isNaN(Date.parse(firstDate))) { -// res.status(500); -// return; -// } else { -// const changelog = new Changelog(getChangelogCredentials(), isPreview); -// const items = await changelog.getEntriesByDate(new Date(firstDate)); - -// res.status(200).json(items); -// res.end(); -// } -// res.end(); -// }; - -// export default handler; - const handler = async (req: NextApiRequest, res: NextApiResponse>) => { const products: string[] = getQueryArray(req.query.product); const changeTypes: string[] = getQueryArray(req.query.changeType); From 57ea1ee3c618e8818ec75c197013d1c0c3e5645e Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Mon, 8 Jul 2024 16:51:31 +0200 Subject: [PATCH 02/15] use graphql codegen --- .../hooks/useGetEntriesByProducts.ts | 5 +- .../src/pages/api/changelog/v1/all/index.ts | 3 +- .../src/pages/api/changelog/v1/date/[date].ts | 2 +- .../src/pages/api/changelog/v1/index.ts | 4 +- .../src/pages/changelog/atom.xml.tsx | 2 +- .../devportal/src/pages/changelog/rss.xml.tsx | 2 +- package-lock.json | 4371 +++++++++++++++-- packages/changelog/package.json | 11 +- packages/changelog/src/changelog.ts | 107 +- packages/changelog/src/gql/codegen.ts | 46 + packages/changelog/src/gql/custom/queries.ts | 104 + packages/changelog/src/gql/generated/gql.ts | 125 + .../changelog/src/gql/generated/graphql.ts | 2190 +++++++++ packages/changelog/src/gql/generated/index.ts | 1 + .../gql/query/fragments/changeType.graphql | 5 + .../query/fragments/changelogEntry.graphql | 36 + .../fragments/changelogEntrySummary.graphql | 34 + .../src/gql/query/fragments/media.graphql | 12 + .../src/gql/query/fragments/product.graphql | 8 + .../src/gql/query/fragments/status.graphql | 6 + .../src/gql/query/getAllChangetypes.graphql | 8 + .../src/gql/query/getAllProducts.graphql | 8 + .../src/gql/query/getAllStatus.graphql | 8 + .../src/gql/query/getLatestEntries.graphql | 12 + .../query/getNumberOfEntriesByProduct.graphql | 5 + .../gql/query/getStatusByIdentifier.graphql | 8 + .../src/gql/query/searchByDate.graphql | 12 + .../src/gql/query/searchByProduct.graphql | 12 + .../searchByProductsAndChangeTypes.graphql | 12 + .../src/gql/query/searchByTitle.graphql | 12 + .../src/gql/schema/instrospectionSchema.json | 1 + .../changelog/src/gql/schema/schema.graphql | 1374 ++++++ .../src/graphQl/change-type-query.ts | 15 - .../changelog/src/graphQl/changelog-query.ts | 97 - .../src/graphQl/common/media-query.ts | 14 - .../sitecore-product-internal-query.ts | 28 - .../src/graphQl/sitecore-product-query.ts | 19 - .../changelog/src/graphQl/status.graphql.ts | 15 - packages/changelog/src/lib/changeType.ts | 8 - .../src/lib/common/{api.ts => fetch.ts} | 74 +- packages/changelog/src/lib/products.ts | 23 - packages/changelog/src/lib/search.ts | 209 - packages/changelog/src/lib/status.ts | 8 - .../changelog/src/types/changeLogEntry.ts | 44 +- packages/changelog/src/types/changeType.ts | 26 +- packages/changelog/src/types/changelog.ts | 38 +- packages/changelog/src/types/product.ts | 22 +- packages/changelog/src/types/status.ts | 19 +- packages/changelog/src/utils/dateUtils.ts | 13 +- packages/changelog/src/utils/stringUtils.ts | 10 +- turbo.json | 3 + 51 files changed, 8250 insertions(+), 981 deletions(-) create mode 100644 packages/changelog/src/gql/codegen.ts create mode 100644 packages/changelog/src/gql/custom/queries.ts create mode 100644 packages/changelog/src/gql/generated/gql.ts create mode 100644 packages/changelog/src/gql/generated/graphql.ts create mode 100644 packages/changelog/src/gql/generated/index.ts create mode 100644 packages/changelog/src/gql/query/fragments/changeType.graphql create mode 100644 packages/changelog/src/gql/query/fragments/changelogEntry.graphql create mode 100644 packages/changelog/src/gql/query/fragments/changelogEntrySummary.graphql create mode 100644 packages/changelog/src/gql/query/fragments/media.graphql create mode 100644 packages/changelog/src/gql/query/fragments/product.graphql create mode 100644 packages/changelog/src/gql/query/fragments/status.graphql create mode 100644 packages/changelog/src/gql/query/getAllChangetypes.graphql create mode 100644 packages/changelog/src/gql/query/getAllProducts.graphql create mode 100644 packages/changelog/src/gql/query/getAllStatus.graphql create mode 100644 packages/changelog/src/gql/query/getLatestEntries.graphql create mode 100644 packages/changelog/src/gql/query/getNumberOfEntriesByProduct.graphql create mode 100644 packages/changelog/src/gql/query/getStatusByIdentifier.graphql create mode 100644 packages/changelog/src/gql/query/searchByDate.graphql create mode 100644 packages/changelog/src/gql/query/searchByProduct.graphql create mode 100644 packages/changelog/src/gql/query/searchByProductsAndChangeTypes.graphql create mode 100644 packages/changelog/src/gql/query/searchByTitle.graphql create mode 100644 packages/changelog/src/gql/schema/instrospectionSchema.json create mode 100644 packages/changelog/src/gql/schema/schema.graphql delete mode 100644 packages/changelog/src/graphQl/change-type-query.ts delete mode 100644 packages/changelog/src/graphQl/changelog-query.ts delete mode 100644 packages/changelog/src/graphQl/common/media-query.ts delete mode 100644 packages/changelog/src/graphQl/sitecore-product-internal-query.ts delete mode 100644 packages/changelog/src/graphQl/sitecore-product-query.ts delete mode 100644 packages/changelog/src/graphQl/status.graphql.ts delete mode 100644 packages/changelog/src/lib/changeType.ts rename packages/changelog/src/lib/common/{api.ts => fetch.ts} (68%) delete mode 100644 packages/changelog/src/lib/products.ts delete mode 100644 packages/changelog/src/lib/search.ts delete mode 100644 packages/changelog/src/lib/status.ts diff --git a/apps/devportal/src/lib/changelog/hooks/useGetEntriesByProducts.ts b/apps/devportal/src/lib/changelog/hooks/useGetEntriesByProducts.ts index e91629577..bbfd29a81 100644 --- a/apps/devportal/src/lib/changelog/hooks/useGetEntriesByProducts.ts +++ b/apps/devportal/src/lib/changelog/hooks/useGetEntriesByProducts.ts @@ -1,8 +1,7 @@ +import { ChangelogEntrySummary, Product } from '@scdp/changelog/types'; +import { Option } from '@scdp/ui/components'; import axios from 'axios'; -import { Product } from '@scdp/changelog/types'; -import { ChangelogEntrySummary } from '@scdp/changelog/types'; import useSWR, { Fetcher } from 'swr'; -import { Option } from '@scdp/ui/components'; import { buildProductQuerystring } from '../changelog'; const fetcher: Fetcher | null, string> = async (url: string) => await axios.get(url).then((response) => response.data); diff --git a/apps/devportal/src/pages/api/changelog/v1/all/index.ts b/apps/devportal/src/pages/api/changelog/v1/all/index.ts index a1d48b833..9019cab8a 100644 --- a/apps/devportal/src/pages/api/changelog/v1/all/index.ts +++ b/apps/devportal/src/pages/api/changelog/v1/all/index.ts @@ -18,7 +18,8 @@ export default handler; const getOverviewPerMonth: any = async (isPreview: boolean, products?: Product[], changes?: ChangeType[]) => { const changelog = new Changelog(getChangelogCredentials(), isPreview); - const items = await changelog.getSummarizedEntries(products?.join('|'), changes?.join('|')); + const items = await changelog.getEntries({ productId: products?.join('|'), changeTypeId: changes?.join('|'), pageSize: 50 }); + const entries: ChangelogEntrySummary[] = items.entries; // Group the entries by month diff --git a/apps/devportal/src/pages/api/changelog/v1/date/[date].ts b/apps/devportal/src/pages/api/changelog/v1/date/[date].ts index a94bc328c..f4792bf84 100644 --- a/apps/devportal/src/pages/api/changelog/v1/date/[date].ts +++ b/apps/devportal/src/pages/api/changelog/v1/date/[date].ts @@ -28,7 +28,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse { + await changelog.getEntriesByDate(dateObject, Number(limit), end).then((response) => { res.status(200).json(response); }); }; diff --git a/apps/devportal/src/pages/api/changelog/v1/index.ts b/apps/devportal/src/pages/api/changelog/v1/index.ts index de1687ed6..448637c30 100644 --- a/apps/devportal/src/pages/api/changelog/v1/index.ts +++ b/apps/devportal/src/pages/api/changelog/v1/index.ts @@ -9,12 +9,12 @@ const handler = async (req: NextApiRequest, res: NextApiResponse { + await changelog.getEntries({ productId: products.join('|'), changeTypeId: changeTypes.join('|'), pageSize: Number(limit), endCursor: end }).then((response) => { res.status(200).json(response); }); }; diff --git a/apps/devportal/src/pages/changelog/atom.xml.tsx b/apps/devportal/src/pages/changelog/atom.xml.tsx index efff35dfa..54f42ec22 100644 --- a/apps/devportal/src/pages/changelog/atom.xml.tsx +++ b/apps/devportal/src/pages/changelog/atom.xml.tsx @@ -9,7 +9,7 @@ export async function getServerSideProps(context: any) { const preview = context.preview ? context.preview : null; const changelog = new Changelog(getChangelogCredentials(), preview); // Fetch data - const changelogEntryList = await changelog.getAllEntries(); + const changelogEntryList = await changelog.getEntries({ pageSize: 10 }); // Fetch data const feed = await CreateFeed(changelogEntryList); //Set page headers diff --git a/apps/devportal/src/pages/changelog/rss.xml.tsx b/apps/devportal/src/pages/changelog/rss.xml.tsx index 754b17b9e..6ea72d899 100644 --- a/apps/devportal/src/pages/changelog/rss.xml.tsx +++ b/apps/devportal/src/pages/changelog/rss.xml.tsx @@ -9,7 +9,7 @@ export async function getServerSideProps(context: any) { const preview = context.preview ? context.preview : null; const changelog = new Changelog(getChangelogCredentials(), preview); // Fetch data - const changelogEntryList = await changelog.getAllEntries(); + const changelogEntryList = await changelog.getEntries({ pageSize: 10 }); const feed = CreateFeed(changelogEntryList); //Set page headers context.res.setHeader('Content-Type', 'text/xml'); diff --git a/package-lock.json b/package-lock.json index 69c596028..024d2d1e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -106,11 +106,272 @@ "node": ">=6.0.0" } }, + "node_modules/@ardatan/relay-compiler": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@ardatan/relay-compiler/-/relay-compiler-12.0.0.tgz", + "integrity": "sha512-9anThAaj1dQr6IGmzBMcfzOQKTa5artjuPmw8NYK/fiGEMjADbSguBY2FMDykt+QhilR3wc9VA/3yVju7JHg7Q==", + "dev": true, + "dependencies": { + "@babel/core": "^7.14.0", + "@babel/generator": "^7.14.0", + "@babel/parser": "^7.14.0", + "@babel/runtime": "^7.0.0", + "@babel/traverse": "^7.14.0", + "@babel/types": "^7.0.0", + "babel-preset-fbjs": "^3.4.0", + "chalk": "^4.0.0", + "fb-watchman": "^2.0.0", + "fbjs": "^3.0.0", + "glob": "^7.1.1", + "immutable": "~3.7.6", + "invariant": "^2.2.4", + "nullthrows": "^1.1.1", + "relay-runtime": "12.0.0", + "signedsource": "^1.0.0", + "yargs": "^15.3.1" + }, + "bin": { + "relay-compiler": "bin/relay-compiler" + }, + "peerDependencies": { + "graphql": "*" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/@ardatan/relay-compiler/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true + }, + "node_modules/@ardatan/relay-compiler/node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dev": true, + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@ardatan/relay-compiler/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dev": true, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@ardatan/sync-fetch": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@ardatan/sync-fetch/-/sync-fetch-0.0.1.tgz", + "integrity": "sha512-xhlTqH0m31mnsG0tIP4ETgfSB6gXDaYYsUWTrlUV93fFQPI9dd8hE0Ot6MHLCtqgB32hwJAC3YZMWlXZw7AleA==", + "dev": true, + "dependencies": { + "node-fetch": "^2.6.1" + }, + "engines": { + "node": ">=14" + } + }, "node_modules/@babel/code-frame": { - "version": "7.24.2", - "license": "MIT", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", "dependencies": { - "@babel/highlight": "^7.24.2", + "@babel/highlight": "^7.24.7", "picocolors": "^1.0.0" }, "engines": { @@ -118,8 +379,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.24.1", - "license": "MIT", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.7.tgz", + "integrity": "sha512-qJzAIcv03PyaWqxRgO4mSU3lihncDT296vnyuE2O8uA4w3UHWI4S3hgeZd1L8W1Bft40w9JxJ2b412iDUFFRhw==", "engines": { "node": ">=6.9.0" } @@ -161,11 +423,11 @@ } }, "node_modules/@babel/generator": { - "version": "7.24.4", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.4.tgz", - "integrity": "sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.7.tgz", + "integrity": "sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==", "dependencies": { - "@babel/types": "^7.24.0", + "@babel/types": "^7.24.7", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" @@ -174,12 +436,25 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/helper-annotate-as-pure": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.24.7.tgz", + "integrity": "sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.23.6", - "license": "MIT", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.7.tgz", + "integrity": "sha512-ctSdRHBi20qWOfy27RUb4Fhp07KSJ3sXcuSvTrXrc4aG8NSYDo1ici3Vhg9bg69y5bj0Mr1lh0aeEgTvc12rMg==", "dependencies": { - "@babel/compat-data": "^7.23.5", - "@babel/helper-validator-option": "^7.23.5", + "@babel/compat-data": "^7.24.7", + "@babel/helper-validator-option": "^7.24.7", "browserslist": "^4.22.2", "lru-cache": "^5.1.1", "semver": "^6.3.1" @@ -195,55 +470,107 @@ "semver": "bin/semver.js" } }, + "node_modules/@babel/helper-create-class-features-plugin": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.7.tgz", + "integrity": "sha512-kTkaDl7c9vO80zeX1rJxnuRpEsD5tA81yh11X1gQo+PhSti3JS+7qeZo9U4RHobKRiFPKaGK3svUAeb8D0Q7eg==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.24.7", + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-function-name": "^7.24.7", + "@babel/helper-member-expression-to-functions": "^7.24.7", + "@babel/helper-optimise-call-expression": "^7.24.7", + "@babel/helper-replace-supers": "^7.24.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.20", - "license": "MIT", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz", + "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==", + "dependencies": { + "@babel/types": "^7.24.7" + }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz", + "integrity": "sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==", "dependencies": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" + "@babel/template": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz", + "integrity": "sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==", + "dependencies": { + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.7.tgz", + "integrity": "sha512-LGeMaf5JN4hAT471eJdBs/GK1DoYIJ5GCtZN/EsL6KUiiDZOvO/eKE11AMZJa2zP4zk4qe9V2O/hxAmkRc8p6w==", + "dev": true, "dependencies": { - "@babel/types": "^7.22.5" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.24.3", - "license": "MIT", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", + "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", "dependencies": { - "@babel/types": "^7.24.0" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.23.3", - "license": "MIT", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.7.tgz", + "integrity": "sha512-1fuJEwIrp+97rM4RWdO+qrRsZlAeL1lQJoPqtCYWv0NL115XM93hIH4CSRln2w52SqvmY5hqdtauB6QFCDiZNQ==", "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-module-imports": "^7.24.7", + "@babel/helper-simple-access": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -252,50 +579,99 @@ "@babel/core": "^7.0.0" } }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.24.7.tgz", + "integrity": "sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A==", + "dev": true, + "dependencies": { + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.24.0", - "license": "MIT", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.7.tgz", + "integrity": "sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg==", "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-simple-access": { - "version": "7.22.5", - "license": "MIT", + "node_modules/@babel/helper-replace-supers": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.24.7.tgz", + "integrity": "sha512-qTAxxBM81VEyoAY0TtLrx1oAEJc09ZK67Q9ljQToqCnA+55eNwCORaxlKyu+rNfX86o8OXRUSNUnrtsAZXM9sg==", + "dev": true, "dependencies": { - "@babel/types": "^7.22.5" + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-member-expression-to-functions": "^7.24.7", + "@babel/helper-optimise-call-expression": "^7.24.7" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "license": "MIT", + "node_modules/@babel/helper-simple-access": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", + "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", "dependencies": { - "@babel/types": "^7.22.5" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-string-parser": { - "version": "7.24.1", - "license": "MIT", + "node_modules/@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.24.7.tgz", + "integrity": "sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ==", + "dev": true, + "dependencies": { + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" + }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "license": "MIT", - "engines": { + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz", + "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==", + "dependencies": { + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz", + "integrity": "sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", + "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.23.5", - "license": "MIT", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.7.tgz", + "integrity": "sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw==", "engines": { "node": ">=6.9.0" } @@ -314,10 +690,11 @@ } }, "node_modules/@babel/highlight": { - "version": "7.24.2", - "license": "MIT", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-validator-identifier": "^7.24.7", "chalk": "^2.4.2", "js-tokens": "^4.0.0", "picocolors": "^1.0.0" @@ -327,9 +704,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz", - "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.7.tgz", + "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==", "bin": { "parser": "bin/babel-parser.js" }, @@ -337,6 +714,43 @@ "node": ">=6.0.0" } }, + "node_modules/@babel/plugin-proposal-class-properties": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz", + "integrity": "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==", + "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-proposal-object-rest-spread": { + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz", + "integrity": "sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==", + "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.20.5", + "@babel/helper-compilation-targets": "^7.20.7", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.20.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-syntax-async-generators": { "version": "7.8.4", "license": "MIT", @@ -367,6 +781,36 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-syntax-flow": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.24.7.tgz", + "integrity": "sha512-9G8GYT/dxn/D1IIKOUBmGX0mnmj46mGH9NnZyJLwtCpgh5f7D2VbuKodb+2s9m1Yavh1s7ASQN8lf0eqrb1LTw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-assertions": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.7.tgz", + "integrity": "sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-syntax-import-meta": { "version": "7.10.4", "license": "MIT", @@ -388,10 +832,11 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.24.1", - "license": "MIT", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.7.tgz", + "integrity": "sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -486,218 +931,540 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/runtime": { - "version": "7.24.1", - "license": "MIT", + "node_modules/@babel/plugin-transform-arrow-functions": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.24.7.tgz", + "integrity": "sha512-Dt9LQs6iEY++gXUwY03DNFat5C2NbO48jj+j/bSAz6b3HgPs39qcPiYt77fDObIcFwj3/C2ICX9YMwGflUoSHQ==", + "dev": true, "dependencies": { - "regenerator-runtime": "^0.14.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/runtime-corejs3": { - "version": "7.24.1", + "node_modules/@babel/plugin-transform-block-scoped-functions": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.24.7.tgz", + "integrity": "sha512-yO7RAz6EsVQDaBH18IDJcMB1HnrUn2FJ/Jslc/WtPPWcjhpUJXU/rjbwmluzp7v/ZzWcEhTMXELnnsz8djWDwQ==", "dev": true, - "license": "MIT", "dependencies": { - "core-js-pure": "^3.30.2", - "regenerator-runtime": "^0.14.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/template": { - "version": "7.24.0", - "license": "MIT", + "node_modules/@babel/plugin-transform-block-scoping": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.7.tgz", + "integrity": "sha512-Nd5CvgMbWc+oWzBsuaMcbwjJWAcp5qzrbg69SZdHSP7AMY0AbWFqFO0WTFCA1jxhMCwodRwvRec8k0QUbZk7RQ==", + "dev": true, "dependencies": { - "@babel/code-frame": "^7.23.5", - "@babel/parser": "^7.24.0", - "@babel/types": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/traverse": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.1.tgz", - "integrity": "sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ==", - "dependencies": { - "@babel/code-frame": "^7.24.1", - "@babel/generator": "^7.24.1", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.24.1", - "@babel/types": "^7.24.0", - "debug": "^4.3.1", + "node_modules/@babel/plugin-transform-classes": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.24.7.tgz", + "integrity": "sha512-CFbbBigp8ln4FU6Bpy6g7sE8B/WmCmzvivzUC6xDAdWVsjYTXijpuuGJmYkAaoWAzcItGKT3IOAbxRItZ5HTjw==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.24.7", + "@babel/helper-compilation-targets": "^7.24.7", + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-function-name": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-replace-supers": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", "globals": "^11.1.0" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/types": { - "version": "7.24.0", - "license": "MIT", + "node_modules/@babel/plugin-transform-computed-properties": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.24.7.tgz", + "integrity": "sha512-25cS7v+707Gu6Ds2oY6tCkUwsJ9YIDbggd9+cu9jzzDgiNq7hR/8dkzxWfKWnTic26vsI3EsCXNd4iEB6e8esQ==", + "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.23.4", - "@babel/helper-validator-identifier": "^7.22.20", - "to-fast-properties": "^2.0.0" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/template": "^7.24.7" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "license": "MIT" - }, - "node_modules/@chakra-ui/accordion": { - "version": "2.3.1", - "license": "MIT", + "node_modules/@babel/plugin-transform-destructuring": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.7.tgz", + "integrity": "sha512-19eJO/8kdCQ9zISOf+SEUJM/bAUIsvY3YDnXZTupUCQ8LgrWnsG/gFB9dvXqdXnRXMAM8fvt7b0CBKQHNGy1mw==", + "dev": true, "dependencies": { - "@chakra-ui/descendant": "3.1.0", - "@chakra-ui/icon": "3.2.0", - "@chakra-ui/react-context": "2.1.0", - "@chakra-ui/react-use-controllable-state": "2.1.0", - "@chakra-ui/react-use-merge-refs": "2.1.0", - "@chakra-ui/shared-utils": "2.0.5", - "@chakra-ui/transition": "2.1.0" + "@babel/helper-plugin-utils": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" }, "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "framer-motion": ">=4.0.0", - "react": ">=18" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chakra-ui/alert": { - "version": "2.2.2", - "license": "MIT", + "node_modules/@babel/plugin-transform-flow-strip-types": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.24.7.tgz", + "integrity": "sha512-cjRKJ7FobOH2eakx7Ja+KpJRj8+y+/SiB3ooYm/n2UJfxu0oEaOoxOinitkJcPqv9KxS0kxTGPUaR7L2XcXDXA==", + "dev": true, "dependencies": { - "@chakra-ui/icon": "3.2.0", - "@chakra-ui/react-context": "2.1.0", - "@chakra-ui/shared-utils": "2.0.5", - "@chakra-ui/spinner": "2.1.0" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/plugin-syntax-flow": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" }, "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chakra-ui/anatomy": { - "version": "2.2.2", - "license": "MIT" - }, - "node_modules/@chakra-ui/avatar": { - "version": "2.3.0", - "license": "MIT", + "node_modules/@babel/plugin-transform-for-of": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.24.7.tgz", + "integrity": "sha512-wo9ogrDG1ITTTBsy46oGiN1dS9A7MROBTcYsfS8DtsImMkHk9JXJ3EWQM6X2SUw4x80uGPlwj0o00Uoc6nEE3g==", + "dev": true, "dependencies": { - "@chakra-ui/image": "2.1.0", - "@chakra-ui/react-children-utils": "2.0.6", - "@chakra-ui/react-context": "2.1.0", - "@chakra-ui/shared-utils": "2.0.5" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" }, "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chakra-ui/breadcrumb": { - "version": "2.2.0", - "license": "MIT", + "node_modules/@babel/plugin-transform-function-name": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.24.7.tgz", + "integrity": "sha512-U9FcnA821YoILngSmYkW6FjyQe2TyZD5pHt4EVIhmcTkrJw/3KqcrRSxuOo5tFZJi7TE19iDyI1u+weTI7bn2w==", + "dev": true, "dependencies": { - "@chakra-ui/react-children-utils": "2.0.6", - "@chakra-ui/react-context": "2.1.0", - "@chakra-ui/shared-utils": "2.0.5" + "@babel/helper-compilation-targets": "^7.24.7", + "@babel/helper-function-name": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" }, "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chakra-ui/breakpoint-utils": { - "version": "2.0.8", - "license": "MIT", + "node_modules/@babel/plugin-transform-literals": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.24.7.tgz", + "integrity": "sha512-vcwCbb4HDH+hWi8Pqenwnjy+UiklO4Kt1vfspcQYFhJdpthSnW8XvWGyDZWKNVrVbVViI/S7K9PDJZiUmP2fYQ==", + "dev": true, "dependencies": { - "@chakra-ui/shared-utils": "2.0.5" + "@babel/helper-plugin-utils": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chakra-ui/button": { - "version": "2.1.0", - "license": "MIT", + "node_modules/@babel/plugin-transform-member-expression-literals": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.24.7.tgz", + "integrity": "sha512-T/hRC1uqrzXMKLQ6UCwMT85S3EvqaBXDGf0FaMf4446Qx9vKwlghvee0+uuZcDUCZU5RuNi4781UQ7R308zzBw==", + "dev": true, "dependencies": { - "@chakra-ui/react-context": "2.1.0", - "@chakra-ui/react-use-merge-refs": "2.1.0", - "@chakra-ui/shared-utils": "2.0.5", - "@chakra-ui/spinner": "2.1.0" + "@babel/helper-plugin-utils": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" }, "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chakra-ui/card": { - "version": "2.2.0", - "license": "MIT", + "node_modules/@babel/plugin-transform-modules-commonjs": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.7.tgz", + "integrity": "sha512-iFI8GDxtevHJ/Z22J5xQpVqFLlMNstcLXh994xifFwxxGslr2ZXXLWgtBeLctOD63UFDArdvN6Tg8RFw+aEmjQ==", + "dev": true, "dependencies": { - "@chakra-ui/shared-utils": "2.0.5" + "@babel/helper-module-transforms": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-simple-access": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" }, "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chakra-ui/checkbox": { - "version": "2.3.2", - "license": "MIT", + "node_modules/@babel/plugin-transform-object-super": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.24.7.tgz", + "integrity": "sha512-A/vVLwN6lBrMFmMDmPPz0jnE6ZGx7Jq7d6sT/Ev4H65RER6pZ+kczlf1DthF5N0qaPHBsI7UXiE8Zy66nmAovg==", + "dev": true, "dependencies": { - "@chakra-ui/form-control": "2.2.0", - "@chakra-ui/react-context": "2.1.0", - "@chakra-ui/react-types": "2.0.7", - "@chakra-ui/react-use-callback-ref": "2.1.0", - "@chakra-ui/react-use-controllable-state": "2.1.0", - "@chakra-ui/react-use-merge-refs": "2.1.0", - "@chakra-ui/react-use-safe-layout-effect": "2.1.0", - "@chakra-ui/react-use-update-effect": "2.1.0", - "@chakra-ui/shared-utils": "2.0.5", - "@chakra-ui/visually-hidden": "2.2.0", - "@zag-js/focus-visible": "0.16.0" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-replace-supers": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" }, "peerDependencies": { - "@chakra-ui/system": ">=2.0.0", - "react": ">=18" + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chakra-ui/cli": { - "version": "2.4.1", - "license": "MIT", - "peer": true, + "node_modules/@babel/plugin-transform-parameters": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.24.7.tgz", + "integrity": "sha512-yGWW5Rr+sQOhK0Ot8hjDJuxU3XLRQGflvT4lhlSY0DFvdb3TwKaY26CJzHtYllU0vT9j58hc37ndFPsqT1SrzA==", + "dev": true, "dependencies": { - "chokidar": "^3.5.3", - "cli-check-node": "^1.3.4", - "cli-handle-unhandled": "^1.1.1", - "cli-welcome": "^2.2.2", - "commander": "^9.3.0", - "esbuild": "^0.17.18", - "prettier": "^2.8.8" + "@babel/helper-plugin-utils": "^7.24.7" }, - "bin": { - "chakra-cli": "bin/index.js" + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chakra-ui/cli/node_modules/commander": { - "version": "9.5.0", - "license": "MIT", - "peer": true, + "node_modules/@babel/plugin-transform-property-literals": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.24.7.tgz", + "integrity": "sha512-EMi4MLQSHfd2nrCqQEWxFdha2gBCqU4ZcCng4WBGZ5CJL4bBRW0ptdqqDdeirGZcpALazVVNJqRmsO8/+oNCBA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.7" + }, "engines": { - "node": "^12.20.0 || >=14" + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/@chakra-ui/cli/node_modules/prettier": { + "node_modules/@babel/plugin-transform-react-display-name": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.24.7.tgz", + "integrity": "sha512-H/Snz9PFxKsS1JLI4dJLtnJgCJRoo0AUm3chP6NYr+9En1JMKloheEiLIhlp5MDVznWo+H3AAC1Mc8lmUEpsgg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.24.7.tgz", + "integrity": "sha512-+Dj06GDZEFRYvclU6k4bme55GKBEWUmByM/eoKuqg4zTNQHiApWRhQph5fxQB2wAEFvRzL1tOEj1RJ19wJrhoA==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.24.7", + "@babel/helper-module-imports": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/plugin-syntax-jsx": "^7.24.7", + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-shorthand-properties": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.24.7.tgz", + "integrity": "sha512-KsDsevZMDsigzbA09+vacnLpmPH4aWjcZjXdyFKGzpplxhbeB4wYtury3vglQkg6KM/xEPKt73eCjPPf1PgXBA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-spread": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.24.7.tgz", + "integrity": "sha512-x96oO0I09dgMDxJaANcRyD4ellXFLLiWhuwDxKZX5g2rWP1bTPkBSwCYv96VDXVT1bD9aPj8tppr5ITIh8hBng==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-template-literals": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.24.7.tgz", + "integrity": "sha512-AfDTQmClklHCOLxtGoP7HkeMw56k1/bTQjwsfhL6pppo/M4TOBSq+jjBUBLmV/4oeFg4GWMavIl44ZeCtmmZTw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.24.1", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/runtime-corejs3": { + "version": "7.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "core-js-pure": "^3.30.2", + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/template": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.7.tgz", + "integrity": "sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==", + "dependencies": { + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.24.7", + "@babel/types": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.7.tgz", + "integrity": "sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA==", + "dependencies": { + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.24.7", + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-function-name": "^7.24.7", + "@babel/helper-hoist-variables": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", + "@babel/parser": "^7.24.7", + "@babel/types": "^7.24.7", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.7.tgz", + "integrity": "sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==", + "dependencies": { + "@babel/helper-string-parser": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "license": "MIT" + }, + "node_modules/@chakra-ui/accordion": { + "version": "2.3.1", + "license": "MIT", + "dependencies": { + "@chakra-ui/descendant": "3.1.0", + "@chakra-ui/icon": "3.2.0", + "@chakra-ui/react-context": "2.1.0", + "@chakra-ui/react-use-controllable-state": "2.1.0", + "@chakra-ui/react-use-merge-refs": "2.1.0", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/transition": "2.1.0" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "framer-motion": ">=4.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/alert": { + "version": "2.2.2", + "license": "MIT", + "dependencies": { + "@chakra-ui/icon": "3.2.0", + "@chakra-ui/react-context": "2.1.0", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/spinner": "2.1.0" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/anatomy": { + "version": "2.2.2", + "license": "MIT" + }, + "node_modules/@chakra-ui/avatar": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "@chakra-ui/image": "2.1.0", + "@chakra-ui/react-children-utils": "2.0.6", + "@chakra-ui/react-context": "2.1.0", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/breadcrumb": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "@chakra-ui/react-children-utils": "2.0.6", + "@chakra-ui/react-context": "2.1.0", + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/breakpoint-utils": { + "version": "2.0.8", + "license": "MIT", + "dependencies": { + "@chakra-ui/shared-utils": "2.0.5" + } + }, + "node_modules/@chakra-ui/button": { + "version": "2.1.0", + "license": "MIT", + "dependencies": { + "@chakra-ui/react-context": "2.1.0", + "@chakra-ui/react-use-merge-refs": "2.1.0", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/spinner": "2.1.0" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/card": { + "version": "2.2.0", + "license": "MIT", + "dependencies": { + "@chakra-ui/shared-utils": "2.0.5" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/checkbox": { + "version": "2.3.2", + "license": "MIT", + "dependencies": { + "@chakra-ui/form-control": "2.2.0", + "@chakra-ui/react-context": "2.1.0", + "@chakra-ui/react-types": "2.0.7", + "@chakra-ui/react-use-callback-ref": "2.1.0", + "@chakra-ui/react-use-controllable-state": "2.1.0", + "@chakra-ui/react-use-merge-refs": "2.1.0", + "@chakra-ui/react-use-safe-layout-effect": "2.1.0", + "@chakra-ui/react-use-update-effect": "2.1.0", + "@chakra-ui/shared-utils": "2.0.5", + "@chakra-ui/visually-hidden": "2.2.0", + "@zag-js/focus-visible": "0.16.0" + }, + "peerDependencies": { + "@chakra-ui/system": ">=2.0.0", + "react": ">=18" + } + }, + "node_modules/@chakra-ui/cli": { + "version": "2.4.1", + "license": "MIT", + "peer": true, + "dependencies": { + "chokidar": "^3.5.3", + "cli-check-node": "^1.3.4", + "cli-handle-unhandled": "^1.1.1", + "cli-welcome": "^2.2.2", + "commander": "^9.3.0", + "esbuild": "^0.17.18", + "prettier": "^2.8.8" + }, + "bin": { + "chakra-cli": "bin/index.js" + } + }, + "node_modules/@chakra-ui/cli/node_modules/commander": { + "version": "9.5.0", + "license": "MIT", + "peer": true, + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "node_modules/@chakra-ui/cli/node_modules/prettier": { "version": "2.8.8", "license": "MIT", "peer": true, @@ -2035,162 +2802,1407 @@ "version": "1.0.1", "license": "MIT", "peerDependencies": { - "react": ">=16.8.0" + "react": ">=16.8.0" + } + }, + "node_modules/@emotion/utils": { + "version": "1.2.1", + "license": "MIT" + }, + "node_modules/@emotion/weak-memoize": { + "version": "0.3.1", + "license": "MIT" + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.17.19", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "peer": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.10.0", + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { + "version": "1.1.11", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.24.0", + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/eslintrc/node_modules/minimatch": { + "version": "3.1.2", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/@eslint/eslintrc/node_modules/type-fest": { + "version": "0.20.2", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "8.57.0", + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@fastify/busboy": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", + "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==", + "engines": { + "node": ">=14" + } + }, + "node_modules/@floating-ui/core": { + "version": "1.6.0", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.1" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.6.3", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.0.0", + "@floating-ui/utils": "^0.2.0" + } + }, + "node_modules/@floating-ui/react-dom": { + "version": "2.0.8", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^1.6.1" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.1", + "license": "MIT" + }, + "node_modules/@gar/promisify": { + "version": "1.1.3", + "license": "MIT" + }, + "node_modules/@graphql-codegen/add": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@graphql-codegen/add/-/add-5.0.3.tgz", + "integrity": "sha512-SxXPmramkth8XtBlAHu4H4jYcYXM/o3p01+psU+0NADQowA8jtYkK6MW5rV6T+CxkEaNZItfSmZRPgIuypcqnA==", + "dev": true, + "dependencies": { + "@graphql-codegen/plugin-helpers": "^5.0.3", + "tslib": "~2.6.0" + }, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/@graphql-codegen/cli": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@graphql-codegen/cli/-/cli-5.0.2.tgz", + "integrity": "sha512-MBIaFqDiLKuO4ojN6xxG9/xL9wmfD3ZjZ7RsPjwQnSHBCUXnEkdKvX+JVpx87Pq29Ycn8wTJUguXnTZ7Di0Mlw==", + "dev": true, + "dependencies": { + "@babel/generator": "^7.18.13", + "@babel/template": "^7.18.10", + "@babel/types": "^7.18.13", + "@graphql-codegen/client-preset": "^4.2.2", + "@graphql-codegen/core": "^4.0.2", + "@graphql-codegen/plugin-helpers": "^5.0.3", + "@graphql-tools/apollo-engine-loader": "^8.0.0", + "@graphql-tools/code-file-loader": "^8.0.0", + "@graphql-tools/git-loader": "^8.0.0", + "@graphql-tools/github-loader": "^8.0.0", + "@graphql-tools/graphql-file-loader": "^8.0.0", + "@graphql-tools/json-file-loader": "^8.0.0", + "@graphql-tools/load": "^8.0.0", + "@graphql-tools/prisma-loader": "^8.0.0", + "@graphql-tools/url-loader": "^8.0.0", + "@graphql-tools/utils": "^10.0.0", + "@whatwg-node/fetch": "^0.8.0", + "chalk": "^4.1.0", + "cosmiconfig": "^8.1.3", + "debounce": "^1.2.0", + "detect-indent": "^6.0.0", + "graphql-config": "^5.0.2", + "inquirer": "^8.0.0", + "is-glob": "^4.0.1", + "jiti": "^1.17.1", + "json-to-pretty-yaml": "^1.2.2", + "listr2": "^4.0.5", + "log-symbols": "^4.0.0", + "micromatch": "^4.0.5", + "shell-quote": "^1.7.3", + "string-env-interpolation": "^1.0.1", + "ts-log": "^2.2.3", + "tslib": "^2.4.0", + "yaml": "^2.3.1", + "yargs": "^17.0.0" + }, + "bin": { + "gql-gen": "cjs/bin.js", + "graphql-code-generator": "cjs/bin.js", + "graphql-codegen": "cjs/bin.js", + "graphql-codegen-esm": "esm/bin.js" + }, + "peerDependencies": { + "@parcel/watcher": "^2.1.0", + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + }, + "peerDependenciesMeta": { + "@parcel/watcher": { + "optional": true + } + } + }, + "node_modules/@graphql-codegen/cli/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/cli-truncate": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", + "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", + "dev": true, + "dependencies": { + "slice-ansi": "^3.0.0", + "string-width": "^4.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/@graphql-codegen/cli/node_modules/cosmiconfig": { + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "dev": true, + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@graphql-codegen/cli/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/listr2": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-4.0.5.tgz", + "integrity": "sha512-juGHV1doQdpNT3GSTs9IUN43QJb7KHdF9uqg7Vufs/tG9VTzpFphqF4pm/ICdAABGQxsyNn9CiYA3StkI6jpwA==", + "dev": true, + "dependencies": { + "cli-truncate": "^2.1.0", + "colorette": "^2.0.16", + "log-update": "^4.0.0", + "p-map": "^4.0.0", + "rfdc": "^1.3.0", + "rxjs": "^7.5.5", + "through": "^2.3.8", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "enquirer": ">= 2.3.0 < 3" + }, + "peerDependenciesMeta": { + "enquirer": { + "optional": true + } + } + }, + "node_modules/@graphql-codegen/cli/node_modules/listr2/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/log-update": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", + "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.3.0", + "cli-cursor": "^3.1.0", + "slice-ansi": "^4.0.0", + "wrap-ansi": "^6.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/log-update/node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/slice-ansi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", + "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@graphql-codegen/cli/node_modules/yaml": { + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", + "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", + "dev": true, + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@graphql-codegen/client-preset": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@graphql-codegen/client-preset/-/client-preset-4.3.2.tgz", + "integrity": "sha512-42jHyG6u2uFDIVNvzue8zR529aPT16EYIJQmvMk8XuYHo3PneQVlWmQ3j2fBy+RuWCBzpJKPKm7IGSKiw19nmg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/template": "^7.20.7", + "@graphql-codegen/add": "^5.0.3", + "@graphql-codegen/gql-tag-operations": "4.0.9", + "@graphql-codegen/plugin-helpers": "^5.0.4", + "@graphql-codegen/typed-document-node": "^5.0.9", + "@graphql-codegen/typescript": "^4.0.9", + "@graphql-codegen/typescript-operations": "^4.2.3", + "@graphql-codegen/visitor-plugin-common": "^5.3.1", + "@graphql-tools/documents": "^1.0.0", + "@graphql-tools/utils": "^10.0.0", + "@graphql-typed-document-node/core": "3.2.0", + "tslib": "~2.6.0" + }, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/@graphql-codegen/core": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@graphql-codegen/core/-/core-4.0.2.tgz", + "integrity": "sha512-IZbpkhwVqgizcjNiaVzNAzm/xbWT6YnGgeOLwVjm4KbJn3V2jchVtuzHH09G5/WkkLSk2wgbXNdwjM41JxO6Eg==", + "dev": true, + "dependencies": { + "@graphql-codegen/plugin-helpers": "^5.0.3", + "@graphql-tools/schema": "^10.0.0", + "@graphql-tools/utils": "^10.0.0", + "tslib": "~2.6.0" + }, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/@graphql-codegen/gql-tag-operations": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@graphql-codegen/gql-tag-operations/-/gql-tag-operations-4.0.9.tgz", + "integrity": "sha512-lVgu1HClel896HqZAEjynatlU6eJrYOw+rh05DPgM150xvmb7Gz5TnRHA2vfwlDNIXDaToAIpz5RFfkjjnYM1Q==", + "dev": true, + "dependencies": { + "@graphql-codegen/plugin-helpers": "^5.0.4", + "@graphql-codegen/visitor-plugin-common": "5.3.1", + "@graphql-tools/utils": "^10.0.0", + "auto-bind": "~4.0.0", + "tslib": "~2.6.0" + }, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/@graphql-codegen/plugin-helpers": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@graphql-codegen/plugin-helpers/-/plugin-helpers-5.0.4.tgz", + "integrity": "sha512-MOIuHFNWUnFnqVmiXtrI+4UziMTYrcquljaI5f/T/Bc7oO7sXcfkAvgkNWEEi9xWreYwvuer3VHCuPI/lAFWbw==", + "dev": true, + "dependencies": { + "@graphql-tools/utils": "^10.0.0", + "change-case-all": "1.0.15", + "common-tags": "1.8.2", + "import-from": "4.0.0", + "lodash": "~4.17.0", + "tslib": "~2.6.0" + }, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/@graphql-codegen/schema-ast": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@graphql-codegen/schema-ast/-/schema-ast-4.1.0.tgz", + "integrity": "sha512-kZVn0z+th9SvqxfKYgztA6PM7mhnSZaj4fiuBWvMTqA+QqQ9BBed6Pz41KuD/jr0gJtnlr2A4++/0VlpVbCTmQ==", + "dev": true, + "dependencies": { + "@graphql-codegen/plugin-helpers": "^5.0.3", + "@graphql-tools/utils": "^10.0.0", + "tslib": "~2.6.0" + }, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/@graphql-codegen/typed-document-node": { + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/@graphql-codegen/typed-document-node/-/typed-document-node-5.0.9.tgz", + "integrity": "sha512-Wx6fyA4vpfIbfNTMiWUECGnjqzKkJdEbZHxVMIegiCBPzBYPAJV4mZZcildLAfm2FtZcgW4YKtFoTbnbXqPB3w==", + "dev": true, + "dependencies": { + "@graphql-codegen/plugin-helpers": "^5.0.4", + "@graphql-codegen/visitor-plugin-common": "5.3.1", + "auto-bind": "~4.0.0", + "change-case-all": "1.0.15", + "tslib": "~2.6.0" + }, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/@graphql-codegen/typescript": { + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@graphql-codegen/typescript/-/typescript-4.0.9.tgz", + "integrity": "sha512-0O35DMR4d/ctuHL1Zo6mRUUzp0BoszKfeWsa6sCm/g70+S98+hEfTwZNDkQHylLxapiyjssF9uw/F+sXqejqLw==", + "dev": true, + "dependencies": { + "@graphql-codegen/plugin-helpers": "^5.0.4", + "@graphql-codegen/schema-ast": "^4.0.2", + "@graphql-codegen/visitor-plugin-common": "5.3.1", + "auto-bind": "~4.0.0", + "tslib": "~2.6.0" + }, + "peerDependencies": { + "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/@graphql-codegen/typescript-operations": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/@graphql-codegen/typescript-operations/-/typescript-operations-4.2.3.tgz", + "integrity": "sha512-6z7avSSOr03l5SyKbeDs7MzRyGwnQFSCqQm8Om5wIuoIgXVu2gXRmcJAY/I7SLdAy9xbF4Sho7XNqieFM2CAFQ==", + "dev": true, + "dependencies": { + "@graphql-codegen/plugin-helpers": "^5.0.4", + "@graphql-codegen/typescript": "^4.0.9", + "@graphql-codegen/visitor-plugin-common": "5.3.1", + "auto-bind": "~4.0.0", + "tslib": "~2.6.0" + }, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/@graphql-codegen/visitor-plugin-common": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-5.3.1.tgz", + "integrity": "sha512-MktoBdNZhSmugiDjmFl1z6rEUUaqyxtFJYWnDilE7onkPgyw//O0M+TuPBJPBWdyV6J2ond0Hdqtq+rkghgSIQ==", + "dev": true, + "dependencies": { + "@graphql-codegen/plugin-helpers": "^5.0.4", + "@graphql-tools/optimize": "^2.0.0", + "@graphql-tools/relay-operation-optimizer": "^7.0.0", + "@graphql-tools/utils": "^10.0.0", + "auto-bind": "~4.0.0", + "change-case-all": "1.0.15", + "dependency-graph": "^0.11.0", + "graphql-tag": "^2.11.0", + "parse-filepath": "^1.0.2", + "tslib": "~2.6.0" + }, + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/@graphql-tools/apollo-engine-loader": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/apollo-engine-loader/-/apollo-engine-loader-8.0.1.tgz", + "integrity": "sha512-NaPeVjtrfbPXcl+MLQCJLWtqe2/E4bbAqcauEOQ+3sizw1Fc2CNmhHRF8a6W4D0ekvTRRXAMptXYgA2uConbrA==", + "dev": true, + "dependencies": { + "@ardatan/sync-fetch": "^0.0.1", + "@graphql-tools/utils": "^10.0.13", + "@whatwg-node/fetch": "^0.9.0", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/apollo-engine-loader/node_modules/@whatwg-node/events": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@whatwg-node/events/-/events-0.1.1.tgz", + "integrity": "sha512-AyQEn5hIPV7Ze+xFoXVU3QTHXVbWPrzaOkxtENMPMuNL6VVHrp4hHfDt9nrQpjO7BgvuM95dMtkycX5M/DZR3w==", + "dev": true, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@graphql-tools/apollo-engine-loader/node_modules/@whatwg-node/fetch": { + "version": "0.9.18", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.9.18.tgz", + "integrity": "sha512-hqoz6StCW+AjV/3N+vg0s1ah82ptdVUb9nH2ttj3UbySOXUvytWw2yqy8c1cKzyRk6mDD00G47qS3fZI9/gMjg==", + "dev": true, + "dependencies": { + "@whatwg-node/node-fetch": "^0.5.7", + "urlpattern-polyfill": "^10.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@graphql-tools/apollo-engine-loader/node_modules/@whatwg-node/node-fetch": { + "version": "0.5.11", + "resolved": "https://registry.npmjs.org/@whatwg-node/node-fetch/-/node-fetch-0.5.11.tgz", + "integrity": "sha512-LS8tSomZa3YHnntpWt3PP43iFEEl6YeIsvDakczHBKlay5LdkXFr8w7v8H6akpG5nRrzydyB0k1iE2eoL6aKIQ==", + "dev": true, + "dependencies": { + "@kamilkisiela/fast-url-parser": "^1.1.4", + "@whatwg-node/events": "^0.1.0", + "busboy": "^1.6.0", + "fast-querystring": "^1.1.1", + "tslib": "^2.3.1" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@graphql-tools/apollo-engine-loader/node_modules/urlpattern-polyfill": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", + "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==", + "dev": true + }, + "node_modules/@graphql-tools/batch-execute": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/batch-execute/-/batch-execute-9.0.4.tgz", + "integrity": "sha512-kkebDLXgDrep5Y0gK1RN3DMUlLqNhg60OAz0lTCqrYeja6DshxLtLkj+zV4mVbBA4mQOEoBmw6g1LZs3dA84/w==", + "dev": true, + "dependencies": { + "@graphql-tools/utils": "^10.0.13", + "dataloader": "^2.2.2", + "tslib": "^2.4.0", + "value-or-promise": "^1.0.12" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/code-file-loader": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/code-file-loader/-/code-file-loader-8.1.2.tgz", + "integrity": "sha512-GrLzwl1QV2PT4X4TEEfuTmZYzIZHLqoTGBjczdUzSqgCCcqwWzLB3qrJxFQfI8e5s1qZ1bhpsO9NoMn7tvpmyA==", + "dev": true, + "dependencies": { + "@graphql-tools/graphql-tag-pluck": "8.3.1", + "@graphql-tools/utils": "^10.0.13", + "globby": "^11.0.3", + "tslib": "^2.4.0", + "unixify": "^1.0.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/delegate": { + "version": "10.0.13", + "resolved": "https://registry.npmjs.org/@graphql-tools/delegate/-/delegate-10.0.13.tgz", + "integrity": "sha512-9l7cwrHQFbvR6zhZOKYABa3ffqgyV51gNglammupXhptE3Z94p6A6hP0hLw7GHErkm6MiQINl3VBVpFJDlrZuQ==", + "dev": true, + "dependencies": { + "@graphql-tools/batch-execute": "^9.0.4", + "@graphql-tools/executor": "^1.2.8", + "@graphql-tools/schema": "^10.0.4", + "@graphql-tools/utils": "^10.2.3", + "dataloader": "^2.2.2", + "tslib": "^2.5.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/documents": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/documents/-/documents-1.0.1.tgz", + "integrity": "sha512-aweoMH15wNJ8g7b2r4C4WRuJxZ0ca8HtNO54rkye/3duxTkW4fGBEutCx03jCIr5+a1l+4vFJNP859QnAVBVCA==", + "dev": true, + "dependencies": { + "lodash.sortby": "^4.7.0", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/executor": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@graphql-tools/executor/-/executor-1.2.8.tgz", + "integrity": "sha512-0qZs/iuRiYRir7bBkA7oN+21wwmSMPQuFK8WcAcxUYJZRhvnlrJ8Nid++PN4OCzTgHPV70GNFyXOajseVCCffA==", + "dev": true, + "dependencies": { + "@graphql-tools/utils": "^10.2.3", + "@graphql-typed-document-node/core": "3.2.0", + "@repeaterjs/repeater": "^3.0.4", + "tslib": "^2.4.0", + "value-or-promise": "^1.0.12" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/executor-graphql-ws": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/executor-graphql-ws/-/executor-graphql-ws-1.1.2.tgz", + "integrity": "sha512-+9ZK0rychTH1LUv4iZqJ4ESbmULJMTsv3XlFooPUngpxZkk00q6LqHKJRrsLErmQrVaC7cwQCaRBJa0teK17Lg==", + "dev": true, + "dependencies": { + "@graphql-tools/utils": "^10.0.13", + "@types/ws": "^8.0.0", + "graphql-ws": "^5.14.0", + "isomorphic-ws": "^5.0.0", + "tslib": "^2.4.0", + "ws": "^8.13.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/executor-http": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@graphql-tools/executor-http/-/executor-http-1.0.9.tgz", + "integrity": "sha512-+NXaZd2MWbbrWHqU4EhXcrDbogeiCDmEbrAN+rMn4Nu2okDjn2MTFDbTIab87oEubQCH4Te1wDkWPKrzXup7+Q==", + "dev": true, + "dependencies": { + "@graphql-tools/utils": "^10.0.13", + "@repeaterjs/repeater": "^3.0.4", + "@whatwg-node/fetch": "^0.9.0", + "extract-files": "^11.0.0", + "meros": "^1.2.1", + "tslib": "^2.4.0", + "value-or-promise": "^1.0.12" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/executor-http/node_modules/@whatwg-node/events": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@whatwg-node/events/-/events-0.1.1.tgz", + "integrity": "sha512-AyQEn5hIPV7Ze+xFoXVU3QTHXVbWPrzaOkxtENMPMuNL6VVHrp4hHfDt9nrQpjO7BgvuM95dMtkycX5M/DZR3w==", + "dev": true, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@graphql-tools/executor-http/node_modules/@whatwg-node/fetch": { + "version": "0.9.18", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.9.18.tgz", + "integrity": "sha512-hqoz6StCW+AjV/3N+vg0s1ah82ptdVUb9nH2ttj3UbySOXUvytWw2yqy8c1cKzyRk6mDD00G47qS3fZI9/gMjg==", + "dev": true, + "dependencies": { + "@whatwg-node/node-fetch": "^0.5.7", + "urlpattern-polyfill": "^10.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@graphql-tools/executor-http/node_modules/@whatwg-node/node-fetch": { + "version": "0.5.11", + "resolved": "https://registry.npmjs.org/@whatwg-node/node-fetch/-/node-fetch-0.5.11.tgz", + "integrity": "sha512-LS8tSomZa3YHnntpWt3PP43iFEEl6YeIsvDakczHBKlay5LdkXFr8w7v8H6akpG5nRrzydyB0k1iE2eoL6aKIQ==", + "dev": true, + "dependencies": { + "@kamilkisiela/fast-url-parser": "^1.1.4", + "@whatwg-node/events": "^0.1.0", + "busboy": "^1.6.0", + "fast-querystring": "^1.1.1", + "tslib": "^2.3.1" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@graphql-tools/executor-http/node_modules/urlpattern-polyfill": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", + "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==", + "dev": true + }, + "node_modules/@graphql-tools/executor-legacy-ws": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-1.0.6.tgz", + "integrity": "sha512-lDSxz9VyyquOrvSuCCnld3256Hmd+QI2lkmkEv7d4mdzkxkK4ddAWW1geQiWrQvWmdsmcnGGlZ7gDGbhEExwqg==", + "dev": true, + "dependencies": { + "@graphql-tools/utils": "^10.0.13", + "@types/ws": "^8.0.0", + "isomorphic-ws": "^5.0.0", + "tslib": "^2.4.0", + "ws": "^8.15.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/git-loader": { + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/@graphql-tools/git-loader/-/git-loader-8.0.6.tgz", + "integrity": "sha512-FQFO4H5wHAmHVyuUQrjvPE8re3qJXt50TWHuzrK3dEaief7JosmlnkLMDMbMBwtwITz9u1Wpl6doPhT2GwKtlw==", + "dev": true, + "dependencies": { + "@graphql-tools/graphql-tag-pluck": "8.3.1", + "@graphql-tools/utils": "^10.0.13", + "is-glob": "4.0.3", + "micromatch": "^4.0.4", + "tslib": "^2.4.0", + "unixify": "^1.0.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/github-loader": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/github-loader/-/github-loader-8.0.1.tgz", + "integrity": "sha512-W4dFLQJ5GtKGltvh/u1apWRFKBQOsDzFxO9cJkOYZj1VzHCpRF43uLST4VbCfWve+AwBqOuKr7YgkHoxpRMkcg==", + "dev": true, + "dependencies": { + "@ardatan/sync-fetch": "^0.0.1", + "@graphql-tools/executor-http": "^1.0.9", + "@graphql-tools/graphql-tag-pluck": "^8.0.0", + "@graphql-tools/utils": "^10.0.13", + "@whatwg-node/fetch": "^0.9.0", + "tslib": "^2.4.0", + "value-or-promise": "^1.0.12" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/github-loader/node_modules/@whatwg-node/events": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@whatwg-node/events/-/events-0.1.1.tgz", + "integrity": "sha512-AyQEn5hIPV7Ze+xFoXVU3QTHXVbWPrzaOkxtENMPMuNL6VVHrp4hHfDt9nrQpjO7BgvuM95dMtkycX5M/DZR3w==", + "dev": true, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@graphql-tools/github-loader/node_modules/@whatwg-node/fetch": { + "version": "0.9.18", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.9.18.tgz", + "integrity": "sha512-hqoz6StCW+AjV/3N+vg0s1ah82ptdVUb9nH2ttj3UbySOXUvytWw2yqy8c1cKzyRk6mDD00G47qS3fZI9/gMjg==", + "dev": true, + "dependencies": { + "@whatwg-node/node-fetch": "^0.5.7", + "urlpattern-polyfill": "^10.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@graphql-tools/github-loader/node_modules/@whatwg-node/node-fetch": { + "version": "0.5.11", + "resolved": "https://registry.npmjs.org/@whatwg-node/node-fetch/-/node-fetch-0.5.11.tgz", + "integrity": "sha512-LS8tSomZa3YHnntpWt3PP43iFEEl6YeIsvDakczHBKlay5LdkXFr8w7v8H6akpG5nRrzydyB0k1iE2eoL6aKIQ==", + "dev": true, + "dependencies": { + "@kamilkisiela/fast-url-parser": "^1.1.4", + "@whatwg-node/events": "^0.1.0", + "busboy": "^1.6.0", + "fast-querystring": "^1.1.1", + "tslib": "^2.3.1" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@graphql-tools/github-loader/node_modules/urlpattern-polyfill": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", + "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==", + "dev": true + }, + "node_modules/@graphql-tools/graphql-file-loader": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/graphql-file-loader/-/graphql-file-loader-8.0.1.tgz", + "integrity": "sha512-7gswMqWBabTSmqbaNyWSmRRpStWlcCkBc73E6NZNlh4YNuiyKOwbvSkOUYFOqFMfEL+cFsXgAvr87Vz4XrYSbA==", + "dev": true, + "dependencies": { + "@graphql-tools/import": "7.0.1", + "@graphql-tools/utils": "^10.0.13", + "globby": "^11.0.3", + "tslib": "^2.4.0", + "unixify": "^1.0.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/graphql-tag-pluck": { + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-8.3.1.tgz", + "integrity": "sha512-ujits9tMqtWQQq4FI4+qnVPpJvSEn7ogKtyN/gfNT+ErIn6z1e4gyVGQpTK5sgAUXq1lW4gU/5fkFFC5/sL2rQ==", + "dev": true, + "dependencies": { + "@babel/core": "^7.22.9", + "@babel/parser": "^7.16.8", + "@babel/plugin-syntax-import-assertions": "^7.20.0", + "@babel/traverse": "^7.16.8", + "@babel/types": "^7.16.8", + "@graphql-tools/utils": "^10.0.13", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/import": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/import/-/import-7.0.1.tgz", + "integrity": "sha512-935uAjAS8UAeXThqHfYVr4HEAp6nHJ2sximZKO1RzUTq5WoALMAhhGARl0+ecm6X+cqNUwIChJbjtaa6P/ML0w==", + "dev": true, + "dependencies": { + "@graphql-tools/utils": "^10.0.13", + "resolve-from": "5.0.0", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/import/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@graphql-tools/json-file-loader": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/json-file-loader/-/json-file-loader-8.0.1.tgz", + "integrity": "sha512-lAy2VqxDAHjVyqeJonCP6TUemrpYdDuKt25a10X6zY2Yn3iFYGnuIDQ64cv3ytyGY6KPyPB+Kp+ZfOkNDG3FQA==", + "dev": true, + "dependencies": { + "@graphql-tools/utils": "^10.0.13", + "globby": "^11.0.3", + "tslib": "^2.4.0", + "unixify": "^1.0.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/load": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/load/-/load-8.0.2.tgz", + "integrity": "sha512-S+E/cmyVmJ3CuCNfDuNF2EyovTwdWfQScXv/2gmvJOti2rGD8jTt9GYVzXaxhblLivQR9sBUCNZu/w7j7aXUCA==", + "dev": true, + "dependencies": { + "@graphql-tools/schema": "^10.0.3", + "@graphql-tools/utils": "^10.0.13", + "p-limit": "3.1.0", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/merge": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/merge/-/merge-9.0.4.tgz", + "integrity": "sha512-MivbDLUQ+4Q8G/Hp/9V72hbn810IJDEZQ57F01sHnlrrijyadibfVhaQfW/pNH+9T/l8ySZpaR/DpL5i+ruZ+g==", + "dev": true, + "dependencies": { + "@graphql-tools/utils": "^10.0.13", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } + }, + "node_modules/@graphql-tools/optimize": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@graphql-tools/optimize/-/optimize-2.0.0.tgz", + "integrity": "sha512-nhdT+CRGDZ+bk68ic+Jw1OZ99YCDIKYA5AlVAnBHJvMawSx9YQqQAIj4refNc1/LRieGiuWvhbG3jvPVYho0Dg==", + "dev": true, + "dependencies": { + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, - "node_modules/@emotion/utils": { - "version": "1.2.1", - "license": "MIT" - }, - "node_modules/@emotion/weak-memoize": { - "version": "0.3.1", - "license": "MIT" + "node_modules/@graphql-tools/prisma-loader": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/prisma-loader/-/prisma-loader-8.0.4.tgz", + "integrity": "sha512-hqKPlw8bOu/GRqtYr0+dINAI13HinTVYBDqhwGAPIFmLr5s+qKskzgCiwbsckdrb5LWVFmVZc+UXn80OGiyBzg==", + "dev": true, + "dependencies": { + "@graphql-tools/url-loader": "^8.0.2", + "@graphql-tools/utils": "^10.0.13", + "@types/js-yaml": "^4.0.0", + "@whatwg-node/fetch": "^0.9.0", + "chalk": "^4.1.0", + "debug": "^4.3.1", + "dotenv": "^16.0.0", + "graphql-request": "^6.0.0", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.0", + "jose": "^5.0.0", + "js-yaml": "^4.0.0", + "lodash": "^4.17.20", + "scuid": "^1.1.0", + "tslib": "^2.4.0", + "yaml-ast-parser": "^0.0.43" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } }, - "node_modules/@esbuild/win32-x64": { - "version": "0.17.19", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "peer": true, + "node_modules/@graphql-tools/prisma-loader/node_modules/@whatwg-node/events": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@whatwg-node/events/-/events-0.1.1.tgz", + "integrity": "sha512-AyQEn5hIPV7Ze+xFoXVU3QTHXVbWPrzaOkxtENMPMuNL6VVHrp4hHfDt9nrQpjO7BgvuM95dMtkycX5M/DZR3w==", + "dev": true, "engines": { - "node": ">=12" + "node": ">=16.0.0" } }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "license": "MIT", + "node_modules/@graphql-tools/prisma-loader/node_modules/@whatwg-node/fetch": { + "version": "0.9.18", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.9.18.tgz", + "integrity": "sha512-hqoz6StCW+AjV/3N+vg0s1ah82ptdVUb9nH2ttj3UbySOXUvytWw2yqy8c1cKzyRk6mDD00G47qS3fZI9/gMjg==", + "dev": true, "dependencies": { - "eslint-visitor-keys": "^3.3.0" + "@whatwg-node/node-fetch": "^0.5.7", + "urlpattern-polyfill": "^10.0.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + "node": ">=16.0.0" } }, - "node_modules/@eslint-community/regexpp": { - "version": "4.10.0", - "license": "MIT", + "node_modules/@graphql-tools/prisma-loader/node_modules/@whatwg-node/node-fetch": { + "version": "0.5.11", + "resolved": "https://registry.npmjs.org/@whatwg-node/node-fetch/-/node-fetch-0.5.11.tgz", + "integrity": "sha512-LS8tSomZa3YHnntpWt3PP43iFEEl6YeIsvDakczHBKlay5LdkXFr8w7v8H6akpG5nRrzydyB0k1iE2eoL6aKIQ==", + "dev": true, + "dependencies": { + "@kamilkisiela/fast-url-parser": "^1.1.4", + "@whatwg-node/events": "^0.1.0", + "busboy": "^1.6.0", + "fast-querystring": "^1.1.1", + "tslib": "^2.3.1" + }, "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + "node": ">=16.0.0" } }, - "node_modules/@eslint/eslintrc": { - "version": "2.1.4", - "license": "MIT", + "node_modules/@graphql-tools/prisma-loader/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" + "color-convert": "^2.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=8" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { - "version": "1.1.11", - "license": "MIT", + "node_modules/@graphql-tools/prisma-loader/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.24.0", - "license": "MIT", + "node_modules/@graphql-tools/prisma-loader/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, "dependencies": { - "type-fest": "^0.20.2" + "color-name": "~1.1.4" }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@graphql-tools/prisma-loader/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/@graphql-tools/prisma-loader/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, "engines": { "node": ">=8" + } + }, + "node_modules/@graphql-tools/prisma-loader/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">=8" } }, - "node_modules/@eslint/eslintrc/node_modules/minimatch": { - "version": "3.1.2", - "license": "ISC", + "node_modules/@graphql-tools/prisma-loader/node_modules/urlpattern-polyfill": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", + "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==", + "dev": true + }, + "node_modules/@graphql-tools/relay-operation-optimizer": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-7.0.1.tgz", + "integrity": "sha512-y0ZrQ/iyqWZlsS/xrJfSir3TbVYJTYmMOu4TaSz6F4FRDTQ3ie43BlKkhf04rC28pnUOS4BO9pDcAo1D30l5+A==", + "dev": true, "dependencies": { - "brace-expansion": "^1.1.7" + "@ardatan/relay-compiler": "12.0.0", + "@graphql-tools/utils": "^10.0.13", + "tslib": "^2.4.0" }, "engines": { - "node": "*" + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, - "node_modules/@eslint/eslintrc/node_modules/type-fest": { - "version": "0.20.2", - "license": "(MIT OR CC0-1.0)", + "node_modules/@graphql-tools/schema": { + "version": "10.0.4", + "resolved": "https://registry.npmjs.org/@graphql-tools/schema/-/schema-10.0.4.tgz", + "integrity": "sha512-HuIwqbKxPaJujox25Ra4qwz0uQzlpsaBOzO6CVfzB/MemZdd+Gib8AIvfhQArK0YIN40aDran/yi+E5Xf0mQww==", + "dev": true, + "dependencies": { + "@graphql-tools/merge": "^9.0.3", + "@graphql-tools/utils": "^10.2.1", + "tslib": "^2.4.0", + "value-or-promise": "^1.0.12" + }, "engines": { - "node": ">=10" + "node": ">=16.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, - "node_modules/@eslint/js": { - "version": "8.57.0", - "license": "MIT", + "node_modules/@graphql-tools/url-loader": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@graphql-tools/url-loader/-/url-loader-8.0.2.tgz", + "integrity": "sha512-1dKp2K8UuFn7DFo1qX5c1cyazQv2h2ICwA9esHblEqCYrgf69Nk8N7SODmsfWg94OEaI74IqMoM12t7eIGwFzQ==", + "dev": true, + "dependencies": { + "@ardatan/sync-fetch": "^0.0.1", + "@graphql-tools/delegate": "^10.0.4", + "@graphql-tools/executor-graphql-ws": "^1.1.2", + "@graphql-tools/executor-http": "^1.0.9", + "@graphql-tools/executor-legacy-ws": "^1.0.6", + "@graphql-tools/utils": "^10.0.13", + "@graphql-tools/wrap": "^10.0.2", + "@types/ws": "^8.0.0", + "@whatwg-node/fetch": "^0.9.0", + "isomorphic-ws": "^5.0.0", + "tslib": "^2.4.0", + "value-or-promise": "^1.0.11", + "ws": "^8.12.0" + }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, - "node_modules/@fastify/busboy": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", - "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==", + "node_modules/@graphql-tools/url-loader/node_modules/@whatwg-node/events": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@whatwg-node/events/-/events-0.1.1.tgz", + "integrity": "sha512-AyQEn5hIPV7Ze+xFoXVU3QTHXVbWPrzaOkxtENMPMuNL6VVHrp4hHfDt9nrQpjO7BgvuM95dMtkycX5M/DZR3w==", + "dev": true, "engines": { - "node": ">=14" + "node": ">=16.0.0" } }, - "node_modules/@floating-ui/core": { - "version": "1.6.0", - "license": "MIT", + "node_modules/@graphql-tools/url-loader/node_modules/@whatwg-node/fetch": { + "version": "0.9.18", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.9.18.tgz", + "integrity": "sha512-hqoz6StCW+AjV/3N+vg0s1ah82ptdVUb9nH2ttj3UbySOXUvytWw2yqy8c1cKzyRk6mDD00G47qS3fZI9/gMjg==", + "dev": true, "dependencies": { - "@floating-ui/utils": "^0.2.1" + "@whatwg-node/node-fetch": "^0.5.7", + "urlpattern-polyfill": "^10.0.0" + }, + "engines": { + "node": ">=16.0.0" } }, - "node_modules/@floating-ui/dom": { - "version": "1.6.3", - "license": "MIT", + "node_modules/@graphql-tools/url-loader/node_modules/@whatwg-node/node-fetch": { + "version": "0.5.11", + "resolved": "https://registry.npmjs.org/@whatwg-node/node-fetch/-/node-fetch-0.5.11.tgz", + "integrity": "sha512-LS8tSomZa3YHnntpWt3PP43iFEEl6YeIsvDakczHBKlay5LdkXFr8w7v8H6akpG5nRrzydyB0k1iE2eoL6aKIQ==", + "dev": true, "dependencies": { - "@floating-ui/core": "^1.0.0", - "@floating-ui/utils": "^0.2.0" + "@kamilkisiela/fast-url-parser": "^1.1.4", + "@whatwg-node/events": "^0.1.0", + "busboy": "^1.6.0", + "fast-querystring": "^1.1.1", + "tslib": "^2.3.1" + }, + "engines": { + "node": ">=16.0.0" } }, - "node_modules/@floating-ui/react-dom": { - "version": "2.0.8", - "license": "MIT", + "node_modules/@graphql-tools/url-loader/node_modules/urlpattern-polyfill": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", + "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==", + "dev": true + }, + "node_modules/@graphql-tools/utils": { + "version": "10.2.3", + "resolved": "https://registry.npmjs.org/@graphql-tools/utils/-/utils-10.2.3.tgz", + "integrity": "sha512-j7x0sO0VtWVhD3FubyY42abx+g61/at5W5Y3DSOckPkBo7yVjkcnAsXoB4jiUnznhGme/o+uX5VgA8HrjyR5ZQ==", + "dev": true, "dependencies": { - "@floating-ui/dom": "^1.6.1" + "@graphql-typed-document-node/core": "^3.1.1", + "cross-inspect": "1.0.0", + "dset": "^3.1.2", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=16.0.0" }, "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, - "node_modules/@floating-ui/utils": { - "version": "0.2.1", - "license": "MIT" + "node_modules/@graphql-tools/wrap": { + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/@graphql-tools/wrap/-/wrap-10.0.5.tgz", + "integrity": "sha512-Cbr5aYjr3HkwdPvetZp1cpDWTGdD1Owgsb3z/ClzhmrboiK86EnQDxDvOJiQkDCPWE9lNBwj8Y4HfxroY0D9DQ==", + "dev": true, + "dependencies": { + "@graphql-tools/delegate": "^10.0.4", + "@graphql-tools/schema": "^10.0.3", + "@graphql-tools/utils": "^10.1.1", + "tslib": "^2.4.0", + "value-or-promise": "^1.0.12" + }, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } }, - "node_modules/@gar/promisify": { - "version": "1.1.3", - "license": "MIT" + "node_modules/@graphql-typed-document-node/core": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.2.0.tgz", + "integrity": "sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==", + "peerDependencies": { + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" + } }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.14", @@ -3231,6 +5243,12 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@kamilkisiela/fast-url-parser": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@kamilkisiela/fast-url-parser/-/fast-url-parser-1.1.4.tgz", + "integrity": "sha512-gbkePEBupNydxCelHCESvFSFM8XPh1Zs/OAVRW/rKpEqPAl5PbOM90Si8mv9bvnR53uPD2s/FiRxdvSejpRJew==", + "dev": true + }, "node_modules/@mdi/js": { "version": "7.4.47", "license": "Apache-2.0" @@ -3269,32 +5287,119 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/@mdx-js/mdx/node_modules/unist-util-visit": { - "version": "4.1.2", - "license": "MIT", + "node_modules/@mdx-js/mdx/node_modules/unist-util-visit": { + "version": "4.1.2", + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0", + "unist-util-visit-parents": "^5.1.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@mdx-js/react": { + "version": "2.3.0", + "license": "MIT", + "dependencies": { + "@types/mdx": "^2.0.0", + "@types/react": ">=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + }, + "peerDependencies": { + "react": ">=16" + } + }, + "node_modules/@molt/command": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/@molt/command/-/command-0.9.0.tgz", + "integrity": "sha512-1JI8dAlpqlZoXyKWVQggX7geFNPxBpocHIXQCsnxDjKy+3WX4SGyZVJXuLlqRRrX7FmQCuuMAfx642ovXmPA9g==", + "dependencies": { + "@molt/types": "0.2.0", + "alge": "0.8.1", + "chalk": "^5.3.0", + "lodash.camelcase": "^4.3.0", + "lodash.snakecase": "^4.1.1", + "readline-sync": "^1.4.10", + "string-length": "^6.0.0", + "strip-ansi": "^7.1.0", + "ts-toolbelt": "^9.6.0", + "type-fest": "^4.3.1", + "zod": "^3.22.2" + } + }, + "node_modules/@molt/command/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@molt/command/node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@molt/command/node_modules/string-length": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-6.0.0.tgz", + "integrity": "sha512-1U361pxZHEQ+FeSjzqRpV+cu2vTzYeWeafXFLykiFlv4Vc0n3njgU8HrMbyik5uwm77naWMuVG8fhEF+Ovb1Kg==", "dependencies": { - "@types/unist": "^2.0.0", - "unist-util-is": "^5.0.0", - "unist-util-visit-parents": "^5.1.1" + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=16" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@mdx-js/react": { - "version": "2.3.0", - "license": "MIT", + "node_modules/@molt/command/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dependencies": { - "@types/mdx": "^2.0.0", - "@types/react": ">=16" + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@molt/command/node_modules/type-fest": { + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.21.0.tgz", + "integrity": "sha512-ADn2w7hVPcK6w1I0uWnM//y1rLXZhzB9mr0a3OirzclKF1Wp6VzevUmzz/NRAWunOT6E8HrnpGY7xOfc6K57fA==", + "engines": { + "node": ">=16" }, - "peerDependencies": { - "react": ">=16" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@molt/types": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@molt/types/-/types-0.2.0.tgz", + "integrity": "sha512-p6ChnEZDGjg9PYPec9BK6Yp5/DdSrYQvXTBAtgrnqX6N36cZy37ql1c8Tc5LclfIYBNG7EZp8NBcRTYJwyi84g==", + "dependencies": { + "ts-toolbelt": "^9.6.0" } }, "node_modules/@next/bundle-analyzer": { @@ -3489,39 +5594,351 @@ "fastq": "^1.6.0" }, "engines": { - "node": ">= 8" + "node": ">= 8" + } + }, + "node_modules/@npmcli/fs": { + "version": "2.1.2", + "license": "ISC", + "dependencies": { + "@gar/promisify": "^1.1.3", + "semver": "^7.3.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/move-file": { + "version": "2.0.1", + "license": "MIT", + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/move-file/node_modules/mkdirp": { + "version": "1.0.4", + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@parcel/watcher": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.4.1.tgz", + "integrity": "sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA==", + "dev": true, + "dependencies": { + "detect-libc": "^1.0.3", + "is-glob": "^4.0.3", + "micromatch": "^4.0.5", + "node-addon-api": "^7.0.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.4.1", + "@parcel/watcher-darwin-arm64": "2.4.1", + "@parcel/watcher-darwin-x64": "2.4.1", + "@parcel/watcher-freebsd-x64": "2.4.1", + "@parcel/watcher-linux-arm-glibc": "2.4.1", + "@parcel/watcher-linux-arm64-glibc": "2.4.1", + "@parcel/watcher-linux-arm64-musl": "2.4.1", + "@parcel/watcher-linux-x64-glibc": "2.4.1", + "@parcel/watcher-linux-x64-musl": "2.4.1", + "@parcel/watcher-win32-arm64": "2.4.1", + "@parcel/watcher-win32-ia32": "2.4.1", + "@parcel/watcher-win32-x64": "2.4.1" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.4.1.tgz", + "integrity": "sha512-LOi/WTbbh3aTn2RYddrO8pnapixAziFl6SMxHM69r3tvdSm94JtCenaKgk1GRg5FJ5wpMCpHeW+7yqPlvZv7kg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.4.1.tgz", + "integrity": "sha512-ln41eihm5YXIY043vBrrHfn94SIBlqOWmoROhsMVTSXGh0QahKGy77tfEywQ7v3NywyxBBkGIfrWRHm0hsKtzA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.4.1.tgz", + "integrity": "sha512-yrw81BRLjjtHyDu7J61oPuSoeYWR3lDElcPGJyOvIXmor6DEo7/G2u1o7I38cwlcoBHQFULqF6nesIX3tsEXMg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.4.1.tgz", + "integrity": "sha512-TJa3Pex/gX3CWIx/Co8k+ykNdDCLx+TuZj3f3h7eOjgpdKM+Mnix37RYsYU4LHhiYJz3DK5nFCCra81p6g050w==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.4.1.tgz", + "integrity": "sha512-4rVYDlsMEYfa537BRXxJ5UF4ddNwnr2/1O4MHM5PjI9cvV2qymvhwZSFgXqbS8YoTk5i/JR0L0JDs69BUn45YA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.4.1.tgz", + "integrity": "sha512-BJ7mH985OADVLpbrzCLgrJ3TOpiZggE9FMblfO65PlOCdG++xJpKUJ0Aol74ZUIYfb8WsRlUdgrZxKkz3zXWYA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.4.1.tgz", + "integrity": "sha512-p4Xb7JGq3MLgAfYhslU2SjoV9G0kI0Xry0kuxeG/41UfpjHGOhv7UoUDAz/jb1u2elbhazy4rRBL8PegPJFBhA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.4.1.tgz", + "integrity": "sha512-s9O3fByZ/2pyYDPoLM6zt92yu6P4E39a03zvO0qCHOTjxmt3GHRMLuRZEWhWLASTMSrrnVNWdVI/+pUElJBBBg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.4.1.tgz", + "integrity": "sha512-L2nZTYR1myLNST0O632g0Dx9LyMNHrn6TOt76sYxWLdff3cB22/GZX2UPtJnaqQPdCRoszoY5rcOj4oMTtp5fQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.4.1.tgz", + "integrity": "sha512-Uq2BPp5GWhrq/lcuItCHoqxjULU1QYEcyjSO5jqqOK8RNFDBQnenMMx4gAl3v8GiWa59E9+uDM7yZ6LxwUIfRg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-ia32": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.4.1.tgz", + "integrity": "sha512-maNRit5QQV2kgHFSYwftmPBxiuK5u4DXjbXx7q6eKjq5dsLXZ4FJiVvlcw35QXzk0KrUecJmuVFbj4uV9oYrcw==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.4.1.tgz", + "integrity": "sha512-+DvS92F9ezicfswqrvIRM2njcYJbd5mb9CUgtrHCHmvn7pPPa+nMDRu1o1bYYz/l5IB2NVGNJWiH7h1E58IF2A==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/@npmcli/fs": { - "version": "2.1.2", - "license": "ISC", + "node_modules/@peculiar/asn1-schema": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.3.8.tgz", + "integrity": "sha512-ULB1XqHKx1WBU/tTFIA+uARuRoBVZ4pNdOA878RDrRbBfBGcSzi5HBkdScC6ZbHn8z7L8gmKCgPC1LHRrP46tA==", + "dev": true, "dependencies": { - "@gar/promisify": "^1.1.3", - "semver": "^7.3.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "asn1js": "^3.0.5", + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" } }, - "node_modules/@npmcli/move-file": { - "version": "2.0.1", - "license": "MIT", + "node_modules/@peculiar/json-schema": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/@peculiar/json-schema/-/json-schema-1.1.12.tgz", + "integrity": "sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w==", + "dev": true, "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" + "tslib": "^2.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=8.0.0" } }, - "node_modules/@npmcli/move-file/node_modules/mkdirp": { - "version": "1.0.4", - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" + "node_modules/@peculiar/webcrypto": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@peculiar/webcrypto/-/webcrypto-1.5.0.tgz", + "integrity": "sha512-BRs5XUAwiyCDQMsVA9IDvDa7UBR9gAvPHgugOeGng3YN6vJ9JYonyDc0lNczErgtCWtucjR5N7VtaonboD/ezg==", + "dev": true, + "dependencies": { + "@peculiar/asn1-schema": "^2.3.8", + "@peculiar/json-schema": "^1.1.12", + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2", + "webcrypto-core": "^1.8.0" }, "engines": { - "node": ">=10" + "node": ">=10.12.0" } }, "node_modules/@pkgjs/parseargs": { @@ -4539,6 +6956,12 @@ "license": "MIT", "peer": true }, + "node_modules/@repeaterjs/repeater": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@repeaterjs/repeater/-/repeater-3.0.6.tgz", + "integrity": "sha512-Javneu5lsuhwNCryN+pXH93VPQ8g0dBX7wItHFgYiwQmzE1sVdg5tWHiOgHywzL2W21XQopa7IwIEnNbmeUJYA==", + "dev": true + }, "node_modules/@resvg/resvg-wasm": { "version": "2.4.0", "license": "MPL-2.0", @@ -5874,6 +8297,15 @@ "resolved": "https://registry.npmjs.org/@types/wrap-ansi/-/wrap-ansi-3.0.0.tgz", "integrity": "sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==" }, + "node_modules/@types/ws": { + "version": "8.5.10", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz", + "integrity": "sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/yargs": { "version": "17.0.32", "license": "MIT", @@ -6116,6 +8548,38 @@ "node": ">=16" } }, + "node_modules/@whatwg-node/events": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@whatwg-node/events/-/events-0.0.3.tgz", + "integrity": "sha512-IqnKIDWfXBJkvy/k6tzskWTc2NK3LcqHlb+KHGCrjOCH4jfQckRX0NAiIcC/vIqQkzLYw2r2CTSwAxcrtcD6lA==", + "dev": true + }, + "node_modules/@whatwg-node/fetch": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/@whatwg-node/fetch/-/fetch-0.8.8.tgz", + "integrity": "sha512-CdcjGC2vdKhc13KKxgsc6/616BQ7ooDIgPeTuAiE8qfCnS0mGzcfCOoZXypQSz73nxI+GWc7ZReIAVhxoE1KCg==", + "dev": true, + "dependencies": { + "@peculiar/webcrypto": "^1.4.0", + "@whatwg-node/node-fetch": "^0.3.6", + "busboy": "^1.6.0", + "urlpattern-polyfill": "^8.0.0", + "web-streams-polyfill": "^3.2.1" + } + }, + "node_modules/@whatwg-node/node-fetch": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@whatwg-node/node-fetch/-/node-fetch-0.3.6.tgz", + "integrity": "sha512-w9wKgDO4C95qnXZRwZTfCmLWqyRnooGjcIwG0wADWjw9/HN0p7dtvtgSvItZtUyNteEvgTrd8QojNEqV6DAGTA==", + "dev": true, + "dependencies": { + "@whatwg-node/events": "^0.0.3", + "busboy": "^1.6.0", + "fast-querystring": "^1.1.1", + "fast-url-parser": "^1.1.3", + "tslib": "^2.3.1" + } + }, "node_modules/@zag-js/dom-query": { "version": "0.16.0", "license": "MIT" @@ -6252,6 +8716,17 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, + "node_modules/alge": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/alge/-/alge-0.8.1.tgz", + "integrity": "sha512-kiV9nTt+XIauAXsowVygDxMZLplZxDWt0W8plE/nB32/V2ziM/P/TxDbSVK7FYIUt2Xo16h3/htDh199LNPCKQ==", + "dependencies": { + "lodash.ismatch": "^4.4.0", + "remeda": "^1.0.0", + "ts-toolbelt": "^9.6.0", + "zod": "^3.17.3" + } + }, "node_modules/ansi-escapes": { "version": "4.3.2", "license": "MIT", @@ -6486,6 +8961,26 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", + "dev": true + }, + "node_modules/asn1js": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/asn1js/-/asn1js-3.0.5.tgz", + "integrity": "sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ==", + "dev": true, + "dependencies": { + "pvtsutils": "^1.3.2", + "pvutils": "^1.1.3", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/ast-types": { "version": "0.13.4", "dev": true, @@ -6501,6 +8996,15 @@ "version": "0.0.8", "license": "MIT" }, + "node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/astring": { "version": "1.8.6", "license": "MIT", @@ -6525,6 +9029,18 @@ "node": ">=10.12.0" } }, + "node_modules/auto-bind": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-4.0.0.tgz", + "integrity": "sha512-Hdw8qdNiqdJ8LqT0iK0sVzkFbzg6fhnQqqfWhBDxcHZvU75+B+ayzTy8x+k5Ix0Y92XOhOUlx74ps+bA6BeYMQ==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/autoprefixer": { "version": "10.4.19", "dev": true, @@ -6746,6 +9262,12 @@ "npm": ">=6" } }, + "node_modules/babel-plugin-syntax-trailing-function-commas": { + "version": "7.0.0-beta.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-7.0.0-beta.0.tgz", + "integrity": "sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ==", + "dev": true + }, "node_modules/babel-preset-current-node-syntax": { "version": "1.0.1", "license": "MIT", @@ -6767,6 +9289,44 @@ "@babel/core": "^7.0.0" } }, + "node_modules/babel-preset-fbjs": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/babel-preset-fbjs/-/babel-preset-fbjs-3.4.0.tgz", + "integrity": "sha512-9ywCsCvo1ojrw0b+XYk7aFvTH6D9064t0RIL1rtMf3nsa02Xw41MS7sZw216Im35xj/UY0PDBQsa1brUDDF1Ow==", + "dev": true, + "dependencies": { + "@babel/plugin-proposal-class-properties": "^7.0.0", + "@babel/plugin-proposal-object-rest-spread": "^7.0.0", + "@babel/plugin-syntax-class-properties": "^7.0.0", + "@babel/plugin-syntax-flow": "^7.0.0", + "@babel/plugin-syntax-jsx": "^7.0.0", + "@babel/plugin-syntax-object-rest-spread": "^7.0.0", + "@babel/plugin-transform-arrow-functions": "^7.0.0", + "@babel/plugin-transform-block-scoped-functions": "^7.0.0", + "@babel/plugin-transform-block-scoping": "^7.0.0", + "@babel/plugin-transform-classes": "^7.0.0", + "@babel/plugin-transform-computed-properties": "^7.0.0", + "@babel/plugin-transform-destructuring": "^7.0.0", + "@babel/plugin-transform-flow-strip-types": "^7.0.0", + "@babel/plugin-transform-for-of": "^7.0.0", + "@babel/plugin-transform-function-name": "^7.0.0", + "@babel/plugin-transform-literals": "^7.0.0", + "@babel/plugin-transform-member-expression-literals": "^7.0.0", + "@babel/plugin-transform-modules-commonjs": "^7.0.0", + "@babel/plugin-transform-object-super": "^7.0.0", + "@babel/plugin-transform-parameters": "^7.0.0", + "@babel/plugin-transform-property-literals": "^7.0.0", + "@babel/plugin-transform-react-display-name": "^7.0.0", + "@babel/plugin-transform-react-jsx": "^7.0.0", + "@babel/plugin-transform-shorthand-properties": "^7.0.0", + "@babel/plugin-transform-spread": "^7.0.0", + "@babel/plugin-transform-template-literals": "^7.0.0", + "babel-plugin-syntax-trailing-function-commas": "^7.0.0-beta.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/babel-preset-jest": { "version": "29.6.3", "license": "MIT", @@ -7109,6 +9669,45 @@ ], "license": "CC-BY-4.0" }, + "node_modules/capital-case": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/capital-case/-/capital-case-1.0.4.tgz", + "integrity": "sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==", + "dev": true, + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3", + "upper-case-first": "^2.0.2" + } + }, + "node_modules/capital-case/node_modules/lower-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", + "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/capital-case/node_modules/no-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", + "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", + "dev": true, + "dependencies": { + "lower-case": "^2.0.2", + "tslib": "^2.0.3" + } + }, + "node_modules/capital-case/node_modules/upper-case-first": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/upper-case-first/-/upper-case-first-2.0.2.tgz", + "integrity": "sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, "node_modules/ccount": { "version": "2.0.1", "license": "MIT", @@ -7155,41 +9754,253 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/chalk": { - "version": "2.4.2", - "license": "MIT", + "node_modules/chalk": { + "version": "2.4.2", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/change-case": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "camel-case": "^3.0.0", + "constant-case": "^2.0.0", + "dot-case": "^2.1.0", + "header-case": "^1.0.0", + "is-lower-case": "^1.1.0", + "is-upper-case": "^1.1.0", + "lower-case": "^1.1.1", + "lower-case-first": "^1.0.0", + "no-case": "^2.3.2", + "param-case": "^2.1.0", + "pascal-case": "^2.0.0", + "path-case": "^2.1.0", + "sentence-case": "^2.1.0", + "snake-case": "^2.1.0", + "swap-case": "^1.1.0", + "title-case": "^2.1.0", + "upper-case": "^1.1.1", + "upper-case-first": "^1.1.0" + } + }, + "node_modules/change-case-all": { + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/change-case-all/-/change-case-all-1.0.15.tgz", + "integrity": "sha512-3+GIFhk3sNuvFAJKU46o26OdzudQlPNBCu1ZQi3cMeMHhty1bhDxu2WrEilVNYaGvqUtR1VSigFcJOiS13dRhQ==", + "dev": true, + "dependencies": { + "change-case": "^4.1.2", + "is-lower-case": "^2.0.2", + "is-upper-case": "^2.0.2", + "lower-case": "^2.0.2", + "lower-case-first": "^2.0.2", + "sponge-case": "^1.0.1", + "swap-case": "^2.0.2", + "title-case": "^3.0.3", + "upper-case": "^2.0.2", + "upper-case-first": "^2.0.2" + } + }, + "node_modules/change-case-all/node_modules/camel-case": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz", + "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==", + "dev": true, + "dependencies": { + "pascal-case": "^3.1.2", + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/change-case": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/change-case/-/change-case-4.1.2.tgz", + "integrity": "sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==", + "dev": true, + "dependencies": { + "camel-case": "^4.1.2", + "capital-case": "^1.0.4", + "constant-case": "^3.0.4", + "dot-case": "^3.0.4", + "header-case": "^2.0.4", + "no-case": "^3.0.4", + "param-case": "^3.0.4", + "pascal-case": "^3.1.2", + "path-case": "^3.0.4", + "sentence-case": "^3.0.4", + "snake-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/constant-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/constant-case/-/constant-case-3.0.4.tgz", + "integrity": "sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==", + "dev": true, + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3", + "upper-case": "^2.0.2" + } + }, + "node_modules/change-case-all/node_modules/dot-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz", + "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==", + "dev": true, + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/header-case": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/header-case/-/header-case-2.0.4.tgz", + "integrity": "sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q==", + "dev": true, + "dependencies": { + "capital-case": "^1.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/is-lower-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-lower-case/-/is-lower-case-2.0.2.tgz", + "integrity": "sha512-bVcMJy4X5Og6VZfdOZstSexlEy20Sr0k/p/b2IlQJlfdKAQuMpiv5w2Ccxb8sKdRUNAG1PnHVHjFSdRDVS6NlQ==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/is-upper-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-upper-case/-/is-upper-case-2.0.2.tgz", + "integrity": "sha512-44pxmxAvnnAOwBg4tHPnkfvgjPwbc5QIsSstNU+YcJ1ovxVzCWpSGosPJOZh/a1tdl81fbgnLc9LLv+x2ywbPQ==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/lower-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", + "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/lower-case-first": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/lower-case-first/-/lower-case-first-2.0.2.tgz", + "integrity": "sha512-EVm/rR94FJTZi3zefZ82fLWab+GX14LJN4HrWBcuo6Evmsl9hEfnqxgcHCKb9q+mNf6EVdsjx/qucYFIIB84pg==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/no-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz", + "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==", + "dev": true, + "dependencies": { + "lower-case": "^2.0.2", + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/param-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz", + "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==", + "dev": true, + "dependencies": { + "dot-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/pascal-case": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz", + "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==", + "dev": true, + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/path-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/path-case/-/path-case-3.0.4.tgz", + "integrity": "sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==", + "dev": true, + "dependencies": { + "dot-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/sentence-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/sentence-case/-/sentence-case-3.0.4.tgz", + "integrity": "sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==", + "dev": true, + "dependencies": { + "no-case": "^3.0.4", + "tslib": "^2.0.3", + "upper-case-first": "^2.0.2" + } + }, + "node_modules/change-case-all/node_modules/snake-case": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/snake-case/-/snake-case-3.0.4.tgz", + "integrity": "sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==", + "dev": true, + "dependencies": { + "dot-case": "^3.0.4", + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/swap-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/swap-case/-/swap-case-2.0.2.tgz", + "integrity": "sha512-kc6S2YS/2yXbtkSMunBtKdah4VFETZ8Oh6ONSmSd9bRxhqTrtARUCBUiWXH3xVPpvR7tz2CSnkuXVE42EcGnMw==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/title-case": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/title-case/-/title-case-3.0.3.tgz", + "integrity": "sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA==", + "dev": true, "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" + "tslib": "^2.0.3" } }, - "node_modules/change-case": { - "version": "3.1.0", + "node_modules/change-case-all/node_modules/upper-case": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-2.0.2.tgz", + "integrity": "sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==", "dev": true, - "license": "MIT", "dependencies": { - "camel-case": "^3.0.0", - "constant-case": "^2.0.0", - "dot-case": "^2.1.0", - "header-case": "^1.0.0", - "is-lower-case": "^1.1.0", - "is-upper-case": "^1.1.0", - "lower-case": "^1.1.1", - "lower-case-first": "^1.0.0", - "no-case": "^2.3.2", - "param-case": "^2.1.0", - "pascal-case": "^2.0.0", - "path-case": "^2.1.0", - "sentence-case": "^2.1.0", - "snake-case": "^2.1.0", - "swap-case": "^1.1.0", - "title-case": "^2.1.0", - "upper-case": "^1.1.1", - "upper-case-first": "^1.1.0" + "tslib": "^2.0.3" + } + }, + "node_modules/change-case-all/node_modules/upper-case-first": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/upper-case-first/-/upper-case-first-2.0.2.tgz", + "integrity": "sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" } }, "node_modules/char-regex": { @@ -7741,6 +10552,15 @@ "node": ">=14" } }, + "node_modules/common-tags": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.2.tgz", + "integrity": "sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==", + "dev": true, + "engines": { + "node": ">=4.0.0" + } + }, "node_modules/compute-scroll-into-view": { "version": "3.0.3", "license": "MIT" @@ -7940,6 +10760,27 @@ "yarn": ">=1" } }, + "node_modules/cross-fetch": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "dev": true, + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "node_modules/cross-inspect": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/cross-inspect/-/cross-inspect-1.0.0.tgz", + "integrity": "sha512-4PFfn4b5ZN6FMNGSZlyb7wUhuN8wvj8t/VQHZdM4JsDcruGJ8L2kf9zao98QIrBPFCpdk27qst/AGTl7pL3ypQ==", + "dev": true, + "dependencies": { + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "license": "MIT", @@ -8101,6 +10942,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/dataloader": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/dataloader/-/dataloader-2.2.2.tgz", + "integrity": "sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g==", + "dev": true + }, "node_modules/date-fns": { "version": "2.30.0", "license": "MIT", @@ -8161,6 +11008,15 @@ } } }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/decimal.js": { "version": "10.4.3", "dev": true, @@ -8382,6 +11238,15 @@ "node": ">=0.4.0" } }, + "node_modules/dependency-graph": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", + "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==", + "dev": true, + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/dequal": { "version": "2.0.3", "license": "MIT", @@ -8389,6 +11254,27 @@ "node": ">=6" } }, + "node_modules/detect-indent": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", + "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "dev": true, + "bin": { + "detect-libc": "bin/detect-libc.js" + }, + "engines": { + "node": ">=0.10" + } + }, "node_modules/detect-node-es": { "version": "1.1.0", "license": "MIT" @@ -8522,6 +11408,15 @@ "url": "https://dotenvx.com" } }, + "node_modules/dset": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/dset/-/dset-3.1.3.tgz", + "integrity": "sha512-20TuZZHCEZ2O71q9/+8BwKwZ0QtD9D8ObhrihJPr+vLLYlSuAU3/zL4cSlgbfeoGHTjCSJBa7NGcrF9/Bx/WJQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/duplexer": { "version": "0.1.2", "dev": true, @@ -9806,6 +12701,24 @@ "node": ">=4" } }, + "node_modules/extract-files": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/extract-files/-/extract-files-11.0.0.tgz", + "integrity": "sha512-FuoE1qtbJ4bBVvv94CC7s0oTnKUGvQs+Rjf1L2SJFfS+HTVVjhPFtehPdQ0JiGPqVNfSSZvL5yzHHQq2Z4WNhQ==", + "dev": true, + "engines": { + "node": "^12.20 || >= 14.13" + }, + "funding": { + "url": "https://github.com/sponsors/jaydenseric" + } + }, + "node_modules/fast-decode-uri-component": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fast-decode-uri-component/-/fast-decode-uri-component-1.0.1.tgz", + "integrity": "sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==", + "dev": true + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "license": "MIT" @@ -9842,6 +12755,30 @@ "version": "2.0.6", "license": "MIT" }, + "node_modules/fast-querystring": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/fast-querystring/-/fast-querystring-1.1.2.tgz", + "integrity": "sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==", + "dev": true, + "dependencies": { + "fast-decode-uri-component": "^1.0.1" + } + }, + "node_modules/fast-url-parser": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", + "integrity": "sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==", + "dev": true, + "dependencies": { + "punycode": "^1.3.2" + } + }, + "node_modules/fast-url-parser/node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==", + "dev": true + }, "node_modules/fastq": { "version": "1.17.1", "license": "ISC", @@ -9867,6 +12804,27 @@ "bser": "2.1.1" } }, + "node_modules/fbjs": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-3.0.5.tgz", + "integrity": "sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==", + "dev": true, + "dependencies": { + "cross-fetch": "^3.1.5", + "fbjs-css-vars": "^1.0.0", + "loose-envify": "^1.0.0", + "object-assign": "^4.1.0", + "promise": "^7.1.1", + "setimmediate": "^1.0.5", + "ua-parser-js": "^1.0.35" + } + }, + "node_modules/fbjs-css-vars": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz", + "integrity": "sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==", + "dev": true + }, "node_modules/fecha": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz", @@ -10456,6 +13414,133 @@ "version": "1.4.0", "license": "MIT" }, + "node_modules/graphql": { + "version": "16.9.0", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.9.0.tgz", + "integrity": "sha512-GGTKBX4SD7Wdb8mqeDLni2oaRGYQWjWHGKPQ24ZMnUtKfcsVoiv4uX8+LJr1K6U5VW2Lu1BwJnj7uiori0YtRw==", + "engines": { + "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" + } + }, + "node_modules/graphql-config": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/graphql-config/-/graphql-config-5.0.3.tgz", + "integrity": "sha512-BNGZaoxIBkv9yy6Y7omvsaBUHOzfFcII3UN++tpH8MGOKFPFkCPZuwx09ggANMt8FgyWP1Od8SWPmrUEZca4NQ==", + "dev": true, + "dependencies": { + "@graphql-tools/graphql-file-loader": "^8.0.0", + "@graphql-tools/json-file-loader": "^8.0.0", + "@graphql-tools/load": "^8.0.0", + "@graphql-tools/merge": "^9.0.0", + "@graphql-tools/url-loader": "^8.0.0", + "@graphql-tools/utils": "^10.0.0", + "cosmiconfig": "^8.1.0", + "jiti": "^1.18.2", + "minimatch": "^4.2.3", + "string-env-interpolation": "^1.0.1", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">= 16.0.0" + }, + "peerDependencies": { + "cosmiconfig-toml-loader": "^1.0.0", + "graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + }, + "peerDependenciesMeta": { + "cosmiconfig-toml-loader": { + "optional": true + } + } + }, + "node_modules/graphql-config/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/graphql-config/node_modules/cosmiconfig": { + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "dev": true, + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/graphql-config/node_modules/minimatch": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.3.tgz", + "integrity": "sha512-lIUdtK5hdofgCTu3aT0sOaHsYR37viUuIc0rwnnDXImbwFRcumyLMeZaM0t0I/fgxS6s6JMfu0rLD1Wz9pv1ng==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/graphql-request": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-6.1.0.tgz", + "integrity": "sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw==", + "dev": true, + "dependencies": { + "@graphql-typed-document-node/core": "^3.2.0", + "cross-fetch": "^3.1.5" + }, + "peerDependencies": { + "graphql": "14 - 16" + } + }, + "node_modules/graphql-tag": { + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.12.6.tgz", + "integrity": "sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==", + "dev": true, + "dependencies": { + "tslib": "^2.1.0" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + } + }, + "node_modules/graphql-ws": { + "version": "5.16.0", + "resolved": "https://registry.npmjs.org/graphql-ws/-/graphql-ws-5.16.0.tgz", + "integrity": "sha512-Ju2RCU2dQMgSKtArPbEtsK5gNLnsQyTNIo/T7cZNp96niC1x0KdJNZV0TIoilceBPQwfb5itrGl8pkFeOUMl4A==", + "dev": true, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "graphql": ">=0.11 <=16" + } + }, "node_modules/gray-matter": { "version": "4.0.3", "license": "MIT", @@ -10906,6 +13991,15 @@ "node": ">= 4" } }, + "node_modules/immutable": { + "version": "3.7.6", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-3.7.6.tgz", + "integrity": "sha512-AizQPcaofEtO11RZhPPHBOJRdo/20MKQF9mBLnVkBoyHi1/zXK8fzVdnEpSV9gxqtnh6Qomfp3F0xT5qP/vThw==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/import-fresh": { "version": "3.3.0", "license": "MIT", @@ -10920,6 +14014,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/import-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/import-from/-/import-from-4.0.0.tgz", + "integrity": "sha512-P9J71vT5nLlDeV8FHs5nNxaLbrpfAV5cF5srvbZfpwpcJoM/xZR3hiv+q+SAnuSmuGbXMWud063iIMx/V/EWZQ==", + "dev": true, + "engines": { + "node": ">=12.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/import-local": { "version": "3.1.0", "license": "MIT", @@ -11154,6 +14260,19 @@ "node": ">= 12" } }, + "node_modules/is-absolute": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", + "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", + "dev": true, + "dependencies": { + "is-relative": "^1.0.0", + "is-windows": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-alphabetical": { "version": "1.0.4", "license": "MIT", @@ -11538,6 +14657,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-relative": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", + "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", + "dev": true, + "dependencies": { + "is-unc-path": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-set": { "version": "2.0.3", "license": "MIT", @@ -11610,6 +14741,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-unc-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", + "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", + "dev": true, + "dependencies": { + "unc-path-regex": "^0.1.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-unicode-supported": { "version": "0.1.0", "license": "MIT", @@ -11662,6 +14805,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-wsl": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", @@ -11699,6 +14851,15 @@ "node": ">=0.10.0" } }, + "node_modules/isomorphic-ws": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz", + "integrity": "sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==", + "dev": true, + "peerDependencies": { + "ws": "*" + } + }, "node_modules/istanbul-lib-coverage": { "version": "3.2.2", "license": "BSD-3-Clause", @@ -13226,7 +16387,25 @@ "node": ">=10" }, "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/jiti": { + "version": "1.21.6", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", + "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "dev": true, + "bin": { + "jiti": "bin/jiti.js" + } + }, + "node_modules/jose": { + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/jose/-/jose-5.6.3.tgz", + "integrity": "sha512-1Jh//hEEwMhNYPDDLwXHa2ePWgWiFNNUadVmguAAw2IJ6sj9mNxV5tGXJNqlMkJAybF6Lgw1mISDxTePP/187g==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/panva" } }, "node_modules/js-sha256": { @@ -13362,6 +16541,19 @@ "version": "1.0.1", "license": "MIT" }, + "node_modules/json-to-pretty-yaml": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/json-to-pretty-yaml/-/json-to-pretty-yaml-1.2.2.tgz", + "integrity": "sha512-rvm6hunfCcqegwYaG5T4yKJWxc9FXFgBVrcTZ4XfSVRwa5HA/Xs+vB/Eo9treYYHCeNM0nrSUr82V/M31Urc7A==", + "dev": true, + "dependencies": { + "remedial": "^1.0.7", + "remove-trailing-spaces": "^1.0.6" + }, + "engines": { + "node": ">= 0.2.0" + } + }, "node_modules/json5": { "version": "2.2.3", "license": "MIT", @@ -13793,11 +16985,21 @@ "version": "4.17.21", "license": "MIT" }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" + }, "node_modules/lodash.get": { "version": "4.4.2", "dev": true, "license": "MIT" }, + "node_modules/lodash.ismatch": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", + "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==" + }, "node_modules/lodash.memoize": { "version": "4.1.2", "license": "MIT" @@ -13810,6 +17012,17 @@ "version": "4.6.2", "license": "MIT" }, + "node_modules/lodash.snakecase": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", + "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==" + }, + "node_modules/lodash.sortby": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", + "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", + "dev": true + }, "node_modules/log-symbols": { "version": "3.0.0", "license": "MIT", @@ -14168,6 +17381,15 @@ "tmpl": "1.0.5" } }, + "node_modules/map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/markdown-extensions": { "version": "1.1.1", "license": "MIT", @@ -14576,6 +17798,23 @@ "node": ">= 8" } }, + "node_modules/meros": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/meros/-/meros-1.3.0.tgz", + "integrity": "sha512-2BNGOimxEz5hmjUG2FwoxCt5HN7BXdaWyFqEwxPTrJzVdABtrL4TiHTcsWSFAxPQ/tOnEaQEJh3qWq71QRMY+w==", + "dev": true, + "engines": { + "node": ">=13" + }, + "peerDependencies": { + "@types/node": ">=13" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, "node_modules/micromark": { "version": "3.2.0", "funding": [ @@ -15685,6 +18924,57 @@ "lower-case": "^1.1.1" } }, + "node_modules/node-addon-api": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.0.tgz", + "integrity": "sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g==", + "dev": true, + "engines": { + "node": "^16 || ^18 || >= 20" + } + }, + "node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dev": true, + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-fetch/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true + }, + "node_modules/node-fetch/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true + }, + "node_modules/node-fetch/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, "node_modules/node-int64": { "version": "0.4.0", "license": "MIT" @@ -15899,6 +19189,12 @@ "node": ">=8" } }, + "node_modules/nullthrows": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz", + "integrity": "sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==", + "dev": true + }, "node_modules/nwsapi": { "version": "2.2.7", "dev": true, @@ -16344,6 +19640,20 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/parse-filepath": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz", + "integrity": "sha512-FwdRXKCohSVeXqwtYonZTXtbGJKrn+HNyWDYVcp5yuJlesTwNH4rsmRZ+GrKAPJ5bLpRxESMeS+Rl0VCHRvB2Q==", + "dev": true, + "dependencies": { + "is-absolute": "^1.0.0", + "map-cache": "^0.2.0", + "path-root": "^0.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, "node_modules/parse-json": { "version": "5.2.0", "license": "MIT", @@ -16412,6 +19722,27 @@ "version": "1.0.7", "license": "MIT" }, + "node_modules/path-root": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz", + "integrity": "sha512-QLcPegTHF11axjfojBIoDygmS2E3Lf+8+jI6wOVmNVenrKSo3mFdSGiIgdSHenczw3wPtlVMQaFVwGmM7BJdtg==", + "dev": true, + "dependencies": { + "path-root-regex": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-root-regex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz", + "integrity": "sha512-4GlJ6rZDhQZFE0DPVKh0e9jmZ5egZfxTkp7bcRDuPlJXbAwhxcl2dINPUAsjLdejqaLsCeg8axcLjIbvBjN4pQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/path-scurry": { "version": "1.10.1", "license": "BlueOak-1.0.0", @@ -16693,6 +20024,15 @@ "node": ">=6" } }, + "node_modules/promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "dev": true, + "dependencies": { + "asap": "~2.0.3" + } + }, "node_modules/promise-inflight": { "version": "1.0.1", "license": "ISC" @@ -16995,6 +20335,24 @@ ], "license": "MIT" }, + "node_modules/pvtsutils": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.5.tgz", + "integrity": "sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==", + "dev": true, + "dependencies": { + "tslib": "^2.6.1" + } + }, + "node_modules/pvutils": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/pvutils/-/pvutils-1.1.3.tgz", + "integrity": "sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/querystringify": { "version": "2.2.0", "dev": true, @@ -17294,6 +20652,14 @@ "node": ">=8.10.0" } }, + "node_modules/readline-sync": { + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/readline-sync/-/readline-sync-1.4.10.tgz", + "integrity": "sha512-gNva8/6UAe8QYepIQH/jQ2qn91Qj0B9sYjMBBs3QOB8F2CXcKgLxQaJRP76sWVRQt+QU+8fAkCbCvjjMFu7Ycw==", + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/rechoir": { "version": "0.6.2", "dev": true, @@ -17540,6 +20906,17 @@ "@types/unist": "*" } }, + "node_modules/relay-runtime": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/relay-runtime/-/relay-runtime-12.0.0.tgz", + "integrity": "sha512-QU6JKr1tMsry22DXNy9Whsq5rmvwr3LSZiiWV/9+DFpuTWvp+WFhobWMc8TC4OjKFfNhEZy7mOiqUAn5atQtug==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.0.0", + "fbjs": "^3.0.0", + "invariant": "^2.2.4" + } + }, "node_modules/remark-gfm": { "version": "3.0.1", "license": "MIT", @@ -17624,6 +21001,32 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/remeda": { + "version": "1.61.0", + "resolved": "https://registry.npmjs.org/remeda/-/remeda-1.61.0.tgz", + "integrity": "sha512-caKfSz9rDeSKBQQnlJnVW3mbVdFgxgGWQKq1XlFokqjf+hQD5gxutLGTTY2A/x24UxVyJe9gH5fAkFI63ULw4A==" + }, + "node_modules/remedial": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/remedial/-/remedial-1.0.8.tgz", + "integrity": "sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==", + "dev": true + }, + "node_modules/remove-trailing-spaces": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/remove-trailing-spaces/-/remove-trailing-spaces-1.0.8.tgz", + "integrity": "sha512-O3vsMYfWighyFbTd8hk8VaSj9UAGENxAtX+//ugIst2RMk5e03h6RoIS+0ylsFxY1gvmPuAY/PO4It+gPEeySA==", + "dev": true + }, "node_modules/require-directory": { "version": "2.1.1", "license": "MIT", @@ -17639,6 +21042,12 @@ "node": ">=0.10.0" } }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, "node_modules/requires-port": { "version": "1.0.0", "dev": true, @@ -17937,6 +21346,12 @@ "loose-envify": "^1.1.0" } }, + "node_modules/scuid": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/scuid/-/scuid-1.1.0.tgz", + "integrity": "sha512-MuCAyrGZcTLfQoH2XoBlQ8C6bzwN88XT/0slOGz0pn8+gIP85BOAfYa44ZXQUTOwRwPU0QvgU+V+OSajl/59Xg==", + "dev": true + }, "node_modules/section-matter": { "version": "1.0.0", "license": "MIT", @@ -17984,6 +21399,12 @@ "upper-case-first": "^1.1.2" } }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", + "dev": true + }, "node_modules/set-function-length": { "version": "1.2.2", "license": "MIT", @@ -18012,6 +21433,12 @@ "node": ">= 0.4" } }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==", + "dev": true + }, "node_modules/shallowequal": { "version": "1.1.0", "license": "MIT" @@ -18033,6 +21460,15 @@ "node": ">=8" } }, + "node_modules/shell-quote": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/shelljs": { "version": "0.8.5", "dev": true, @@ -18123,6 +21559,12 @@ "version": "3.0.7", "license": "ISC" }, + "node_modules/signedsource": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/signedsource/-/signedsource-1.0.0.tgz", + "integrity": "sha512-6+eerH9fEnNmi/hyM1DXcRK3pWdoMQtlkQ+ns0ntzunjKqp5i3sKCc80ym8Fib3iaYhdJUOPdhlJWj1tvge2Ww==", + "dev": true + }, "node_modules/simple-swizzle": { "version": "0.2.2", "license": "MIT", @@ -18270,6 +21712,15 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/sponge-case": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/sponge-case/-/sponge-case-1.0.1.tgz", + "integrity": "sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA==", + "dev": true, + "dependencies": { + "tslib": "^2.0.3" + } + }, "node_modules/sprintf-js": { "version": "1.1.3", "license": "BSD-3-Clause" @@ -18354,6 +21805,12 @@ "node": ">=0.6.19" } }, + "node_modules/string-env-interpolation": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/string-env-interpolation/-/string-env-interpolation-1.0.1.tgz", + "integrity": "sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg==", + "dev": true + }, "node_modules/string-length": { "version": "4.0.2", "license": "MIT", @@ -18991,6 +22448,12 @@ } } }, + "node_modules/ts-log": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/ts-log/-/ts-log-2.2.5.tgz", + "integrity": "sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA==", + "dev": true + }, "node_modules/ts-node": { "version": "10.9.2", "devOptional": true, @@ -19033,6 +22496,11 @@ } } }, + "node_modules/ts-toolbelt": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/ts-toolbelt/-/ts-toolbelt-9.6.0.tgz", + "integrity": "sha512-nsZd8ZeNUzukXPlJmTBwUAuABDe/9qtVDelJeT/qW0ow3ZS3BsQJtNkan1802aM9Uf68/Y8ljw86Hu0h5IUW3w==" + }, "node_modules/tsconfig-paths": { "version": "3.15.0", "license": "MIT", @@ -19275,6 +22743,29 @@ "node": ">=14.17" } }, + "node_modules/ua-parser-js": { + "version": "1.0.38", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.38.tgz", + "integrity": "sha512-Aq5ppTOfvrCMgAPneW1HfWj66Xi7XL+/mIy996R1/CLS/rcyJQm6QZdsKrUeivDFQ+Oc9Wyuwor8Ze8peEoUoQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + } + ], + "engines": { + "node": "*" + } + }, "node_modules/uc.micro": { "version": "2.1.0", "license": "MIT", @@ -19305,6 +22796,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/unc-path-regex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", + "integrity": "sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/undici": { "version": "5.28.4", "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", @@ -19502,6 +23002,30 @@ "node": ">= 10.0.0" } }, + "node_modules/unixify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unixify/-/unixify-1.0.0.tgz", + "integrity": "sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg==", + "dev": true, + "dependencies": { + "normalize-path": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/unixify/node_modules/normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==", + "dev": true, + "dependencies": { + "remove-trailing-separator": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/update-browserslist-db": { "version": "1.0.13", "funding": [ @@ -19569,6 +23093,12 @@ "requires-port": "^1.0.0" } }, + "node_modules/urlpattern-polyfill": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz", + "integrity": "sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ==", + "dev": true + }, "node_modules/use-callback-ref": { "version": "1.3.2", "license": "MIT", @@ -19689,6 +23219,15 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, + "node_modules/value-or-promise": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/value-or-promise/-/value-or-promise-1.0.12.tgz", + "integrity": "sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q==", + "dev": true, + "engines": { + "node": ">=12" + } + }, "node_modules/vfile": { "version": "5.3.7", "license": "MIT", @@ -19805,6 +23344,28 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/web-streams-polyfill": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/webcrypto-core": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.8.0.tgz", + "integrity": "sha512-kR1UQNH8MD42CYuLzvibfakG5Ew5seG85dMMoAM/1LqvckxaF6pUiidLuraIu4V+YCIFabYecUZAW0TuxAoaqw==", + "dev": true, + "dependencies": { + "@peculiar/asn1-schema": "^2.3.8", + "@peculiar/json-schema": "^1.1.12", + "asn1js": "^3.0.1", + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" + } + }, "node_modules/webidl-conversions": { "version": "7.0.0", "dev": true, @@ -19987,6 +23548,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/which-module": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", + "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==", + "dev": true + }, "node_modules/which-typed-array": { "version": "1.1.15", "license": "MIT", @@ -20216,6 +23783,12 @@ "node": ">= 6" } }, + "node_modules/yaml-ast-parser": { + "version": "0.0.43", + "resolved": "https://registry.npmjs.org/yaml-ast-parser/-/yaml-ast-parser-0.0.43.tgz", + "integrity": "sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==", + "dev": true + }, "node_modules/yargs": { "version": "17.7.2", "license": "MIT", @@ -20275,6 +23848,14 @@ "url": "https://github.com/sponsors/holtwick" } }, + "node_modules/zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "node_modules/zwitch": { "version": "2.0.4", "license": "MIT", @@ -20290,6 +23871,7 @@ "dependencies": { "@sitecore/contenthub-one-api": "^1.3.1", "@sitecore/contenthub-one-sdk": "^1.3.1", + "@tanstack/react-query": "^5.49.2", "@tiptap/extension-blockquote": "^2.2.4", "@tiptap/extension-bold": "^2.2.4", "@tiptap/extension-bullet-list": "^2.2.4", @@ -20317,9 +23899,14 @@ "@tiptap/html": "^2.2.4", "@tiptap/react": "^2.2.4", "axios-request-throttle": "^1.0.0", + "graphql": "^16.9.0", + "graphql-request": "^7.1.0", "prosemirror-to-html-js": "^1.0.2" }, "devDependencies": { + "@graphql-codegen/cli": "^5.0.2", + "@graphql-codegen/client-preset": "^4.3.2", + "@parcel/watcher": "^2.4.1", "@scdp/eslint-config": "*", "@scdp/jest-presets": "*", "@scdp/typescript-config": "*", @@ -20330,6 +23917,60 @@ "typescript": "^5.4.4" } }, + "packages/changelog/node_modules/@tanstack/query-core": { + "version": "5.49.1", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.49.1.tgz", + "integrity": "sha512-JnC9ndmD1KKS01Rt/ovRUB1tmwO7zkyXAyIxN9mznuJrcNtOrkmOnQqdJF2ib9oHzc2VxHomnEG7xyfo54Npkw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + } + }, + "packages/changelog/node_modules/@tanstack/react-query": { + "version": "5.49.2", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.49.2.tgz", + "integrity": "sha512-6rfwXDK9BvmHISbNFuGd+wY3P44lyW7lWiA9vIFGT/T0P9aHD1VkjTvcM4SDAIbAQ9ygEZZoLt7dlU1o3NjMVA==", + "dependencies": { + "@tanstack/query-core": "5.49.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/tannerlinsley" + }, + "peerDependencies": { + "react": "^18.0.0" + } + }, + "packages/changelog/node_modules/graphql-request": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-7.1.0.tgz", + "integrity": "sha512-Ouu/lYVFhARS1aXeZoVJWnGT6grFJXTLwXJuK4mUGGRo0EUk1JkyYp43mdGmRgUVezpRm6V5Sq3t8jBDQcajng==", + "dependencies": { + "@graphql-typed-document-node/core": "^3.2.0", + "@molt/command": "^0.9.0", + "zod": "^3.23.8" + }, + "bin": { + "graffle": "build/cli/generate.js" + }, + "peerDependencies": { + "@dprint/formatter": "^0.3.0", + "@dprint/typescript": "^0.91.1", + "dprint": "^0.46.2", + "graphql": "14 - 16" + }, + "peerDependenciesMeta": { + "@dprint/formatter": { + "optional": true + }, + "@dprint/typescript": { + "optional": true + }, + "dprint": { + "optional": true + } + } + }, "packages/eslint-config": { "name": "@scdp/eslint-config", "version": "0.0.0", diff --git a/packages/changelog/package.json b/packages/changelog/package.json index 2a13cb7af..5a14c348b 100644 --- a/packages/changelog/package.json +++ b/packages/changelog/package.json @@ -5,7 +5,8 @@ "types": "./src/types/index.ts", "license": "MIT", "scripts": { - "lint": "eslint \"**/*.ts*\"" + "lint": "eslint \"**/*.ts*\"", + "generate": "graphql-codegen --config ./src/gql/codegen.ts" }, "exports": { ".": "./src/index.ts", @@ -14,10 +15,13 @@ "./utils": "./src/utils/index.ts" }, "devDependencies": { - "@tiptap/core": "latest", + "@graphql-codegen/cli": "^5.0.2", + "@graphql-codegen/client-preset": "^4.3.2", + "@parcel/watcher": "^2.4.1", "@scdp/eslint-config": "*", "@scdp/jest-presets": "*", "@scdp/typescript-config": "*", + "@tiptap/core": "latest", "@turbo/gen": "^1.13.2", "@types/eslint": "^8.56.7", "@types/jest": "^29.5.12", @@ -26,6 +30,7 @@ "dependencies": { "@sitecore/contenthub-one-api": "^1.3.1", "@sitecore/contenthub-one-sdk": "^1.3.1", + "@tanstack/react-query": "^5.49.2", "@tiptap/extension-blockquote": "^2.2.4", "@tiptap/extension-bold": "^2.2.4", "@tiptap/extension-bullet-list": "^2.2.4", @@ -53,6 +58,8 @@ "@tiptap/html": "^2.2.4", "@tiptap/react": "^2.2.4", "axios-request-throttle": "^1.0.0", + "graphql": "^16.9.0", + "graphql-request": "^7.1.0", "prosemirror-to-html-js": "^1.0.2" } } \ No newline at end of file diff --git a/packages/changelog/src/changelog.ts b/packages/changelog/src/changelog.ts index 7af2110b2..03ff5421e 100644 --- a/packages/changelog/src/changelog.ts +++ b/packages/changelog/src/changelog.ts @@ -1,9 +1,32 @@ -import { GetAllChangeTypes } from './lib/changeType'; -import { GetAllProducts, GetEntryCountByProductId } from './lib/products'; -import { PaginatedSearch, Search, SearchByDate } from './lib/search'; -import { GetAllStatuses } from './lib/status'; +import { getCustomEntryByTitleQuery } from './gql/custom/queries'; +import { + GetAllChangetypesDocument, + GetAllChangetypesQuery, + GetAllChangetypesQueryVariables, + GetAllProductsDocument, + GetAllProductsQuery, + GetAllProductsQueryVariables, + GetAllStatusDocument, + GetAllStatusQuery, + GetAllStatusQueryVariables, + GetNumberOfEntriesByProductDocument, + GetNumberOfEntriesByProductQuery, + GetNumberOfEntriesByProductQueryVariables, + SearchByDateDocument, + SearchByDateQuery, + SearchByDateQueryVariables, + SearchByProductDocument, + SearchByProductQuery, + SearchByProductQueryVariables, + SearchByProductsAndChangeTypesDocument, + SearchByProductsAndChangeTypesQuery, + SearchByProductsAndChangeTypesQueryVariables, + SearchByTitleQuery, + SearchByTitleQueryVariables, +} from './gql/generated/graphql'; +import { fetchGraphQL } from './lib/common/fetch'; import { ParseStatus, Status } from './types'; -import { ChangelogEntry, ChangelogEntryList, ChangelogEntrySummary, ParseRawData, ParseRawSummaryData, parseChangeLogItem } from './types/changeLogEntry'; +import { ChangelogEntry, ChangelogEntryList, ParseRawData, parseChangeLogItem } from './types/changeLogEntry'; import { ChangeType, ParseChangeType } from './types/changeType'; import { ChangelogCredentials } from './types/changelog'; import { ParseProduct, Product } from './types/product'; @@ -18,55 +41,74 @@ export class Changelog { } async getAllEntries(): Promise> { - const response = await Search(this.credentials, this.isPreview); - return ParseRawData(response.data); + return this.getEntries({ pageSize: 10 }); } - async getEntriesByProduct(productId: string): Promise> { - const response = await Search(this.credentials, this.isPreview, productId); - return ParseRawData(response.data); + async getEntryByTitle(entryTitle: string, productId?: string): Promise { + const CustomEntryByTitleDocument = getCustomEntryByTitleQuery(entryTitle); + const response = await fetchGraphQL(CustomEntryByTitleDocument, this.credentials, this.isPreview, { + date: new Date(), + productId: productId ? [productId] : [], + }); + + return parseChangeLogItem(response.data.data.results[0]); } - async getEntriesPaginated(pageSize: string, productId: string, changeTypeId: string, endCursor?: string): Promise> { - const _pageSize: number = Number(pageSize) ?? undefined; - const _endCursor: string = endCursor ?? ''; + async getEntriesByDate(date: Date, pageSize?: number, endCursor?: string): Promise> { + const _startDate = new Date(date); + _startDate.setDate(date.getDate() - 1); - const response = await PaginatedSearch(this.credentials, this.isPreview, _pageSize, _endCursor, productId, changeTypeId); - return ParseRawData(response.data); - } + const _endDate = new Date(date); + _endDate.setDate(date.getDate() + 1); - async getEntryByTitle(entryTitle: string, productId?: string, changeTypeId?: string): Promise { - const response = await Search(this.credentials, this.isPreview, productId, changeTypeId, false, entryTitle, 1); + const response = await fetchGraphQL(SearchByDateDocument, this.credentials, this.isPreview, { + startDate: _startDate, + endDate: _endDate, + first: pageSize ? pageSize : 5, + after: endCursor ?? null, + }); - return parseChangeLogItem(response.data.results[0]); + return ParseRawData(response.data); } - async getEntriesByDate(date: Date, summary?: boolean, pageSize?: string, endCursor?: string): Promise> { - const _pageSize: number = Number(pageSize) ?? undefined; - const _endCursor: string = endCursor ?? ''; + async getEntriesByProduct(productId: string): Promise> { + const response = await fetchGraphQL(SearchByProductDocument, this.credentials, this.isPreview, { + date: new Date(), + productId: productId, + }); - const response = await SearchByDate(this.credentials, this.isPreview, date, summary, _pageSize, _endCursor); return ParseRawData(response.data); } - async getSummarizedEntries(productId?: string, changeTypeId?: string): Promise> { - const response = await Search(this.credentials, this.isPreview, productId, changeTypeId, true, undefined, 50); - return ParseRawSummaryData(response.data); + async getEntriesPaginated(pageSize: string, productId: string, changeTypeId: string, endCursor?: string): Promise> { + return this.getEntries({ productId, changeTypeId, pageSize: Number(pageSize), endCursor }); + } + + async getEntries({ productId, changeTypeId, pageSize, endCursor }: { productId?: string; changeTypeId?: string; pageSize?: number; endCursor?: string } = {}): Promise> { + const response = await fetchGraphQL(SearchByProductsAndChangeTypesDocument, this.credentials, this.isPreview, { + first: pageSize ? pageSize : 5, + after: endCursor ?? '', + date: new Date(), + productIds: productId?.split('|') ?? [], + changeTypeIds: changeTypeId?.split('|') ?? [], + }); + + return ParseRawData(response.data); } async getChangeTypes(): Promise { - const response = await GetAllChangeTypes(this.credentials, this.isPreview); + const response = await fetchGraphQL(GetAllChangetypesDocument, this.credentials, this.isPreview); return ParseChangeType(response.data); } async getStatus(): Promise { - const response = await GetAllStatuses(this.credentials, this.isPreview); + const response = await fetchGraphQL(GetAllStatusDocument, this.credentials, this.isPreview); return ParseStatus(response.data); } async getProducts(): Promise { // Get all products - const response = await GetAllProducts(this.credentials, this.isPreview); + const response = await fetchGraphQL(GetAllProductsDocument, this.credentials, this.isPreview); const products = ParseProduct(response.data); // Check whether there are entries that have it selected @@ -90,3 +132,10 @@ export class Changelog { return asyncFunc(); } } + +export async function GetEntryCountByProductId(credentials: ChangelogCredentials, productId: string, preview: boolean): Promise { + const response = await fetchGraphQL(GetNumberOfEntriesByProductDocument, credentials, preview, { productId: [productId] }); + 1; + + return response.data?.changelog.total; +} diff --git a/packages/changelog/src/gql/codegen.ts b/packages/changelog/src/gql/codegen.ts new file mode 100644 index 000000000..1dda89441 --- /dev/null +++ b/packages/changelog/src/gql/codegen.ts @@ -0,0 +1,46 @@ +import type { CodegenConfig } from '@graphql-codegen/cli'; + +const config: CodegenConfig = { + overwrite: true, + schema: [ + { + './src/gql/schema/schema.graphql': { + assumeValidSDL: true, + }, + }, + ], + documents: ['./src/gql/query/**/*.graphql'], + ignoreNoDocuments: false, + generates: { + './src/gql/generated/': { + preset: 'client', + config: { + avoidOptionals: { + field: true, + inputValue: true, + object: true, + defaultValue: true, + }, + documentMode: 'string', + skipTypename: true, + skipDocumentsValidation: { + skipValidationAgainstSchema: true, + }, + scalars: { + ID: { + input: 'string', + output: 'string', + }, + DateTime: 'Date', + JSON: '{ [key: string]: any }', + }, + }, + presetConfig: { + fragmentMasking: false, + }, + }, + }, + hooks: { afterAllFileWrite: ['prettier --write'] }, +}; + +export default config; diff --git a/packages/changelog/src/gql/custom/queries.ts b/packages/changelog/src/gql/custom/queries.ts new file mode 100644 index 000000000..b6f076287 --- /dev/null +++ b/packages/changelog/src/gql/custom/queries.ts @@ -0,0 +1,104 @@ +import { SearchByTitleQuery, SearchByTitleQueryVariables, TypedDocumentString } from '../generated/graphql'; + +export function getCustomEntryByTitleQuery(entryTitle: string): TypedDocumentString { + let whereClauseSearchTerm = ''; + + const searchArray = entryTitle.split('-'); + + if (searchArray.length > 0) { + whereClauseSearchTerm += `AND: [`; + searchArray.forEach((term: string) => { + whereClauseSearchTerm += `{title_contains: "${term}"}`; + }); + whereClauseSearchTerm += `]`; + } + + const query = new TypedDocumentString(` + query searchByTitle($date: DateTime, $productId: [ID]) { + data: allChangelog( + first: 1 + where: { + releaseDate_lt: $date + sitecoreProduct: { changelog_ids: $productId } + ${whereClauseSearchTerm} + } + ) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} + fragment changeType on Changetype { + id + name + changeType +} +fragment changelogEntry on Changelog { + id + name + title + description + fullArticle + readMoreLink + breakingChange + version + releaseDate + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} +fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} +fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} +fragment status on Status { + id + name + description + identifier +}`) as unknown as TypedDocumentString; + + return query; +} diff --git a/packages/changelog/src/gql/generated/gql.ts b/packages/changelog/src/gql/generated/gql.ts new file mode 100644 index 000000000..232c28e0b --- /dev/null +++ b/packages/changelog/src/gql/generated/gql.ts @@ -0,0 +1,125 @@ +/* eslint-disable */ +import * as types from './graphql'; + +/** + * Map of all GraphQL operations in the project. + * + * This map has several performance disadvantages: + * 1. It is not tree-shakeable, so it will include all operations in the project. + * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle. + * 3. It does not support dead code elimination, so it will add unused operations. + * + * Therefore it is highly recommended to use the babel or swc plugin for production. + */ +const documents = { + 'fragment changeType on Changetype {\n id\n name\n changeType\n}': types.ChangeTypeFragmentDoc, + 'fragment changelogEntry on Changelog {\n id\n name\n title\n description\n fullArticle\n readMoreLink\n breakingChange\n version\n releaseDate\n image {\n total\n results {\n ...media\n }\n }\n sitecoreProduct {\n total\n results {\n ...product\n }\n }\n changeType {\n total\n results {\n ...changeType\n }\n }\n status {\n total\n results {\n ...status\n }\n }\n}': + types.ChangelogEntryFragmentDoc, + 'fragment changelogEntrySummary on Changelog {\n id\n name\n title\n description\n readMoreLink\n breakingChange\n version\n releaseDate\n image {\n total\n results {\n ...media\n }\n }\n sitecoreProduct {\n total\n results {\n ...product\n }\n }\n changeType {\n total\n results {\n ...changeType\n }\n }\n status {\n total\n results {\n ...status\n }\n }\n}': + types.ChangelogEntrySummaryFragmentDoc, + 'fragment media on Media {\n id\n name\n fileName\n fileUrl\n description\n fileWidth\n fileHeight\n fileId\n fileSize\n fileType\n}': types.MediaFragmentDoc, + 'fragment product on SitecoreProduct {\n id\n name\n productName\n productDescription\n darkIcon: productIconDark\n lightIcon: productIconLight\n}': types.ProductFragmentDoc, + 'fragment status on Status {\n id\n name\n description\n identifier\n}': types.StatusFragmentDoc, + 'query GetAllChangetypes {\n allChangetype {\n total\n results {\n ...changeType\n }\n }\n}': types.GetAllChangetypesDocument, + 'query GetAllProducts {\n allSitecoreProduct(first: 25) {\n total\n results {\n ...product\n }\n }\n}': types.GetAllProductsDocument, + 'query GetAllStatus {\n allStatus {\n total\n results {\n ...status\n }\n }\n}': types.GetAllStatusDocument, + 'query GetLatestEntries($first: Int = 5, $after: String = "", $date: DateTime!) {\n changelog: allChangelog(\n orderBy: RELEASEDATE_DESC\n first: $first\n after: $after\n where: {releaseDate_lt: $date}\n ) {\n pageInfo {\n hasNext\n endCursor\n }\n total\n results {\n ...changelogEntry\n }\n }\n}': + types.GetLatestEntriesDocument, + 'query getNumberOfEntriesByProduct($productId: [ID]!) {\n changelog: allChangelog(where: {sitecoreProduct: {changelog_ids: $productId}}) {\n total\n }\n}': types.GetNumberOfEntriesByProductDocument, + 'query GetStatusByIdentifier($identifier: String) {\n allStatus(where: {identifier_eq: $identifier}) {\n total\n results {\n ...status\n }\n }\n}': types.GetStatusByIdentifierDocument, + 'query SearchByDate($startDate: DateTime!, $endDate: DateTime!, $first: Int = 5, $after: String = "") {\n changelog: allChangelog(\n first: $first\n after: $after\n where: {releaseDate_between: [$startDate, $endDate]}\n ) {\n pageInfo {\n hasNext\n endCursor\n }\n total\n results {\n ...changelogEntry\n }\n }\n}': + types.SearchByDateDocument, + 'query searchByProduct($date: DateTime, $productId: [ID], $changeTypeIds: [ID] = [], $first: Int = 5, $after: String = "") {\n changelog: allChangelog(\n orderBy: RELEASEDATE_DESC\n first: $first\n after: $after\n where: {releaseDate_lt: $date, sitecoreProduct: {changelog_ids: $productId}, AND: {OR: [{changeType: {changelog_ids: $changeTypeIds}}]}}\n ) {\n pageInfo {\n hasNext\n endCursor\n }\n total\n results {\n ...changelogEntry\n }\n }\n}': + types.SearchByProductDocument, + 'query searchByProductsAndChangeTypes($date: DateTime!, $productIds: [ID], $changeTypeIds: [ID], $first: Int = 5, $after: String = "") {\n changelog: allChangelog(\n orderBy: RELEASEDATE_DESC\n first: $first\n after: $after\n where: {releaseDate_lt: $date, OR: [{sitecoreProduct: {changelog_ids: $productIds}}], AND: {OR: [{changeType: {changelog_ids: $changeTypeIds}}]}}\n ) {\n pageInfo {\n hasNext\n endCursor\n }\n total\n results {\n ...changelogEntry\n }\n }\n}': + types.SearchByProductsAndChangeTypesDocument, + 'query searchByTitle($date: DateTime, $productId: [ID]) {\n data: allChangelog(\n first: 1\n where: {releaseDate_lt: $date, sitecoreProduct: {changelog_ids: $productId}}\n ) {\n pageInfo {\n hasNext\n endCursor\n }\n total\n results {\n ...changelogEntry\n }\n }\n}': + types.SearchByTitleDocument, +}; + +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql(source: 'fragment changeType on Changetype {\n id\n name\n changeType\n}'): typeof import('./graphql').ChangeTypeFragmentDoc; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: 'fragment changelogEntry on Changelog {\n id\n name\n title\n description\n fullArticle\n readMoreLink\n breakingChange\n version\n releaseDate\n image {\n total\n results {\n ...media\n }\n }\n sitecoreProduct {\n total\n results {\n ...product\n }\n }\n changeType {\n total\n results {\n ...changeType\n }\n }\n status {\n total\n results {\n ...status\n }\n }\n}' +): typeof import('./graphql').ChangelogEntryFragmentDoc; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: 'fragment changelogEntrySummary on Changelog {\n id\n name\n title\n description\n readMoreLink\n breakingChange\n version\n releaseDate\n image {\n total\n results {\n ...media\n }\n }\n sitecoreProduct {\n total\n results {\n ...product\n }\n }\n changeType {\n total\n results {\n ...changeType\n }\n }\n status {\n total\n results {\n ...status\n }\n }\n}' +): typeof import('./graphql').ChangelogEntrySummaryFragmentDoc; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql(source: 'fragment media on Media {\n id\n name\n fileName\n fileUrl\n description\n fileWidth\n fileHeight\n fileId\n fileSize\n fileType\n}'): typeof import('./graphql').MediaFragmentDoc; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql(source: 'fragment product on SitecoreProduct {\n id\n name\n productName\n productDescription\n darkIcon: productIconDark\n lightIcon: productIconLight\n}'): typeof import('./graphql').ProductFragmentDoc; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql(source: 'fragment status on Status {\n id\n name\n description\n identifier\n}'): typeof import('./graphql').StatusFragmentDoc; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql(source: 'query GetAllChangetypes {\n allChangetype {\n total\n results {\n ...changeType\n }\n }\n}'): typeof import('./graphql').GetAllChangetypesDocument; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql(source: 'query GetAllProducts {\n allSitecoreProduct(first: 25) {\n total\n results {\n ...product\n }\n }\n}'): typeof import('./graphql').GetAllProductsDocument; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql(source: 'query GetAllStatus {\n allStatus {\n total\n results {\n ...status\n }\n }\n}'): typeof import('./graphql').GetAllStatusDocument; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: 'query GetLatestEntries($first: Int = 5, $after: String = "", $date: DateTime!) {\n changelog: allChangelog(\n orderBy: RELEASEDATE_DESC\n first: $first\n after: $after\n where: {releaseDate_lt: $date}\n ) {\n pageInfo {\n hasNext\n endCursor\n }\n total\n results {\n ...changelogEntry\n }\n }\n}' +): typeof import('./graphql').GetLatestEntriesDocument; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: 'query getNumberOfEntriesByProduct($productId: [ID]!) {\n changelog: allChangelog(where: {sitecoreProduct: {changelog_ids: $productId}}) {\n total\n }\n}' +): typeof import('./graphql').GetNumberOfEntriesByProductDocument; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: 'query GetStatusByIdentifier($identifier: String) {\n allStatus(where: {identifier_eq: $identifier}) {\n total\n results {\n ...status\n }\n }\n}' +): typeof import('./graphql').GetStatusByIdentifierDocument; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: 'query SearchByDate($startDate: DateTime!, $endDate: DateTime!, $first: Int = 5, $after: String = "") {\n changelog: allChangelog(\n first: $first\n after: $after\n where: {releaseDate_between: [$startDate, $endDate]}\n ) {\n pageInfo {\n hasNext\n endCursor\n }\n total\n results {\n ...changelogEntry\n }\n }\n}' +): typeof import('./graphql').SearchByDateDocument; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: 'query searchByProduct($date: DateTime, $productId: [ID], $changeTypeIds: [ID] = [], $first: Int = 5, $after: String = "") {\n changelog: allChangelog(\n orderBy: RELEASEDATE_DESC\n first: $first\n after: $after\n where: {releaseDate_lt: $date, sitecoreProduct: {changelog_ids: $productId}, AND: {OR: [{changeType: {changelog_ids: $changeTypeIds}}]}}\n ) {\n pageInfo {\n hasNext\n endCursor\n }\n total\n results {\n ...changelogEntry\n }\n }\n}' +): typeof import('./graphql').SearchByProductDocument; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: 'query searchByProductsAndChangeTypes($date: DateTime!, $productIds: [ID], $changeTypeIds: [ID], $first: Int = 5, $after: String = "") {\n changelog: allChangelog(\n orderBy: RELEASEDATE_DESC\n first: $first\n after: $after\n where: {releaseDate_lt: $date, OR: [{sitecoreProduct: {changelog_ids: $productIds}}], AND: {OR: [{changeType: {changelog_ids: $changeTypeIds}}]}}\n ) {\n pageInfo {\n hasNext\n endCursor\n }\n total\n results {\n ...changelogEntry\n }\n }\n}' +): typeof import('./graphql').SearchByProductsAndChangeTypesDocument; +/** + * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. + */ +export function graphql( + source: 'query searchByTitle($date: DateTime, $productId: [ID]) {\n data: allChangelog(\n first: 1\n where: {releaseDate_lt: $date, sitecoreProduct: {changelog_ids: $productId}}\n ) {\n pageInfo {\n hasNext\n endCursor\n }\n total\n results {\n ...changelogEntry\n }\n }\n}' +): typeof import('./graphql').SearchByTitleDocument; + +export function graphql(source: string) { + return (documents as any)[source] ?? {}; +} diff --git a/packages/changelog/src/gql/generated/graphql.ts b/packages/changelog/src/gql/generated/graphql.ts new file mode 100644 index 000000000..02c15dbf1 --- /dev/null +++ b/packages/changelog/src/gql/generated/graphql.ts @@ -0,0 +1,2190 @@ +/* eslint-disable */ +import { DocumentTypeDecoration } from '@graphql-typed-document-node/core'; +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type MakeEmpty = { [_ in K]?: never }; +export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: { input: string; output: string }; + String: { input: string; output: string }; + Boolean: { input: boolean; output: boolean }; + Int: { input: number; output: number }; + Float: { input: number; output: number }; + DateTime: { input: Date; output: Date }; + Json: { input: any; output: any }; + Long: { input: any; output: any }; + MultiplierPath: { input: any; output: any }; +}; + +export type Changelog = { + __sysCreatedAt: Maybe; + __sysCreatedBy: Maybe; + __sysUpdatedAt: Maybe; + __sysUpdatedBy: Maybe; + __sysVersion: Maybe; + breakingChange: Maybe; + changeType: Changelog__ChangeType_Parent_Types_List; + description: Maybe; + fullArticle: Maybe; + id: Maybe; + image: MediaList; + issueNumber: Maybe; + name: Maybe; + readMoreLink: Maybe; + releaseDate: Maybe; + scheduled: Maybe; + sitecoreProduct: Changelog__SitecoreProduct_Parent_Types_List; + status: StatusList; + title: Maybe; + version: Maybe; +}; + +export type ChangelogChangeTypeArgs = { + after: InputMaybe; + first?: InputMaybe; +}; + +export type ChangelogImageArgs = { + after: InputMaybe; + first?: InputMaybe; + orderBy: InputMaybe>>; + where: InputMaybe; +}; + +export type ChangelogSitecoreProductArgs = { + after: InputMaybe; + first?: InputMaybe; +}; + +export type ChangelogStatusArgs = { + after: InputMaybe; + first?: InputMaybe; + orderBy: InputMaybe>>; + where: InputMaybe; +}; + +export type ChangelogList = { + pageInfo: Maybe; + results: Maybe>>; + total: Maybe; +}; + +export type ChangelogPredicate = { + AND: InputMaybe>; + OR: InputMaybe>; + __sysCreatedAt_between: InputMaybe>>; + __sysCreatedAt_eq: InputMaybe; + __sysCreatedAt_gt: InputMaybe; + __sysCreatedAt_lt: InputMaybe; + __sysCreatedAt_neq: InputMaybe; + __sysCreatedBy_allOf: InputMaybe>>; + __sysCreatedBy_anyOf: InputMaybe>>; + __sysCreatedBy_contains: InputMaybe; + __sysCreatedBy_doesnotcontain: InputMaybe; + __sysCreatedBy_doesnotendwith: InputMaybe; + __sysCreatedBy_doesnotstartwith: InputMaybe; + __sysCreatedBy_endswith: InputMaybe; + __sysCreatedBy_eq: InputMaybe; + __sysCreatedBy_neq: InputMaybe; + __sysCreatedBy_noneOf: InputMaybe>>; + __sysCreatedBy_startswith: InputMaybe; + __sysUpdatedAt_between: InputMaybe>>; + __sysUpdatedAt_eq: InputMaybe; + __sysUpdatedAt_gt: InputMaybe; + __sysUpdatedAt_lt: InputMaybe; + __sysUpdatedAt_neq: InputMaybe; + __sysUpdatedBy_allOf: InputMaybe>>; + __sysUpdatedBy_anyOf: InputMaybe>>; + __sysUpdatedBy_contains: InputMaybe; + __sysUpdatedBy_doesnotcontain: InputMaybe; + __sysUpdatedBy_doesnotendwith: InputMaybe; + __sysUpdatedBy_doesnotstartwith: InputMaybe; + __sysUpdatedBy_endswith: InputMaybe; + __sysUpdatedBy_eq: InputMaybe; + __sysUpdatedBy_neq: InputMaybe; + __sysUpdatedBy_noneOf: InputMaybe>>; + __sysUpdatedBy_startswith: InputMaybe; + __sysVersion_allOf: InputMaybe>>; + __sysVersion_anyOf: InputMaybe>>; + __sysVersion_contains: InputMaybe; + __sysVersion_doesnotcontain: InputMaybe; + __sysVersion_doesnotendwith: InputMaybe; + __sysVersion_doesnotstartwith: InputMaybe; + __sysVersion_endswith: InputMaybe; + __sysVersion_eq: InputMaybe; + __sysVersion_neq: InputMaybe; + __sysVersion_noneOf: InputMaybe>>; + __sysVersion_startswith: InputMaybe; + breakingChange_eq: InputMaybe; + breakingChange_neq: InputMaybe; + changeType: InputMaybe; + id_anyOf: InputMaybe>>; + id_eq: InputMaybe; + id_neq: InputMaybe; + id_noneOf: InputMaybe>>; + image: InputMaybe; + issueNumber_allOf: InputMaybe>>; + issueNumber_anyOf: InputMaybe>>; + issueNumber_contains: InputMaybe; + issueNumber_doesnotcontain: InputMaybe; + issueNumber_doesnotendwith: InputMaybe; + issueNumber_doesnotstartwith: InputMaybe; + issueNumber_endswith: InputMaybe; + issueNumber_eq: InputMaybe; + issueNumber_neq: InputMaybe; + issueNumber_noneOf: InputMaybe>>; + issueNumber_startswith: InputMaybe; + name_allOf: InputMaybe>>; + name_anyOf: InputMaybe>>; + name_contains: InputMaybe; + name_doesnotcontain: InputMaybe; + name_doesnotendwith: InputMaybe; + name_doesnotstartwith: InputMaybe; + name_endswith: InputMaybe; + name_eq: InputMaybe; + name_neq: InputMaybe; + name_noneOf: InputMaybe>>; + name_startswith: InputMaybe; + readMoreLink_allOf: InputMaybe>>; + readMoreLink_anyOf: InputMaybe>>; + readMoreLink_contains: InputMaybe; + readMoreLink_doesnotcontain: InputMaybe; + readMoreLink_doesnotendwith: InputMaybe; + readMoreLink_doesnotstartwith: InputMaybe; + readMoreLink_endswith: InputMaybe; + readMoreLink_eq: InputMaybe; + readMoreLink_neq: InputMaybe; + readMoreLink_noneOf: InputMaybe>>; + readMoreLink_startswith: InputMaybe; + releaseDate_between: InputMaybe>>; + releaseDate_eq: InputMaybe; + releaseDate_gt: InputMaybe; + releaseDate_lt: InputMaybe; + releaseDate_neq: InputMaybe; + scheduled_eq: InputMaybe; + scheduled_neq: InputMaybe; + sitecoreProduct: InputMaybe; + status: InputMaybe; + title_allOf: InputMaybe>>; + title_anyOf: InputMaybe>>; + title_contains: InputMaybe; + title_doesnotcontain: InputMaybe; + title_doesnotendwith: InputMaybe; + title_doesnotstartwith: InputMaybe; + title_endswith: InputMaybe; + title_eq: InputMaybe; + title_neq: InputMaybe; + title_noneOf: InputMaybe>>; + title_startswith: InputMaybe; + version_allOf: InputMaybe>>; + version_anyOf: InputMaybe>>; + version_contains: InputMaybe; + version_doesnotcontain: InputMaybe; + version_doesnotendwith: InputMaybe; + version_doesnotstartwith: InputMaybe; + version_endswith: InputMaybe; + version_eq: InputMaybe; + version_neq: InputMaybe; + version_noneOf: InputMaybe>>; + version_startswith: InputMaybe; +}; + +export enum ChangelogSorts { + BreakingchangeAsc = 'BREAKINGCHANGE_ASC', + BreakingchangeDesc = 'BREAKINGCHANGE_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + IssuenumberAsc = 'ISSUENUMBER_ASC', + IssuenumberDesc = 'ISSUENUMBER_DESC', + NameAsc = 'NAME_ASC', + NameDesc = 'NAME_DESC', + ReadmorelinkAsc = 'READMORELINK_ASC', + ReadmorelinkDesc = 'READMORELINK_DESC', + ReleasedateAsc = 'RELEASEDATE_ASC', + ReleasedateDesc = 'RELEASEDATE_DESC', + ScheduledAsc = 'SCHEDULED_ASC', + ScheduledDesc = 'SCHEDULED_DESC', + TitleAsc = 'TITLE_ASC', + TitleDesc = 'TITLE_DESC', + VersionAsc = 'VERSION_ASC', + VersionDesc = 'VERSION_DESC', + SyscreatedatAsc = '__SYSCREATEDAT_ASC', + SyscreatedatDesc = '__SYSCREATEDAT_DESC', + SyscreatedbyAsc = '__SYSCREATEDBY_ASC', + SyscreatedbyDesc = '__SYSCREATEDBY_DESC', + SysupdatedatAsc = '__SYSUPDATEDAT_ASC', + SysupdatedatDesc = '__SYSUPDATEDAT_DESC', + SysupdatedbyAsc = '__SYSUPDATEDBY_ASC', + SysupdatedbyDesc = '__SYSUPDATEDBY_DESC', + SysversionAsc = '__SYSVERSION_ASC', + SysversionDesc = '__SYSVERSION_DESC', +} + +export type Changelog__ChangeTypePredicate = { + changelog_ids: InputMaybe>>; + image: InputMaybe; + sitecoreProduct: InputMaybe; + status: InputMaybe; +}; + +export type Changelog__ChangeType_Parent_Types = Changelog | Changetype | SitecoreCloud | SitecoreProduct | Status; + +export type Changelog__ChangeType_Parent_Types_List = { + pageInfo: Maybe; + results: Maybe>>; + total: Maybe; +}; + +export type Changelog__ImagePredicate = { + media_ids: InputMaybe>>; +}; + +export type Changelog__SitecoreProductPredicate = { + changeType: InputMaybe; + changelog_ids: InputMaybe>>; + image: InputMaybe; + status: InputMaybe; +}; + +export type Changelog__SitecoreProduct_Parent_Types = Changelog | Changetype | SitecoreCloud | SitecoreProduct | Status; + +export type Changelog__SitecoreProduct_Parent_Types_List = { + pageInfo: Maybe; + results: Maybe>>; + total: Maybe; +}; + +export type Changelog__StatusPredicate = { + status_ids: InputMaybe>>; +}; + +export type Changetype = { + __sysCreatedAt: Maybe; + __sysCreatedBy: Maybe; + __sysUpdatedAt: Maybe; + __sysUpdatedBy: Maybe; + __sysVersion: Maybe; + changeType: Maybe; + id: Maybe; + name: Maybe; +}; + +export type ChangetypeList = { + pageInfo: Maybe; + results: Maybe>>; + total: Maybe; +}; + +export type ChangetypePredicate = { + AND: InputMaybe>; + OR: InputMaybe>; + __sysCreatedAt_between: InputMaybe>>; + __sysCreatedAt_eq: InputMaybe; + __sysCreatedAt_gt: InputMaybe; + __sysCreatedAt_lt: InputMaybe; + __sysCreatedAt_neq: InputMaybe; + __sysCreatedBy_allOf: InputMaybe>>; + __sysCreatedBy_anyOf: InputMaybe>>; + __sysCreatedBy_contains: InputMaybe; + __sysCreatedBy_doesnotcontain: InputMaybe; + __sysCreatedBy_doesnotendwith: InputMaybe; + __sysCreatedBy_doesnotstartwith: InputMaybe; + __sysCreatedBy_endswith: InputMaybe; + __sysCreatedBy_eq: InputMaybe; + __sysCreatedBy_neq: InputMaybe; + __sysCreatedBy_noneOf: InputMaybe>>; + __sysCreatedBy_startswith: InputMaybe; + __sysUpdatedAt_between: InputMaybe>>; + __sysUpdatedAt_eq: InputMaybe; + __sysUpdatedAt_gt: InputMaybe; + __sysUpdatedAt_lt: InputMaybe; + __sysUpdatedAt_neq: InputMaybe; + __sysUpdatedBy_allOf: InputMaybe>>; + __sysUpdatedBy_anyOf: InputMaybe>>; + __sysUpdatedBy_contains: InputMaybe; + __sysUpdatedBy_doesnotcontain: InputMaybe; + __sysUpdatedBy_doesnotendwith: InputMaybe; + __sysUpdatedBy_doesnotstartwith: InputMaybe; + __sysUpdatedBy_endswith: InputMaybe; + __sysUpdatedBy_eq: InputMaybe; + __sysUpdatedBy_neq: InputMaybe; + __sysUpdatedBy_noneOf: InputMaybe>>; + __sysUpdatedBy_startswith: InputMaybe; + __sysVersion_allOf: InputMaybe>>; + __sysVersion_anyOf: InputMaybe>>; + __sysVersion_contains: InputMaybe; + __sysVersion_doesnotcontain: InputMaybe; + __sysVersion_doesnotendwith: InputMaybe; + __sysVersion_doesnotstartwith: InputMaybe; + __sysVersion_endswith: InputMaybe; + __sysVersion_eq: InputMaybe; + __sysVersion_neq: InputMaybe; + __sysVersion_noneOf: InputMaybe>>; + __sysVersion_startswith: InputMaybe; + changeType_allOf: InputMaybe>>; + changeType_anyOf: InputMaybe>>; + changeType_contains: InputMaybe; + changeType_doesnotcontain: InputMaybe; + changeType_doesnotendwith: InputMaybe; + changeType_doesnotstartwith: InputMaybe; + changeType_endswith: InputMaybe; + changeType_eq: InputMaybe; + changeType_neq: InputMaybe; + changeType_noneOf: InputMaybe>>; + changeType_startswith: InputMaybe; + id_anyOf: InputMaybe>>; + id_eq: InputMaybe; + id_neq: InputMaybe; + id_noneOf: InputMaybe>>; + name_allOf: InputMaybe>>; + name_anyOf: InputMaybe>>; + name_contains: InputMaybe; + name_doesnotcontain: InputMaybe; + name_doesnotendwith: InputMaybe; + name_doesnotstartwith: InputMaybe; + name_endswith: InputMaybe; + name_eq: InputMaybe; + name_neq: InputMaybe; + name_noneOf: InputMaybe>>; + name_startswith: InputMaybe; +}; + +export enum ChangetypeSorts { + ChangetypeAsc = 'CHANGETYPE_ASC', + ChangetypeDesc = 'CHANGETYPE_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + NameAsc = 'NAME_ASC', + NameDesc = 'NAME_DESC', + SyscreatedatAsc = '__SYSCREATEDAT_ASC', + SyscreatedatDesc = '__SYSCREATEDAT_DESC', + SyscreatedbyAsc = '__SYSCREATEDBY_ASC', + SyscreatedbyDesc = '__SYSCREATEDBY_DESC', + SysupdatedatAsc = '__SYSUPDATEDAT_ASC', + SysupdatedatDesc = '__SYSUPDATEDAT_DESC', + SysupdatedbyAsc = '__SYSUPDATEDBY_ASC', + SysupdatedbyDesc = '__SYSUPDATEDBY_DESC', + SysversionAsc = '__SYSVERSION_ASC', + SysversionDesc = '__SYSVERSION_DESC', +} + +export type Media = { + __sysCreatedAt: Maybe; + __sysCreatedBy: Maybe; + __sysUpdatedAt: Maybe; + __sysUpdatedBy: Maybe; + __sysVersion: Maybe; + description: Maybe; + fileHeight: Maybe; + fileId: Maybe; + fileName: Maybe; + fileSize: Maybe; + fileType: Maybe; + fileUrl: Maybe; + fileWidth: Maybe; + id: Maybe; + name: Maybe; +}; + +export type MediaFileUrlArgs = { + transform: InputMaybe; +}; + +export type MediaList = { + pageInfo: Maybe; + results: Maybe>>; + total: Maybe; +}; + +export type MediaPredicate = { + AND: InputMaybe>; + OR: InputMaybe>; + __sysCreatedAt_between: InputMaybe>>; + __sysCreatedAt_eq: InputMaybe; + __sysCreatedAt_gt: InputMaybe; + __sysCreatedAt_lt: InputMaybe; + __sysCreatedAt_neq: InputMaybe; + __sysCreatedBy_allOf: InputMaybe>>; + __sysCreatedBy_anyOf: InputMaybe>>; + __sysCreatedBy_contains: InputMaybe; + __sysCreatedBy_doesnotcontain: InputMaybe; + __sysCreatedBy_doesnotendwith: InputMaybe; + __sysCreatedBy_doesnotstartwith: InputMaybe; + __sysCreatedBy_endswith: InputMaybe; + __sysCreatedBy_eq: InputMaybe; + __sysCreatedBy_neq: InputMaybe; + __sysCreatedBy_noneOf: InputMaybe>>; + __sysCreatedBy_startswith: InputMaybe; + __sysUpdatedAt_between: InputMaybe>>; + __sysUpdatedAt_eq: InputMaybe; + __sysUpdatedAt_gt: InputMaybe; + __sysUpdatedAt_lt: InputMaybe; + __sysUpdatedAt_neq: InputMaybe; + __sysUpdatedBy_allOf: InputMaybe>>; + __sysUpdatedBy_anyOf: InputMaybe>>; + __sysUpdatedBy_contains: InputMaybe; + __sysUpdatedBy_doesnotcontain: InputMaybe; + __sysUpdatedBy_doesnotendwith: InputMaybe; + __sysUpdatedBy_doesnotstartwith: InputMaybe; + __sysUpdatedBy_endswith: InputMaybe; + __sysUpdatedBy_eq: InputMaybe; + __sysUpdatedBy_neq: InputMaybe; + __sysUpdatedBy_noneOf: InputMaybe>>; + __sysUpdatedBy_startswith: InputMaybe; + __sysVersion_allOf: InputMaybe>>; + __sysVersion_anyOf: InputMaybe>>; + __sysVersion_contains: InputMaybe; + __sysVersion_doesnotcontain: InputMaybe; + __sysVersion_doesnotendwith: InputMaybe; + __sysVersion_doesnotstartwith: InputMaybe; + __sysVersion_endswith: InputMaybe; + __sysVersion_eq: InputMaybe; + __sysVersion_neq: InputMaybe; + __sysVersion_noneOf: InputMaybe>>; + __sysVersion_startswith: InputMaybe; + description_allOf: InputMaybe>>; + description_anyOf: InputMaybe>>; + description_contains: InputMaybe; + description_doesnotcontain: InputMaybe; + description_doesnotendwith: InputMaybe; + description_doesnotstartwith: InputMaybe; + description_endswith: InputMaybe; + description_eq: InputMaybe; + description_neq: InputMaybe; + description_noneOf: InputMaybe>>; + description_startswith: InputMaybe; + fileHeight_between: InputMaybe>>; + fileHeight_eq: InputMaybe; + fileHeight_gt: InputMaybe; + fileHeight_lt: InputMaybe; + fileHeight_neq: InputMaybe; + fileId_allOf: InputMaybe>>; + fileId_anyOf: InputMaybe>>; + fileId_contains: InputMaybe; + fileId_doesnotcontain: InputMaybe; + fileId_doesnotendwith: InputMaybe; + fileId_doesnotstartwith: InputMaybe; + fileId_endswith: InputMaybe; + fileId_eq: InputMaybe; + fileId_neq: InputMaybe; + fileId_noneOf: InputMaybe>>; + fileId_startswith: InputMaybe; + fileName_allOf: InputMaybe>>; + fileName_anyOf: InputMaybe>>; + fileName_contains: InputMaybe; + fileName_doesnotcontain: InputMaybe; + fileName_doesnotendwith: InputMaybe; + fileName_doesnotstartwith: InputMaybe; + fileName_endswith: InputMaybe; + fileName_eq: InputMaybe; + fileName_neq: InputMaybe; + fileName_noneOf: InputMaybe>>; + fileName_startswith: InputMaybe; + fileSize_between: InputMaybe>>; + fileSize_eq: InputMaybe; + fileSize_gt: InputMaybe; + fileSize_lt: InputMaybe; + fileSize_neq: InputMaybe; + fileType_allOf: InputMaybe>>; + fileType_anyOf: InputMaybe>>; + fileType_contains: InputMaybe; + fileType_doesnotcontain: InputMaybe; + fileType_doesnotendwith: InputMaybe; + fileType_doesnotstartwith: InputMaybe; + fileType_endswith: InputMaybe; + fileType_eq: InputMaybe; + fileType_neq: InputMaybe; + fileType_noneOf: InputMaybe>>; + fileType_startswith: InputMaybe; + fileUrl_allOf: InputMaybe>>; + fileUrl_anyOf: InputMaybe>>; + fileUrl_contains: InputMaybe; + fileUrl_doesnotcontain: InputMaybe; + fileUrl_doesnotendwith: InputMaybe; + fileUrl_doesnotstartwith: InputMaybe; + fileUrl_endswith: InputMaybe; + fileUrl_eq: InputMaybe; + fileUrl_neq: InputMaybe; + fileUrl_noneOf: InputMaybe>>; + fileUrl_startswith: InputMaybe; + fileWidth_between: InputMaybe>>; + fileWidth_eq: InputMaybe; + fileWidth_gt: InputMaybe; + fileWidth_lt: InputMaybe; + fileWidth_neq: InputMaybe; + id_anyOf: InputMaybe>>; + id_eq: InputMaybe; + id_neq: InputMaybe; + id_noneOf: InputMaybe>>; + name_allOf: InputMaybe>>; + name_anyOf: InputMaybe>>; + name_contains: InputMaybe; + name_doesnotcontain: InputMaybe; + name_doesnotendwith: InputMaybe; + name_doesnotstartwith: InputMaybe; + name_endswith: InputMaybe; + name_eq: InputMaybe; + name_neq: InputMaybe; + name_noneOf: InputMaybe>>; + name_startswith: InputMaybe; +}; + +export enum MediaSorts { + DescriptionAsc = 'DESCRIPTION_ASC', + DescriptionDesc = 'DESCRIPTION_DESC', + FileheightAsc = 'FILEHEIGHT_ASC', + FileheightDesc = 'FILEHEIGHT_DESC', + FileidAsc = 'FILEID_ASC', + FileidDesc = 'FILEID_DESC', + FilesizeAsc = 'FILESIZE_ASC', + FilesizeDesc = 'FILESIZE_DESC', + FiletypeAsc = 'FILETYPE_ASC', + FiletypeDesc = 'FILETYPE_DESC', + FileurlAsc = 'FILEURL_ASC', + FileurlDesc = 'FILEURL_DESC', + FilewidthAsc = 'FILEWIDTH_ASC', + FilewidthDesc = 'FILEWIDTH_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + NameAsc = 'NAME_ASC', + NameDesc = 'NAME_DESC', + SyscreatedatAsc = '__SYSCREATEDAT_ASC', + SyscreatedatDesc = '__SYSCREATEDAT_DESC', + SyscreatedbyAsc = '__SYSCREATEDBY_ASC', + SyscreatedbyDesc = '__SYSCREATEDBY_DESC', + SysupdatedatAsc = '__SYSUPDATEDAT_ASC', + SysupdatedatDesc = '__SYSUPDATEDAT_DESC', + SysupdatedbyAsc = '__SYSUPDATEDBY_ASC', + SysupdatedbyDesc = '__SYSUPDATEDBY_DESC', + SysversionAsc = '__SYSVERSION_ASC', + SysversionDesc = '__SYSVERSION_DESC', +} + +export enum MediaTransformCompression { + Fast = 'FAST', +} + +export type MediaTransformCoordinatesInput = { + x: Scalars['Float']['input']; + y: Scalars['Float']['input']; +}; + +export enum MediaTransformError { + Redirect = 'REDIRECT', +} + +export enum MediaTransformFit { + Contain = 'CONTAIN', + Cover = 'COVER', + Crop = 'CROP', + Pad = 'PAD', + Scaledown = 'SCALEDOWN', +} + +export enum MediaTransformFormat { + Auto = 'AUTO', + Avif = 'AVIF', + Gif = 'GIF', + Jpeg = 'JPEG', + Json = 'JSON', + Png = 'PNG', + Svg = 'SVG', + Webp = 'WEBP', +} + +export enum MediaTransformGravitySide { + Auto = 'AUTO', + Bottom = 'BOTTOM', + Left = 'LEFT', + Right = 'RIGHT', + Top = 'TOP', +} + +export type MediaTransformGravitySpecificationInput = { + coordinates: InputMaybe; + side: InputMaybe; +}; + +export enum MediaTransformMetadata { + Copyright = 'COPYRIGHT', + Keep = 'KEEP', + None = 'NONE', +} + +export type MediaTransformRectangleInput = { + bottom: InputMaybe; + left: InputMaybe; + right: InputMaybe; + top: InputMaybe; +}; + +export type MediaUrlTransformInput = { + anim: InputMaybe; + background: InputMaybe; + blur: InputMaybe; + brightness: InputMaybe; + compression: InputMaybe; + contrast: InputMaybe; + dpr: InputMaybe; + fit: InputMaybe; + format: InputMaybe; + gamma: InputMaybe; + gravity: InputMaybe; + height: InputMaybe; + metadata: InputMaybe; + onError: InputMaybe; + quality: InputMaybe; + rotate: InputMaybe; + sharpen: InputMaybe; + trim: InputMaybe; + width: InputMaybe; +}; + +export type PageInfo = { + endCursor: Maybe; + hasNext: Maybe; +}; + +export type Query = { + allChangelog: Maybe; + allChangetype: Maybe; + allMedia: Maybe; + allSitecoreCloud: Maybe; + allSitecoreProduct: Maybe; + allStatus: Maybe; + allTaxonomy_releaseStatus: Maybe; + changelog: Maybe; + changetype: Maybe; + media: Maybe; + sitecoreCloud: Maybe; + sitecoreProduct: Maybe; + status: Maybe; + taxonomy_releaseStatus: Maybe; +}; + +export type QueryAllChangelogArgs = { + after: InputMaybe; + first?: InputMaybe; + orderBy: InputMaybe>>; + where: InputMaybe; +}; + +export type QueryAllChangetypeArgs = { + after: InputMaybe; + first?: InputMaybe; + orderBy: InputMaybe>>; + where: InputMaybe; +}; + +export type QueryAllMediaArgs = { + after: InputMaybe; + first?: InputMaybe; + orderBy: InputMaybe>>; + where: InputMaybe; +}; + +export type QueryAllSitecoreCloudArgs = { + after: InputMaybe; + first?: InputMaybe; + orderBy: InputMaybe>>; + where: InputMaybe; +}; + +export type QueryAllSitecoreProductArgs = { + after: InputMaybe; + first?: InputMaybe; + orderBy: InputMaybe>>; + where: InputMaybe; +}; + +export type QueryAllStatusArgs = { + after: InputMaybe; + first?: InputMaybe; + orderBy: InputMaybe>>; + where: InputMaybe; +}; + +export type QueryAllTaxonomy_ReleaseStatusArgs = { + after: InputMaybe; + first?: InputMaybe; + where: InputMaybe; +}; + +export type QueryChangelogArgs = { + id: Scalars['String']['input']; +}; + +export type QueryChangetypeArgs = { + id: Scalars['String']['input']; +}; + +export type QueryMediaArgs = { + id: Scalars['String']['input']; +}; + +export type QuerySitecoreCloudArgs = { + id: Scalars['String']['input']; +}; + +export type QuerySitecoreProductArgs = { + id: Scalars['String']['input']; +}; + +export type QueryStatusArgs = { + id: Scalars['String']['input']; +}; + +export type QueryTaxonomy_ReleaseStatusArgs = { + id: Scalars['String']['input']; +}; + +export type SitecoreCloud = { + __sysCreatedAt: Maybe; + __sysCreatedBy: Maybe; + __sysUpdatedAt: Maybe; + __sysUpdatedBy: Maybe; + __sysVersion: Maybe; + cloudName: Maybe; + id: Maybe; + name: Maybe; +}; + +export type SitecoreCloudList = { + pageInfo: Maybe; + results: Maybe>>; + total: Maybe; +}; + +export type SitecoreCloudPredicate = { + AND: InputMaybe>; + OR: InputMaybe>; + __sysCreatedAt_between: InputMaybe>>; + __sysCreatedAt_eq: InputMaybe; + __sysCreatedAt_gt: InputMaybe; + __sysCreatedAt_lt: InputMaybe; + __sysCreatedAt_neq: InputMaybe; + __sysCreatedBy_allOf: InputMaybe>>; + __sysCreatedBy_anyOf: InputMaybe>>; + __sysCreatedBy_contains: InputMaybe; + __sysCreatedBy_doesnotcontain: InputMaybe; + __sysCreatedBy_doesnotendwith: InputMaybe; + __sysCreatedBy_doesnotstartwith: InputMaybe; + __sysCreatedBy_endswith: InputMaybe; + __sysCreatedBy_eq: InputMaybe; + __sysCreatedBy_neq: InputMaybe; + __sysCreatedBy_noneOf: InputMaybe>>; + __sysCreatedBy_startswith: InputMaybe; + __sysUpdatedAt_between: InputMaybe>>; + __sysUpdatedAt_eq: InputMaybe; + __sysUpdatedAt_gt: InputMaybe; + __sysUpdatedAt_lt: InputMaybe; + __sysUpdatedAt_neq: InputMaybe; + __sysUpdatedBy_allOf: InputMaybe>>; + __sysUpdatedBy_anyOf: InputMaybe>>; + __sysUpdatedBy_contains: InputMaybe; + __sysUpdatedBy_doesnotcontain: InputMaybe; + __sysUpdatedBy_doesnotendwith: InputMaybe; + __sysUpdatedBy_doesnotstartwith: InputMaybe; + __sysUpdatedBy_endswith: InputMaybe; + __sysUpdatedBy_eq: InputMaybe; + __sysUpdatedBy_neq: InputMaybe; + __sysUpdatedBy_noneOf: InputMaybe>>; + __sysUpdatedBy_startswith: InputMaybe; + __sysVersion_allOf: InputMaybe>>; + __sysVersion_anyOf: InputMaybe>>; + __sysVersion_contains: InputMaybe; + __sysVersion_doesnotcontain: InputMaybe; + __sysVersion_doesnotendwith: InputMaybe; + __sysVersion_doesnotstartwith: InputMaybe; + __sysVersion_endswith: InputMaybe; + __sysVersion_eq: InputMaybe; + __sysVersion_neq: InputMaybe; + __sysVersion_noneOf: InputMaybe>>; + __sysVersion_startswith: InputMaybe; + cloudName_allOf: InputMaybe>>; + cloudName_anyOf: InputMaybe>>; + cloudName_contains: InputMaybe; + cloudName_doesnotcontain: InputMaybe; + cloudName_doesnotendwith: InputMaybe; + cloudName_doesnotstartwith: InputMaybe; + cloudName_endswith: InputMaybe; + cloudName_eq: InputMaybe; + cloudName_neq: InputMaybe; + cloudName_noneOf: InputMaybe>>; + cloudName_startswith: InputMaybe; + id_anyOf: InputMaybe>>; + id_eq: InputMaybe; + id_neq: InputMaybe; + id_noneOf: InputMaybe>>; + name_allOf: InputMaybe>>; + name_anyOf: InputMaybe>>; + name_contains: InputMaybe; + name_doesnotcontain: InputMaybe; + name_doesnotendwith: InputMaybe; + name_doesnotstartwith: InputMaybe; + name_endswith: InputMaybe; + name_eq: InputMaybe; + name_neq: InputMaybe; + name_noneOf: InputMaybe>>; + name_startswith: InputMaybe; +}; + +export enum SitecoreCloudSorts { + CloudnameAsc = 'CLOUDNAME_ASC', + CloudnameDesc = 'CLOUDNAME_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + NameAsc = 'NAME_ASC', + NameDesc = 'NAME_DESC', + SyscreatedatAsc = '__SYSCREATEDAT_ASC', + SyscreatedatDesc = '__SYSCREATEDAT_DESC', + SyscreatedbyAsc = '__SYSCREATEDBY_ASC', + SyscreatedbyDesc = '__SYSCREATEDBY_DESC', + SysupdatedatAsc = '__SYSUPDATEDAT_ASC', + SysupdatedatDesc = '__SYSUPDATEDAT_DESC', + SysupdatedbyAsc = '__SYSUPDATEDBY_ASC', + SysupdatedbyDesc = '__SYSUPDATEDBY_DESC', + SysversionAsc = '__SYSVERSION_ASC', + SysversionDesc = '__SYSVERSION_DESC', +} + +export type SitecoreProduct = { + __sysCreatedAt: Maybe; + __sysCreatedBy: Maybe; + __sysUpdatedAt: Maybe; + __sysUpdatedBy: Maybe; + __sysVersion: Maybe; + abbreviation: Maybe; + id: Maybe; + name: Maybe; + productDescription: Maybe; + productIcon: MediaList; + productIconDark: Maybe; + productIconLight: Maybe; + productName: Maybe; + sitecoreCloud: SitecoreProduct__SitecoreCloud_Parent_Types_List; +}; + +export type SitecoreProductProductIconArgs = { + after: InputMaybe; + first?: InputMaybe; + orderBy: InputMaybe>>; + where: InputMaybe; +}; + +export type SitecoreProductSitecoreCloudArgs = { + after: InputMaybe; + first?: InputMaybe; +}; + +export type SitecoreProductList = { + pageInfo: Maybe; + results: Maybe>>; + total: Maybe; +}; + +export type SitecoreProductPredicate = { + AND: InputMaybe>; + OR: InputMaybe>; + __sysCreatedAt_between: InputMaybe>>; + __sysCreatedAt_eq: InputMaybe; + __sysCreatedAt_gt: InputMaybe; + __sysCreatedAt_lt: InputMaybe; + __sysCreatedAt_neq: InputMaybe; + __sysCreatedBy_allOf: InputMaybe>>; + __sysCreatedBy_anyOf: InputMaybe>>; + __sysCreatedBy_contains: InputMaybe; + __sysCreatedBy_doesnotcontain: InputMaybe; + __sysCreatedBy_doesnotendwith: InputMaybe; + __sysCreatedBy_doesnotstartwith: InputMaybe; + __sysCreatedBy_endswith: InputMaybe; + __sysCreatedBy_eq: InputMaybe; + __sysCreatedBy_neq: InputMaybe; + __sysCreatedBy_noneOf: InputMaybe>>; + __sysCreatedBy_startswith: InputMaybe; + __sysUpdatedAt_between: InputMaybe>>; + __sysUpdatedAt_eq: InputMaybe; + __sysUpdatedAt_gt: InputMaybe; + __sysUpdatedAt_lt: InputMaybe; + __sysUpdatedAt_neq: InputMaybe; + __sysUpdatedBy_allOf: InputMaybe>>; + __sysUpdatedBy_anyOf: InputMaybe>>; + __sysUpdatedBy_contains: InputMaybe; + __sysUpdatedBy_doesnotcontain: InputMaybe; + __sysUpdatedBy_doesnotendwith: InputMaybe; + __sysUpdatedBy_doesnotstartwith: InputMaybe; + __sysUpdatedBy_endswith: InputMaybe; + __sysUpdatedBy_eq: InputMaybe; + __sysUpdatedBy_neq: InputMaybe; + __sysUpdatedBy_noneOf: InputMaybe>>; + __sysUpdatedBy_startswith: InputMaybe; + __sysVersion_allOf: InputMaybe>>; + __sysVersion_anyOf: InputMaybe>>; + __sysVersion_contains: InputMaybe; + __sysVersion_doesnotcontain: InputMaybe; + __sysVersion_doesnotendwith: InputMaybe; + __sysVersion_doesnotstartwith: InputMaybe; + __sysVersion_endswith: InputMaybe; + __sysVersion_eq: InputMaybe; + __sysVersion_neq: InputMaybe; + __sysVersion_noneOf: InputMaybe>>; + __sysVersion_startswith: InputMaybe; + abbreviation_allOf: InputMaybe>>; + abbreviation_anyOf: InputMaybe>>; + abbreviation_contains: InputMaybe; + abbreviation_doesnotcontain: InputMaybe; + abbreviation_doesnotendwith: InputMaybe; + abbreviation_doesnotstartwith: InputMaybe; + abbreviation_endswith: InputMaybe; + abbreviation_eq: InputMaybe; + abbreviation_neq: InputMaybe; + abbreviation_noneOf: InputMaybe>>; + abbreviation_startswith: InputMaybe; + id_anyOf: InputMaybe>>; + id_eq: InputMaybe; + id_neq: InputMaybe; + id_noneOf: InputMaybe>>; + name_allOf: InputMaybe>>; + name_anyOf: InputMaybe>>; + name_contains: InputMaybe; + name_doesnotcontain: InputMaybe; + name_doesnotendwith: InputMaybe; + name_doesnotstartwith: InputMaybe; + name_endswith: InputMaybe; + name_eq: InputMaybe; + name_neq: InputMaybe; + name_noneOf: InputMaybe>>; + name_startswith: InputMaybe; + productIcon: InputMaybe; + productIconDark_allOf: InputMaybe>>; + productIconDark_anyOf: InputMaybe>>; + productIconDark_contains: InputMaybe; + productIconDark_doesnotcontain: InputMaybe; + productIconDark_doesnotendwith: InputMaybe; + productIconDark_doesnotstartwith: InputMaybe; + productIconDark_endswith: InputMaybe; + productIconDark_eq: InputMaybe; + productIconDark_neq: InputMaybe; + productIconDark_noneOf: InputMaybe>>; + productIconDark_startswith: InputMaybe; + productIconLight_allOf: InputMaybe>>; + productIconLight_anyOf: InputMaybe>>; + productIconLight_contains: InputMaybe; + productIconLight_doesnotcontain: InputMaybe; + productIconLight_doesnotendwith: InputMaybe; + productIconLight_doesnotstartwith: InputMaybe; + productIconLight_endswith: InputMaybe; + productIconLight_eq: InputMaybe; + productIconLight_neq: InputMaybe; + productIconLight_noneOf: InputMaybe>>; + productIconLight_startswith: InputMaybe; + productName_allOf: InputMaybe>>; + productName_anyOf: InputMaybe>>; + productName_contains: InputMaybe; + productName_doesnotcontain: InputMaybe; + productName_doesnotendwith: InputMaybe; + productName_doesnotstartwith: InputMaybe; + productName_endswith: InputMaybe; + productName_eq: InputMaybe; + productName_neq: InputMaybe; + productName_noneOf: InputMaybe>>; + productName_startswith: InputMaybe; + sitecoreCloud: InputMaybe; +}; + +export enum SitecoreProductSorts { + AbbreviationAsc = 'ABBREVIATION_ASC', + AbbreviationDesc = 'ABBREVIATION_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + NameAsc = 'NAME_ASC', + NameDesc = 'NAME_DESC', + ProducticondarkAsc = 'PRODUCTICONDARK_ASC', + ProducticondarkDesc = 'PRODUCTICONDARK_DESC', + ProducticonlightAsc = 'PRODUCTICONLIGHT_ASC', + ProducticonlightDesc = 'PRODUCTICONLIGHT_DESC', + ProductnameAsc = 'PRODUCTNAME_ASC', + ProductnameDesc = 'PRODUCTNAME_DESC', + SyscreatedatAsc = '__SYSCREATEDAT_ASC', + SyscreatedatDesc = '__SYSCREATEDAT_DESC', + SyscreatedbyAsc = '__SYSCREATEDBY_ASC', + SyscreatedbyDesc = '__SYSCREATEDBY_DESC', + SysupdatedatAsc = '__SYSUPDATEDAT_ASC', + SysupdatedatDesc = '__SYSUPDATEDAT_DESC', + SysupdatedbyAsc = '__SYSUPDATEDBY_ASC', + SysupdatedbyDesc = '__SYSUPDATEDBY_DESC', + SysversionAsc = '__SYSVERSION_ASC', + SysversionDesc = '__SYSVERSION_DESC', +} + +export type SitecoreProduct__ProductIconPredicate = { + media_ids: InputMaybe>>; +}; + +export type SitecoreProduct__SitecoreCloudPredicate = { + productIcon: InputMaybe; + sitecoreProduct_ids: InputMaybe>>; +}; + +export type SitecoreProduct__SitecoreCloud_Parent_Types = Changelog | Changetype | SitecoreCloud | SitecoreProduct | Status; + +export type SitecoreProduct__SitecoreCloud_Parent_Types_List = { + pageInfo: Maybe; + results: Maybe>>; + total: Maybe; +}; + +export type Status = { + __sysCreatedAt: Maybe; + __sysCreatedBy: Maybe; + __sysUpdatedAt: Maybe; + __sysUpdatedBy: Maybe; + __sysVersion: Maybe; + description: Maybe; + id: Maybe; + identifier: Maybe; + name: Maybe; +}; + +export type StatusList = { + pageInfo: Maybe; + results: Maybe>>; + total: Maybe; +}; + +export type StatusPredicate = { + AND: InputMaybe>; + OR: InputMaybe>; + __sysCreatedAt_between: InputMaybe>>; + __sysCreatedAt_eq: InputMaybe; + __sysCreatedAt_gt: InputMaybe; + __sysCreatedAt_lt: InputMaybe; + __sysCreatedAt_neq: InputMaybe; + __sysCreatedBy_allOf: InputMaybe>>; + __sysCreatedBy_anyOf: InputMaybe>>; + __sysCreatedBy_contains: InputMaybe; + __sysCreatedBy_doesnotcontain: InputMaybe; + __sysCreatedBy_doesnotendwith: InputMaybe; + __sysCreatedBy_doesnotstartwith: InputMaybe; + __sysCreatedBy_endswith: InputMaybe; + __sysCreatedBy_eq: InputMaybe; + __sysCreatedBy_neq: InputMaybe; + __sysCreatedBy_noneOf: InputMaybe>>; + __sysCreatedBy_startswith: InputMaybe; + __sysUpdatedAt_between: InputMaybe>>; + __sysUpdatedAt_eq: InputMaybe; + __sysUpdatedAt_gt: InputMaybe; + __sysUpdatedAt_lt: InputMaybe; + __sysUpdatedAt_neq: InputMaybe; + __sysUpdatedBy_allOf: InputMaybe>>; + __sysUpdatedBy_anyOf: InputMaybe>>; + __sysUpdatedBy_contains: InputMaybe; + __sysUpdatedBy_doesnotcontain: InputMaybe; + __sysUpdatedBy_doesnotendwith: InputMaybe; + __sysUpdatedBy_doesnotstartwith: InputMaybe; + __sysUpdatedBy_endswith: InputMaybe; + __sysUpdatedBy_eq: InputMaybe; + __sysUpdatedBy_neq: InputMaybe; + __sysUpdatedBy_noneOf: InputMaybe>>; + __sysUpdatedBy_startswith: InputMaybe; + __sysVersion_allOf: InputMaybe>>; + __sysVersion_anyOf: InputMaybe>>; + __sysVersion_contains: InputMaybe; + __sysVersion_doesnotcontain: InputMaybe; + __sysVersion_doesnotendwith: InputMaybe; + __sysVersion_doesnotstartwith: InputMaybe; + __sysVersion_endswith: InputMaybe; + __sysVersion_eq: InputMaybe; + __sysVersion_neq: InputMaybe; + __sysVersion_noneOf: InputMaybe>>; + __sysVersion_startswith: InputMaybe; + description_allOf: InputMaybe>>; + description_anyOf: InputMaybe>>; + description_contains: InputMaybe; + description_doesnotcontain: InputMaybe; + description_doesnotendwith: InputMaybe; + description_doesnotstartwith: InputMaybe; + description_endswith: InputMaybe; + description_eq: InputMaybe; + description_neq: InputMaybe; + description_noneOf: InputMaybe>>; + description_startswith: InputMaybe; + id_anyOf: InputMaybe>>; + id_eq: InputMaybe; + id_neq: InputMaybe; + id_noneOf: InputMaybe>>; + identifier_allOf: InputMaybe>>; + identifier_anyOf: InputMaybe>>; + identifier_contains: InputMaybe; + identifier_doesnotcontain: InputMaybe; + identifier_doesnotendwith: InputMaybe; + identifier_doesnotstartwith: InputMaybe; + identifier_endswith: InputMaybe; + identifier_eq: InputMaybe; + identifier_neq: InputMaybe; + identifier_noneOf: InputMaybe>>; + identifier_startswith: InputMaybe; + name_allOf: InputMaybe>>; + name_anyOf: InputMaybe>>; + name_contains: InputMaybe; + name_doesnotcontain: InputMaybe; + name_doesnotendwith: InputMaybe; + name_doesnotstartwith: InputMaybe; + name_endswith: InputMaybe; + name_eq: InputMaybe; + name_neq: InputMaybe; + name_noneOf: InputMaybe>>; + name_startswith: InputMaybe; +}; + +export enum StatusSorts { + DescriptionAsc = 'DESCRIPTION_ASC', + DescriptionDesc = 'DESCRIPTION_DESC', + IdentifierAsc = 'IDENTIFIER_ASC', + IdentifierDesc = 'IDENTIFIER_DESC', + IdAsc = 'ID_ASC', + IdDesc = 'ID_DESC', + NameAsc = 'NAME_ASC', + NameDesc = 'NAME_DESC', + SyscreatedatAsc = '__SYSCREATEDAT_ASC', + SyscreatedatDesc = '__SYSCREATEDAT_DESC', + SyscreatedbyAsc = '__SYSCREATEDBY_ASC', + SyscreatedbyDesc = '__SYSCREATEDBY_DESC', + SysupdatedatAsc = '__SYSUPDATEDAT_ASC', + SysupdatedatDesc = '__SYSUPDATEDAT_DESC', + SysupdatedbyAsc = '__SYSUPDATEDBY_ASC', + SysupdatedbyDesc = '__SYSUPDATEDBY_DESC', + SysversionAsc = '__SYSVERSION_ASC', + SysversionDesc = '__SYSVERSION_DESC', +} + +export type Taxonomy_ReleaseStatus = { + id: Maybe; +}; + +export type Taxonomy_ReleaseStatusList = { + pageInfo: Maybe; + results: Maybe>>; + total: Maybe; +}; + +export type Taxonomy_ReleaseStatusPredicate = { + AND: InputMaybe>; + OR: InputMaybe>; + id_anyOf: InputMaybe>>; + id_eq: InputMaybe; + id_neq: InputMaybe; + id_noneOf: InputMaybe>>; +}; + +export type ChangeTypeFragment = { id: string | null; name: string | null; changeType: string | null }; + +export type ChangelogEntryFragment = { + id: string | null; + name: string | null; + title: string | null; + description: any | null; + fullArticle: any | null; + readMoreLink: string | null; + breakingChange: boolean | null; + version: string | null; + releaseDate: Date | null; + image: { + total: number | null; + results: Array<{ + id: string | null; + name: string | null; + fileName: string | null; + fileUrl: string | null; + description: string | null; + fileWidth: any | null; + fileHeight: any | null; + fileId: string | null; + fileSize: any | null; + fileType: string | null; + } | null> | null; + }; + sitecoreProduct: { total: number | null; results: Array<{ id: string | null; name: string | null; productName: string | null; productDescription: string | null; darkIcon: string | null; lightIcon: string | null } | {} | null> | null }; + changeType: { total: number | null; results: Array<{ id: string | null; name: string | null; changeType: string | null } | {} | null> | null }; + status: { total: number | null; results: Array<{ id: string | null; name: string | null; description: string | null; identifier: string | null } | null> | null }; +}; + +export type ChangelogEntrySummaryFragment = { + id: string | null; + name: string | null; + title: string | null; + description: any | null; + readMoreLink: string | null; + breakingChange: boolean | null; + version: string | null; + releaseDate: Date | null; + image: { + total: number | null; + results: Array<{ + id: string | null; + name: string | null; + fileName: string | null; + fileUrl: string | null; + description: string | null; + fileWidth: any | null; + fileHeight: any | null; + fileId: string | null; + fileSize: any | null; + fileType: string | null; + } | null> | null; + }; + sitecoreProduct: { total: number | null; results: Array<{ id: string | null; name: string | null; productName: string | null; productDescription: string | null; darkIcon: string | null; lightIcon: string | null } | {} | null> | null }; + changeType: { total: number | null; results: Array<{ id: string | null; name: string | null; changeType: string | null } | {} | null> | null }; + status: { total: number | null; results: Array<{ id: string | null; name: string | null; description: string | null; identifier: string | null } | null> | null }; +}; + +export type MediaFragment = { + id: string | null; + name: string | null; + fileName: string | null; + fileUrl: string | null; + description: string | null; + fileWidth: any | null; + fileHeight: any | null; + fileId: string | null; + fileSize: any | null; + fileType: string | null; +}; + +export type ProductFragment = { id: string | null; name: string | null; productName: string | null; productDescription: string | null; darkIcon: string | null; lightIcon: string | null }; + +export type StatusFragment = { id: string | null; name: string | null; description: string | null; identifier: string | null }; + +export type GetAllChangetypesQueryVariables = Exact<{ [key: string]: never }>; + +export type GetAllChangetypesQuery = { allChangetype: { total: number | null; results: Array<{ id: string | null; name: string | null; changeType: string | null } | null> | null } | null }; + +export type GetAllProductsQueryVariables = Exact<{ [key: string]: never }>; + +export type GetAllProductsQuery = { + allSitecoreProduct: { total: number | null; results: Array<{ id: string | null; name: string | null; productName: string | null; productDescription: string | null; darkIcon: string | null; lightIcon: string | null } | null> | null } | null; +}; + +export type GetAllStatusQueryVariables = Exact<{ [key: string]: never }>; + +export type GetAllStatusQuery = { allStatus: { total: number | null; results: Array<{ id: string | null; name: string | null; description: string | null; identifier: string | null } | null> | null } | null }; + +export type GetLatestEntriesQueryVariables = Exact<{ + first?: InputMaybe; + after?: InputMaybe; + date: Scalars['DateTime']['input']; +}>; + +export type GetLatestEntriesQuery = { + changelog: { + total: number | null; + pageInfo: { hasNext: boolean | null; endCursor: string | null } | null; + results: Array<{ + id: string | null; + name: string | null; + title: string | null; + description: any | null; + fullArticle: any | null; + readMoreLink: string | null; + breakingChange: boolean | null; + version: string | null; + releaseDate: Date | null; + image: { + total: number | null; + results: Array<{ + id: string | null; + name: string | null; + fileName: string | null; + fileUrl: string | null; + description: string | null; + fileWidth: any | null; + fileHeight: any | null; + fileId: string | null; + fileSize: any | null; + fileType: string | null; + } | null> | null; + }; + sitecoreProduct: { total: number | null; results: Array<{ id: string | null; name: string | null; productName: string | null; productDescription: string | null; darkIcon: string | null; lightIcon: string | null } | {} | null> | null }; + changeType: { total: number | null; results: Array<{ id: string | null; name: string | null; changeType: string | null } | {} | null> | null }; + status: { total: number | null; results: Array<{ id: string | null; name: string | null; description: string | null; identifier: string | null } | null> | null }; + } | null> | null; + } | null; +}; + +export type GetNumberOfEntriesByProductQueryVariables = Exact<{ + productId: Array> | InputMaybe; +}>; + +export type GetNumberOfEntriesByProductQuery = { changelog: { total: number | null } | null }; + +export type GetStatusByIdentifierQueryVariables = Exact<{ + identifier: InputMaybe; +}>; + +export type GetStatusByIdentifierQuery = { allStatus: { total: number | null; results: Array<{ id: string | null; name: string | null; description: string | null; identifier: string | null } | null> | null } | null }; + +export type SearchByDateQueryVariables = Exact<{ + startDate: Scalars['DateTime']['input']; + endDate: Scalars['DateTime']['input']; + first?: InputMaybe; + after?: InputMaybe; +}>; + +export type SearchByDateQuery = { + changelog: { + total: number | null; + pageInfo: { hasNext: boolean | null; endCursor: string | null } | null; + results: Array<{ + id: string | null; + name: string | null; + title: string | null; + description: any | null; + fullArticle: any | null; + readMoreLink: string | null; + breakingChange: boolean | null; + version: string | null; + releaseDate: Date | null; + image: { + total: number | null; + results: Array<{ + id: string | null; + name: string | null; + fileName: string | null; + fileUrl: string | null; + description: string | null; + fileWidth: any | null; + fileHeight: any | null; + fileId: string | null; + fileSize: any | null; + fileType: string | null; + } | null> | null; + }; + sitecoreProduct: { total: number | null; results: Array<{ id: string | null; name: string | null; productName: string | null; productDescription: string | null; darkIcon: string | null; lightIcon: string | null } | {} | null> | null }; + changeType: { total: number | null; results: Array<{ id: string | null; name: string | null; changeType: string | null } | {} | null> | null }; + status: { total: number | null; results: Array<{ id: string | null; name: string | null; description: string | null; identifier: string | null } | null> | null }; + } | null> | null; + } | null; +}; + +export type SearchByProductQueryVariables = Exact<{ + date: InputMaybe; + productId: InputMaybe> | InputMaybe>; + changeTypeIds?: InputMaybe> | InputMaybe>; + first?: InputMaybe; + after?: InputMaybe; +}>; + +export type SearchByProductQuery = { + changelog: { + total: number | null; + pageInfo: { hasNext: boolean | null; endCursor: string | null } | null; + results: Array<{ + id: string | null; + name: string | null; + title: string | null; + description: any | null; + fullArticle: any | null; + readMoreLink: string | null; + breakingChange: boolean | null; + version: string | null; + releaseDate: Date | null; + image: { + total: number | null; + results: Array<{ + id: string | null; + name: string | null; + fileName: string | null; + fileUrl: string | null; + description: string | null; + fileWidth: any | null; + fileHeight: any | null; + fileId: string | null; + fileSize: any | null; + fileType: string | null; + } | null> | null; + }; + sitecoreProduct: { total: number | null; results: Array<{ id: string | null; name: string | null; productName: string | null; productDescription: string | null; darkIcon: string | null; lightIcon: string | null } | {} | null> | null }; + changeType: { total: number | null; results: Array<{ id: string | null; name: string | null; changeType: string | null } | {} | null> | null }; + status: { total: number | null; results: Array<{ id: string | null; name: string | null; description: string | null; identifier: string | null } | null> | null }; + } | null> | null; + } | null; +}; + +export type SearchByProductsAndChangeTypesQueryVariables = Exact<{ + date: Scalars['DateTime']['input']; + productIds: InputMaybe> | InputMaybe>; + changeTypeIds: InputMaybe> | InputMaybe>; + first?: InputMaybe; + after?: InputMaybe; +}>; + +export type SearchByProductsAndChangeTypesQuery = { + changelog: { + total: number | null; + pageInfo: { hasNext: boolean | null; endCursor: string | null } | null; + results: Array<{ + id: string | null; + name: string | null; + title: string | null; + description: any | null; + fullArticle: any | null; + readMoreLink: string | null; + breakingChange: boolean | null; + version: string | null; + releaseDate: Date | null; + image: { + total: number | null; + results: Array<{ + id: string | null; + name: string | null; + fileName: string | null; + fileUrl: string | null; + description: string | null; + fileWidth: any | null; + fileHeight: any | null; + fileId: string | null; + fileSize: any | null; + fileType: string | null; + } | null> | null; + }; + sitecoreProduct: { total: number | null; results: Array<{ id: string | null; name: string | null; productName: string | null; productDescription: string | null; darkIcon: string | null; lightIcon: string | null } | {} | null> | null }; + changeType: { total: number | null; results: Array<{ id: string | null; name: string | null; changeType: string | null } | {} | null> | null }; + status: { total: number | null; results: Array<{ id: string | null; name: string | null; description: string | null; identifier: string | null } | null> | null }; + } | null> | null; + } | null; +}; + +export type SearchByTitleQueryVariables = Exact<{ + date: InputMaybe; + productId: InputMaybe> | InputMaybe>; +}>; + +export type SearchByTitleQuery = { + data: { + total: number | null; + pageInfo: { hasNext: boolean | null; endCursor: string | null } | null; + results: Array<{ + id: string | null; + name: string | null; + title: string | null; + description: any | null; + fullArticle: any | null; + readMoreLink: string | null; + breakingChange: boolean | null; + version: string | null; + releaseDate: Date | null; + image: { + total: number | null; + results: Array<{ + id: string | null; + name: string | null; + fileName: string | null; + fileUrl: string | null; + description: string | null; + fileWidth: any | null; + fileHeight: any | null; + fileId: string | null; + fileSize: any | null; + fileType: string | null; + } | null> | null; + }; + sitecoreProduct: { total: number | null; results: Array<{ id: string | null; name: string | null; productName: string | null; productDescription: string | null; darkIcon: string | null; lightIcon: string | null } | {} | null> | null }; + changeType: { total: number | null; results: Array<{ id: string | null; name: string | null; changeType: string | null } | {} | null> | null }; + status: { total: number | null; results: Array<{ id: string | null; name: string | null; description: string | null; identifier: string | null } | null> | null }; + } | null> | null; + } | null; +}; + +export class TypedDocumentString extends String implements DocumentTypeDecoration { + __apiType?: DocumentTypeDecoration['__apiType']; + + constructor( + private value: string, + public __meta__?: Record + ) { + super(value); + } + + toString(): string & DocumentTypeDecoration { + return this.value; + } +} +export const MediaFragmentDoc = new TypedDocumentString( + ` + fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} + `, + { fragmentName: 'media' } +) as unknown as TypedDocumentString; +export const ProductFragmentDoc = new TypedDocumentString( + ` + fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} + `, + { fragmentName: 'product' } +) as unknown as TypedDocumentString; +export const ChangeTypeFragmentDoc = new TypedDocumentString( + ` + fragment changeType on Changetype { + id + name + changeType +} + `, + { fragmentName: 'changeType' } +) as unknown as TypedDocumentString; +export const StatusFragmentDoc = new TypedDocumentString( + ` + fragment status on Status { + id + name + description + identifier +} + `, + { fragmentName: 'status' } +) as unknown as TypedDocumentString; +export const ChangelogEntryFragmentDoc = new TypedDocumentString( + ` + fragment changelogEntry on Changelog { + id + name + title + description + fullArticle + readMoreLink + breakingChange + version + releaseDate + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} + fragment changeType on Changetype { + id + name + changeType +} +fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} +fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} +fragment status on Status { + id + name + description + identifier +}`, + { fragmentName: 'changelogEntry' } +) as unknown as TypedDocumentString; +export const ChangelogEntrySummaryFragmentDoc = new TypedDocumentString( + ` + fragment changelogEntrySummary on Changelog { + id + name + title + description + readMoreLink + breakingChange + version + releaseDate + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} + fragment changeType on Changetype { + id + name + changeType +} +fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} +fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} +fragment status on Status { + id + name + description + identifier +}`, + { fragmentName: 'changelogEntrySummary' } +) as unknown as TypedDocumentString; +export const GetAllChangetypesDocument = new TypedDocumentString(` + query GetAllChangetypes { + allChangetype { + total + results { + ...changeType + } + } +} + fragment changeType on Changetype { + id + name + changeType +}`) as unknown as TypedDocumentString; +export const GetAllProductsDocument = new TypedDocumentString(` + query GetAllProducts { + allSitecoreProduct(first: 25) { + total + results { + ...product + } + } +} + fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +}`) as unknown as TypedDocumentString; +export const GetAllStatusDocument = new TypedDocumentString(` + query GetAllStatus { + allStatus { + total + results { + ...status + } + } +} + fragment status on Status { + id + name + description + identifier +}`) as unknown as TypedDocumentString; +export const GetLatestEntriesDocument = new TypedDocumentString(` + query GetLatestEntries($first: Int = 5, $after: String = "", $date: DateTime!) { + changelog: allChangelog( + orderBy: RELEASEDATE_DESC + first: $first + after: $after + where: {releaseDate_lt: $date} + ) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} + fragment changeType on Changetype { + id + name + changeType +} +fragment changelogEntry on Changelog { + id + name + title + description + fullArticle + readMoreLink + breakingChange + version + releaseDate + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} +fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} +fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} +fragment status on Status { + id + name + description + identifier +}`) as unknown as TypedDocumentString; +export const GetNumberOfEntriesByProductDocument = new TypedDocumentString(` + query getNumberOfEntriesByProduct($productId: [ID]!) { + changelog: allChangelog(where: {sitecoreProduct: {changelog_ids: $productId}}) { + total + } +} + `) as unknown as TypedDocumentString; +export const GetStatusByIdentifierDocument = new TypedDocumentString(` + query GetStatusByIdentifier($identifier: String) { + allStatus(where: {identifier_eq: $identifier}) { + total + results { + ...status + } + } +} + fragment status on Status { + id + name + description + identifier +}`) as unknown as TypedDocumentString; +export const SearchByDateDocument = new TypedDocumentString(` + query SearchByDate($startDate: DateTime!, $endDate: DateTime!, $first: Int = 5, $after: String = "") { + changelog: allChangelog( + first: $first + after: $after + where: {releaseDate_between: [$startDate, $endDate]} + ) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} + fragment changeType on Changetype { + id + name + changeType +} +fragment changelogEntry on Changelog { + id + name + title + description + fullArticle + readMoreLink + breakingChange + version + releaseDate + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} +fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} +fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} +fragment status on Status { + id + name + description + identifier +}`) as unknown as TypedDocumentString; +export const SearchByProductDocument = new TypedDocumentString(` + query searchByProduct($date: DateTime, $productId: [ID], $changeTypeIds: [ID] = [], $first: Int = 5, $after: String = "") { + changelog: allChangelog( + orderBy: RELEASEDATE_DESC + first: $first + after: $after + where: {releaseDate_lt: $date, sitecoreProduct: {changelog_ids: $productId}, AND: {OR: [{changeType: {changelog_ids: $changeTypeIds}}]}} + ) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} + fragment changeType on Changetype { + id + name + changeType +} +fragment changelogEntry on Changelog { + id + name + title + description + fullArticle + readMoreLink + breakingChange + version + releaseDate + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} +fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} +fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} +fragment status on Status { + id + name + description + identifier +}`) as unknown as TypedDocumentString; +export const SearchByProductsAndChangeTypesDocument = new TypedDocumentString(` + query searchByProductsAndChangeTypes($date: DateTime!, $productIds: [ID], $changeTypeIds: [ID], $first: Int = 5, $after: String = "") { + changelog: allChangelog( + orderBy: RELEASEDATE_DESC + first: $first + after: $after + where: {releaseDate_lt: $date, OR: [{sitecoreProduct: {changelog_ids: $productIds}}], AND: {OR: [{changeType: {changelog_ids: $changeTypeIds}}]}} + ) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} + fragment changeType on Changetype { + id + name + changeType +} +fragment changelogEntry on Changelog { + id + name + title + description + fullArticle + readMoreLink + breakingChange + version + releaseDate + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} +fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} +fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} +fragment status on Status { + id + name + description + identifier +}`) as unknown as TypedDocumentString; +export const SearchByTitleDocument = new TypedDocumentString(` + query searchByTitle($date: DateTime, $productId: [ID]) { + data: allChangelog( + first: 1 + where: {releaseDate_lt: $date, sitecoreProduct: {changelog_ids: $productId}} + ) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} + fragment changeType on Changetype { + id + name + changeType +} +fragment changelogEntry on Changelog { + id + name + title + description + fullArticle + readMoreLink + breakingChange + version + releaseDate + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} +fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} +fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} +fragment status on Status { + id + name + description + identifier +}`) as unknown as TypedDocumentString; diff --git a/packages/changelog/src/gql/generated/index.ts b/packages/changelog/src/gql/generated/index.ts new file mode 100644 index 000000000..8a12aabda --- /dev/null +++ b/packages/changelog/src/gql/generated/index.ts @@ -0,0 +1 @@ +export * from './gql'; diff --git a/packages/changelog/src/gql/query/fragments/changeType.graphql b/packages/changelog/src/gql/query/fragments/changeType.graphql new file mode 100644 index 000000000..bb83a2f8e --- /dev/null +++ b/packages/changelog/src/gql/query/fragments/changeType.graphql @@ -0,0 +1,5 @@ +fragment changeType on Changetype { + id + name + changeType +} diff --git a/packages/changelog/src/gql/query/fragments/changelogEntry.graphql b/packages/changelog/src/gql/query/fragments/changelogEntry.graphql new file mode 100644 index 000000000..bb32957d5 --- /dev/null +++ b/packages/changelog/src/gql/query/fragments/changelogEntry.graphql @@ -0,0 +1,36 @@ +fragment changelogEntry on Changelog { + id + name + title + description + fullArticle + readMoreLink + breakingChange + version + releaseDate + scheduled + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} diff --git a/packages/changelog/src/gql/query/fragments/changelogEntrySummary.graphql b/packages/changelog/src/gql/query/fragments/changelogEntrySummary.graphql new file mode 100644 index 000000000..f332b17b3 --- /dev/null +++ b/packages/changelog/src/gql/query/fragments/changelogEntrySummary.graphql @@ -0,0 +1,34 @@ +fragment changelogEntrySummary on Changelog { + id + name + title + description + readMoreLink + breakingChange + version + releaseDate + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} diff --git a/packages/changelog/src/gql/query/fragments/media.graphql b/packages/changelog/src/gql/query/fragments/media.graphql new file mode 100644 index 000000000..61d93f8ac --- /dev/null +++ b/packages/changelog/src/gql/query/fragments/media.graphql @@ -0,0 +1,12 @@ +fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} diff --git a/packages/changelog/src/gql/query/fragments/product.graphql b/packages/changelog/src/gql/query/fragments/product.graphql new file mode 100644 index 000000000..5c8a2351b --- /dev/null +++ b/packages/changelog/src/gql/query/fragments/product.graphql @@ -0,0 +1,8 @@ +fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} diff --git a/packages/changelog/src/gql/query/fragments/status.graphql b/packages/changelog/src/gql/query/fragments/status.graphql new file mode 100644 index 000000000..9c3eaadd4 --- /dev/null +++ b/packages/changelog/src/gql/query/fragments/status.graphql @@ -0,0 +1,6 @@ +fragment status on Status { + id + name + description + identifier +} diff --git a/packages/changelog/src/gql/query/getAllChangetypes.graphql b/packages/changelog/src/gql/query/getAllChangetypes.graphql new file mode 100644 index 000000000..294811201 --- /dev/null +++ b/packages/changelog/src/gql/query/getAllChangetypes.graphql @@ -0,0 +1,8 @@ +query GetAllChangetypes { + allChangetype { + total + results { + ...changeType + } + } +} diff --git a/packages/changelog/src/gql/query/getAllProducts.graphql b/packages/changelog/src/gql/query/getAllProducts.graphql new file mode 100644 index 000000000..b39684898 --- /dev/null +++ b/packages/changelog/src/gql/query/getAllProducts.graphql @@ -0,0 +1,8 @@ +query GetAllProducts { + allSitecoreProduct(first: 25) { + total + results { + ...product + } + } +} diff --git a/packages/changelog/src/gql/query/getAllStatus.graphql b/packages/changelog/src/gql/query/getAllStatus.graphql new file mode 100644 index 000000000..8eb738fb0 --- /dev/null +++ b/packages/changelog/src/gql/query/getAllStatus.graphql @@ -0,0 +1,8 @@ +query GetAllStatus { + allStatus { + total + results { + ...status + } + } +} diff --git a/packages/changelog/src/gql/query/getLatestEntries.graphql b/packages/changelog/src/gql/query/getLatestEntries.graphql new file mode 100644 index 000000000..9fe5630b0 --- /dev/null +++ b/packages/changelog/src/gql/query/getLatestEntries.graphql @@ -0,0 +1,12 @@ +query GetLatestEntries($first: Int = 5, $after: String = "", $date: DateTime!) { + changelog: allChangelog(orderBy: RELEASEDATE_DESC, first: $first, after: $after, where: { releaseDate_lt: $date }) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} diff --git a/packages/changelog/src/gql/query/getNumberOfEntriesByProduct.graphql b/packages/changelog/src/gql/query/getNumberOfEntriesByProduct.graphql new file mode 100644 index 000000000..a411070cc --- /dev/null +++ b/packages/changelog/src/gql/query/getNumberOfEntriesByProduct.graphql @@ -0,0 +1,5 @@ +query getNumberOfEntriesByProduct($productId: [ID]!) { + changelog: allChangelog(where: { sitecoreProduct: { changelog_ids: $productId } }) { + total + } +} diff --git a/packages/changelog/src/gql/query/getStatusByIdentifier.graphql b/packages/changelog/src/gql/query/getStatusByIdentifier.graphql new file mode 100644 index 000000000..98bd62284 --- /dev/null +++ b/packages/changelog/src/gql/query/getStatusByIdentifier.graphql @@ -0,0 +1,8 @@ +query GetStatusByIdentifier($identifier: String) { + allStatus(where: { identifier_eq: $identifier }) { + total + results { + ...status + } + } +} diff --git a/packages/changelog/src/gql/query/searchByDate.graphql b/packages/changelog/src/gql/query/searchByDate.graphql new file mode 100644 index 000000000..ee8759e73 --- /dev/null +++ b/packages/changelog/src/gql/query/searchByDate.graphql @@ -0,0 +1,12 @@ +query SearchByDate($startDate: DateTime!, $endDate: DateTime!, $first: Int = 5, $after: String = "") { + changelog: allChangelog(first: $first, after: $after, where: { releaseDate_between: [$startDate, $endDate] }) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} diff --git a/packages/changelog/src/gql/query/searchByProduct.graphql b/packages/changelog/src/gql/query/searchByProduct.graphql new file mode 100644 index 000000000..bf125e611 --- /dev/null +++ b/packages/changelog/src/gql/query/searchByProduct.graphql @@ -0,0 +1,12 @@ +query searchByProduct($date: DateTime, $productId: [ID], $changeTypeIds: [ID] = [], $first: Int = 5, $after: String = "") { + changelog: allChangelog(orderBy: RELEASEDATE_DESC, first: $first, after: $after, where: { releaseDate_lt: $date, sitecoreProduct: { changelog_ids: $productId }, AND: { OR: [{ changeType: { changelog_ids: $changeTypeIds } }] } }) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} diff --git a/packages/changelog/src/gql/query/searchByProductsAndChangeTypes.graphql b/packages/changelog/src/gql/query/searchByProductsAndChangeTypes.graphql new file mode 100644 index 000000000..aec2f25de --- /dev/null +++ b/packages/changelog/src/gql/query/searchByProductsAndChangeTypes.graphql @@ -0,0 +1,12 @@ +query searchByProductsAndChangeTypes($date: DateTime!, $productIds: [ID], $changeTypeIds: [ID], $first: Int = 5, $after: String = "") { + changelog: allChangelog(orderBy: RELEASEDATE_DESC, first: $first, after: $after, where: { releaseDate_lt: $date, OR: [{ sitecoreProduct: { changelog_ids: $productIds } }], AND: { OR: [{ changeType: { changelog_ids: $changeTypeIds } }] } }) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} diff --git a/packages/changelog/src/gql/query/searchByTitle.graphql b/packages/changelog/src/gql/query/searchByTitle.graphql new file mode 100644 index 000000000..b640ce8c5 --- /dev/null +++ b/packages/changelog/src/gql/query/searchByTitle.graphql @@ -0,0 +1,12 @@ +query searchByTitle($date: DateTime, $productId: [ID]) { + data: allChangelog(first: 1, where: { releaseDate_lt: $date, sitecoreProduct: { changelog_ids: $productId } }) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} diff --git a/packages/changelog/src/gql/schema/instrospectionSchema.json b/packages/changelog/src/gql/schema/instrospectionSchema.json new file mode 100644 index 000000000..d005114a0 --- /dev/null +++ b/packages/changelog/src/gql/schema/instrospectionSchema.json @@ -0,0 +1 @@ +{"_queryType":"Query","_mutationType":null,"_subscriptionType":null,"_directives":[{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":"Boolean!"}]},{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":"Boolean!"}]},{"name":"cost","description":"The cost directives is used to express the complexity of a field.","locations":["FIELD_DEFINITION"],"args":[{"name":"complexity","description":"Defines the complexity of the field.","type":"Int!","defaultValue":1},{"name":"multipliers","description":"Defines field arguments that act as complexity multipliers.","type":"[MultiplierPath!]"}]},{"name":"deprecated","description":"The @deprecated directive is used within the type system definition language to indicate deprecated portions of a GraphQL service’s schema,such as deprecated fields on a type or deprecated enum values.","locations":["FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Deprecations include a reason for why it is deprecated, which is formatted using Markdown syntax (as specified by CommonMark).","type":"String","defaultValue":"No longer supported"}]}],"astNode":null,"_typeMap":{"Query":"Query","String":"String","Int":"Int","ChangelogSorts":"ChangelogSorts","ChangelogPredicate":"ChangelogPredicate","Boolean":"Boolean","Changelog__changeTypePredicate":"Changelog__changeTypePredicate","ID":"ID","Changelog__imagePredicate":"Changelog__imagePredicate","Changelog__sitecoreProductPredicate":"Changelog__sitecoreProductPredicate","Changelog__statusPredicate":"Changelog__statusPredicate","DateTime":"DateTime","ChangelogList":"ChangelogList","PageInfo":"PageInfo","Changelog":"Changelog","Changelog__changeType_Parent_Types_List":"Changelog__changeType_Parent_Types_List","Changelog__changeType_Parent_Types":"Changelog__changeType_Parent_Types","Status":"Status","SitecoreCloud":"SitecoreCloud","SitecoreProduct":"SitecoreProduct","MediaSorts":"MediaSorts","MediaPredicate":"MediaPredicate","Long":"Long","MediaList":"MediaList","Media":"Media","MediaUrlTransformInput":"MediaUrlTransformInput","Float":"Float","MediaTransformCompression":"MediaTransformCompression","MediaTransformFit":"MediaTransformFit","MediaTransformFormat":"MediaTransformFormat","MediaTransformGravitySpecificationInput":"MediaTransformGravitySpecificationInput","MediaTransformCoordinatesInput":"MediaTransformCoordinatesInput","MediaTransformGravitySide":"MediaTransformGravitySide","MediaTransformMetadata":"MediaTransformMetadata","MediaTransformError":"MediaTransformError","MediaTransformRectangleInput":"MediaTransformRectangleInput","SitecoreProduct__sitecoreCloud_Parent_Types_List":"SitecoreProduct__sitecoreCloud_Parent_Types_List","SitecoreProduct__sitecoreCloud_Parent_Types":"SitecoreProduct__sitecoreCloud_Parent_Types","Changetype":"Changetype","Json":"Json","Changelog__sitecoreProduct_Parent_Types_List":"Changelog__sitecoreProduct_Parent_Types_List","Changelog__sitecoreProduct_Parent_Types":"Changelog__sitecoreProduct_Parent_Types","StatusSorts":"StatusSorts","StatusPredicate":"StatusPredicate","StatusList":"StatusList","ChangetypeSorts":"ChangetypeSorts","ChangetypePredicate":"ChangetypePredicate","ChangetypeList":"ChangetypeList","SitecoreCloudSorts":"SitecoreCloudSorts","SitecoreCloudPredicate":"SitecoreCloudPredicate","SitecoreCloudList":"SitecoreCloudList","SitecoreProductSorts":"SitecoreProductSorts","SitecoreProductPredicate":"SitecoreProductPredicate","SitecoreProduct__productIconPredicate":"SitecoreProduct__productIconPredicate","SitecoreProduct__sitecoreCloudPredicate":"SitecoreProduct__sitecoreCloudPredicate","SitecoreProductList":"SitecoreProductList","Taxonomy_releaseStatusPredicate":"Taxonomy_releaseStatusPredicate","Taxonomy_releaseStatusList":"Taxonomy_releaseStatusList","Taxonomy_releaseStatus":"Taxonomy_releaseStatus","__Schema":"__Schema","__Type":"__Type","__TypeKind":"__TypeKind","__Field":"__Field","__InputValue":"__InputValue","__EnumValue":"__EnumValue","__Directive":"__Directive","__DirectiveLocation":"__DirectiveLocation","MultiplierPath":"MultiplierPath"},"_implementations":{},"_possibleTypeMap":{"Changelog__sitecoreProduct_Parent_Types":{"Changelog":true,"Status":true,"SitecoreCloud":true,"SitecoreProduct":true,"Changetype":true},"Changelog__changeType_Parent_Types":{"Changelog":true,"Status":true,"SitecoreCloud":true,"SitecoreProduct":true,"Changetype":true}}} \ No newline at end of file diff --git a/packages/changelog/src/gql/schema/schema.graphql b/packages/changelog/src/gql/schema/schema.graphql new file mode 100644 index 000000000..af79a6ee7 --- /dev/null +++ b/packages/changelog/src/gql/schema/schema.graphql @@ -0,0 +1,1374 @@ +# The cost directives is used to express the complexity of a field. +directive @cost( + # Defines the complexity of the field. + complexity: Int! = 1 + # Defines field arguments that act as complexity multipliers. + multipliers: [MultiplierPath!] +) on FIELD_DEFINITION +# changelog +type Changelog { + # Does this change include a breaking change? (does not apply to XM Cloud) + breakingChange: Boolean + # Please select a change type (child to parent traversal) + changeType( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + ): Changelog__changeType_Parent_Types_List! + # The text that will be rendered in the overview + description: Json + # The content that will be visible on the detail page (not required) + fullArticle: Json + # id + id: ID + # changelog__image (child to parent traversal) + image( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + orderBy: [MediaSorts] + where: MediaPredicate + ): MediaList! + # Mentions the related issue number (if applicable) + issueNumber: String + # name + name: String + # You can link to an external page where more information can be found + readMoreLink: String + # releaseDate + releaseDate: DateTime + # Should this changelog item be considered as an announcement? + scheduled: Boolean + # Please select one product from the list (child to parent traversal) + sitecoreProduct( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + ): Changelog__sitecoreProduct_Parent_Types_List! + # Indicate whether the functionality is currently being rolled out or is + # available for all customers (child to parent traversal) + status( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + orderBy: [StatusSorts] + where: StatusPredicate + ): StatusList! + # title + title: String + # Only use the version field if applicable + version: String + # __sysCreatedAt + __sysCreatedAt: DateTime + # __sysCreatedBy + __sysCreatedBy: String + # __sysUpdatedAt + __sysUpdatedAt: DateTime + # __sysUpdatedBy + __sysUpdatedBy: String + # __sysVersion + __sysVersion: String +} + +# Types allowed on the changelog__changeType relation. +union Changelog__changeType_Parent_Types = Changelog | Status | SitecoreCloud | SitecoreProduct | Changetype +type Changelog__changeType_Parent_Types_List { + # Information of the current page + pageInfo: PageInfo + # Results for current page + results: [Changelog__changeType_Parent_Types] + # Total number of results (all pages) + total: Int +} + +# Query on the changelog__changeType ancestor relation (changelog->changelog) +input Changelog__changeTypePredicate { + changelog_ids: [ID] + image: Changelog__imagePredicate + sitecoreProduct: Changelog__sitecoreProductPredicate + status: Changelog__statusPredicate +} + +# Query on the changelog__image ancestor relation (Media->changelog) +input Changelog__imagePredicate { + media_ids: [ID] +} + +# Types allowed on the changelog__sitecoreProduct relation. +union Changelog__sitecoreProduct_Parent_Types = Changelog | Status | SitecoreCloud | SitecoreProduct | Changetype +type Changelog__sitecoreProduct_Parent_Types_List { + # Information of the current page + pageInfo: PageInfo + # Results for current page + results: [Changelog__sitecoreProduct_Parent_Types] + # Total number of results (all pages) + total: Int +} + +# Query on the changelog__sitecoreProduct ancestor relation (changelog->changelog) +input Changelog__sitecoreProductPredicate { + changelog_ids: [ID] + changeType: Changelog__changeTypePredicate + image: Changelog__imagePredicate + status: Changelog__statusPredicate +} + +# Query on the changelog__status ancestor relation (status->changelog) +input Changelog__statusPredicate { + status_ids: [ID] +} + +type ChangelogList { + # Information of the current page + pageInfo: PageInfo + # Results for current page + results: [Changelog] + # Total number of results (all pages) + total: Int +} + +input ChangelogPredicate { + AND: [ChangelogPredicate!] + breakingChange_eq: Boolean + breakingChange_neq: Boolean + changeType: Changelog__changeTypePredicate + id_anyOf: [ID] + id_eq: ID + id_neq: ID + id_noneOf: [ID] + image: Changelog__imagePredicate + issueNumber_allOf: [String] + issueNumber_anyOf: [String] + issueNumber_contains: String + issueNumber_doesnotcontain: String + issueNumber_doesnotendwith: String + issueNumber_doesnotstartwith: String + issueNumber_endswith: String + issueNumber_eq: String + issueNumber_neq: String + issueNumber_noneOf: [String] + issueNumber_startswith: String + name_allOf: [String] + name_anyOf: [String] + name_contains: String + name_doesnotcontain: String + name_doesnotendwith: String + name_doesnotstartwith: String + name_endswith: String + name_eq: String + name_neq: String + name_noneOf: [String] + name_startswith: String + OR: [ChangelogPredicate!] + readMoreLink_allOf: [String] + readMoreLink_anyOf: [String] + readMoreLink_contains: String + readMoreLink_doesnotcontain: String + readMoreLink_doesnotendwith: String + readMoreLink_doesnotstartwith: String + readMoreLink_endswith: String + readMoreLink_eq: String + readMoreLink_neq: String + readMoreLink_noneOf: [String] + readMoreLink_startswith: String + releaseDate_between: [DateTime] + releaseDate_eq: DateTime + releaseDate_gt: DateTime + releaseDate_lt: DateTime + releaseDate_neq: DateTime + scheduled_eq: Boolean + scheduled_neq: Boolean + sitecoreProduct: Changelog__sitecoreProductPredicate + status: Changelog__statusPredicate + title_allOf: [String] + title_anyOf: [String] + title_contains: String + title_doesnotcontain: String + title_doesnotendwith: String + title_doesnotstartwith: String + title_endswith: String + title_eq: String + title_neq: String + title_noneOf: [String] + title_startswith: String + version_allOf: [String] + version_anyOf: [String] + version_contains: String + version_doesnotcontain: String + version_doesnotendwith: String + version_doesnotstartwith: String + version_endswith: String + version_eq: String + version_neq: String + version_noneOf: [String] + version_startswith: String + __sysCreatedAt_between: [DateTime] + __sysCreatedAt_eq: DateTime + __sysCreatedAt_gt: DateTime + __sysCreatedAt_lt: DateTime + __sysCreatedAt_neq: DateTime + __sysCreatedBy_allOf: [String] + __sysCreatedBy_anyOf: [String] + __sysCreatedBy_contains: String + __sysCreatedBy_doesnotcontain: String + __sysCreatedBy_doesnotendwith: String + __sysCreatedBy_doesnotstartwith: String + __sysCreatedBy_endswith: String + __sysCreatedBy_eq: String + __sysCreatedBy_neq: String + __sysCreatedBy_noneOf: [String] + __sysCreatedBy_startswith: String + __sysUpdatedAt_between: [DateTime] + __sysUpdatedAt_eq: DateTime + __sysUpdatedAt_gt: DateTime + __sysUpdatedAt_lt: DateTime + __sysUpdatedAt_neq: DateTime + __sysUpdatedBy_allOf: [String] + __sysUpdatedBy_anyOf: [String] + __sysUpdatedBy_contains: String + __sysUpdatedBy_doesnotcontain: String + __sysUpdatedBy_doesnotendwith: String + __sysUpdatedBy_doesnotstartwith: String + __sysUpdatedBy_endswith: String + __sysUpdatedBy_eq: String + __sysUpdatedBy_neq: String + __sysUpdatedBy_noneOf: [String] + __sysUpdatedBy_startswith: String + __sysVersion_allOf: [String] + __sysVersion_anyOf: [String] + __sysVersion_contains: String + __sysVersion_doesnotcontain: String + __sysVersion_doesnotendwith: String + __sysVersion_doesnotstartwith: String + __sysVersion_endswith: String + __sysVersion_eq: String + __sysVersion_neq: String + __sysVersion_noneOf: [String] + __sysVersion_startswith: String +} + +enum ChangelogSorts { + BREAKINGCHANGE_ASC + BREAKINGCHANGE_DESC + ID_ASC + ID_DESC + ISSUENUMBER_ASC + ISSUENUMBER_DESC + NAME_ASC + NAME_DESC + READMORELINK_ASC + READMORELINK_DESC + RELEASEDATE_ASC + RELEASEDATE_DESC + SCHEDULED_ASC + SCHEDULED_DESC + TITLE_ASC + TITLE_DESC + VERSION_ASC + VERSION_DESC + __SYSCREATEDAT_ASC + __SYSCREATEDAT_DESC + __SYSCREATEDBY_ASC + __SYSCREATEDBY_DESC + __SYSUPDATEDAT_ASC + __SYSUPDATEDAT_DESC + __SYSUPDATEDBY_ASC + __SYSUPDATEDBY_DESC + __SYSVERSION_ASC + __SYSVERSION_DESC +} + +# changetype +type Changetype { + # changeType + changeType: String + # id + id: ID + # name + name: String + # __sysCreatedAt + __sysCreatedAt: DateTime + # __sysCreatedBy + __sysCreatedBy: String + # __sysUpdatedAt + __sysUpdatedAt: DateTime + # __sysUpdatedBy + __sysUpdatedBy: String + # __sysVersion + __sysVersion: String +} + +type ChangetypeList { + # Information of the current page + pageInfo: PageInfo + # Results for current page + results: [Changetype] + # Total number of results (all pages) + total: Int +} + +input ChangetypePredicate { + AND: [ChangetypePredicate!] + changeType_allOf: [String] + changeType_anyOf: [String] + changeType_contains: String + changeType_doesnotcontain: String + changeType_doesnotendwith: String + changeType_doesnotstartwith: String + changeType_endswith: String + changeType_eq: String + changeType_neq: String + changeType_noneOf: [String] + changeType_startswith: String + id_anyOf: [ID] + id_eq: ID + id_neq: ID + id_noneOf: [ID] + name_allOf: [String] + name_anyOf: [String] + name_contains: String + name_doesnotcontain: String + name_doesnotendwith: String + name_doesnotstartwith: String + name_endswith: String + name_eq: String + name_neq: String + name_noneOf: [String] + name_startswith: String + OR: [ChangetypePredicate!] + __sysCreatedAt_between: [DateTime] + __sysCreatedAt_eq: DateTime + __sysCreatedAt_gt: DateTime + __sysCreatedAt_lt: DateTime + __sysCreatedAt_neq: DateTime + __sysCreatedBy_allOf: [String] + __sysCreatedBy_anyOf: [String] + __sysCreatedBy_contains: String + __sysCreatedBy_doesnotcontain: String + __sysCreatedBy_doesnotendwith: String + __sysCreatedBy_doesnotstartwith: String + __sysCreatedBy_endswith: String + __sysCreatedBy_eq: String + __sysCreatedBy_neq: String + __sysCreatedBy_noneOf: [String] + __sysCreatedBy_startswith: String + __sysUpdatedAt_between: [DateTime] + __sysUpdatedAt_eq: DateTime + __sysUpdatedAt_gt: DateTime + __sysUpdatedAt_lt: DateTime + __sysUpdatedAt_neq: DateTime + __sysUpdatedBy_allOf: [String] + __sysUpdatedBy_anyOf: [String] + __sysUpdatedBy_contains: String + __sysUpdatedBy_doesnotcontain: String + __sysUpdatedBy_doesnotendwith: String + __sysUpdatedBy_doesnotstartwith: String + __sysUpdatedBy_endswith: String + __sysUpdatedBy_eq: String + __sysUpdatedBy_neq: String + __sysUpdatedBy_noneOf: [String] + __sysUpdatedBy_startswith: String + __sysVersion_allOf: [String] + __sysVersion_anyOf: [String] + __sysVersion_contains: String + __sysVersion_doesnotcontain: String + __sysVersion_doesnotendwith: String + __sysVersion_doesnotstartwith: String + __sysVersion_endswith: String + __sysVersion_eq: String + __sysVersion_neq: String + __sysVersion_noneOf: [String] + __sysVersion_startswith: String +} + +enum ChangetypeSorts { + CHANGETYPE_ASC + CHANGETYPE_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + __SYSCREATEDAT_ASC + __SYSCREATEDAT_DESC + __SYSCREATEDBY_ASC + __SYSCREATEDBY_DESC + __SYSUPDATEDAT_ASC + __SYSUPDATEDAT_DESC + __SYSUPDATEDBY_ASC + __SYSUPDATEDBY_DESC + __SYSVERSION_ASC + __SYSVERSION_DESC +} + +# The `DateTime` scalar represents an ISO-8601 compliant date time type. +scalar DateTime + +scalar Json + +# The `Long` scalar type represents non-fractional signed whole 64-bit numeric +# values. Long can represent values between -(2^63) and 2^63 - 1. +scalar Long + +# Media +type Media { + # Description + description: String + # FileHeight + fileHeight: Long + # FileId + fileId: String + # FileName + fileName: String + # FileSize + fileSize: Long + # FileType + fileType: String + # FileUrl + fileUrl( + # Applies transforms to the media. + transform: MediaUrlTransformInput + ): String + # FileWidth + fileWidth: Long + # id + id: ID + # Name + name: String + # __sysCreatedAt + __sysCreatedAt: DateTime + # __sysCreatedBy + __sysCreatedBy: String + # __sysUpdatedAt + __sysUpdatedAt: DateTime + # __sysUpdatedBy + __sysUpdatedBy: String + # __sysVersion + __sysVersion: String +} + +type MediaList { + # Information of the current page + pageInfo: PageInfo + # Results for current page + results: [Media] + # Total number of results (all pages) + total: Int +} + +input MediaPredicate { + AND: [MediaPredicate!] + description_allOf: [String] + description_anyOf: [String] + description_contains: String + description_doesnotcontain: String + description_doesnotendwith: String + description_doesnotstartwith: String + description_endswith: String + description_eq: String + description_neq: String + description_noneOf: [String] + description_startswith: String + fileHeight_between: [Long] + fileHeight_eq: Long + fileHeight_gt: Long + fileHeight_lt: Long + fileHeight_neq: Long + fileId_allOf: [String] + fileId_anyOf: [String] + fileId_contains: String + fileId_doesnotcontain: String + fileId_doesnotendwith: String + fileId_doesnotstartwith: String + fileId_endswith: String + fileId_eq: String + fileId_neq: String + fileId_noneOf: [String] + fileId_startswith: String + fileName_allOf: [String] + fileName_anyOf: [String] + fileName_contains: String + fileName_doesnotcontain: String + fileName_doesnotendwith: String + fileName_doesnotstartwith: String + fileName_endswith: String + fileName_eq: String + fileName_neq: String + fileName_noneOf: [String] + fileName_startswith: String + fileSize_between: [Long] + fileSize_eq: Long + fileSize_gt: Long + fileSize_lt: Long + fileSize_neq: Long + fileType_allOf: [String] + fileType_anyOf: [String] + fileType_contains: String + fileType_doesnotcontain: String + fileType_doesnotendwith: String + fileType_doesnotstartwith: String + fileType_endswith: String + fileType_eq: String + fileType_neq: String + fileType_noneOf: [String] + fileType_startswith: String + fileUrl_allOf: [String] + fileUrl_anyOf: [String] + fileUrl_contains: String + fileUrl_doesnotcontain: String + fileUrl_doesnotendwith: String + fileUrl_doesnotstartwith: String + fileUrl_endswith: String + fileUrl_eq: String + fileUrl_neq: String + fileUrl_noneOf: [String] + fileUrl_startswith: String + fileWidth_between: [Long] + fileWidth_eq: Long + fileWidth_gt: Long + fileWidth_lt: Long + fileWidth_neq: Long + id_anyOf: [ID] + id_eq: ID + id_neq: ID + id_noneOf: [ID] + name_allOf: [String] + name_anyOf: [String] + name_contains: String + name_doesnotcontain: String + name_doesnotendwith: String + name_doesnotstartwith: String + name_endswith: String + name_eq: String + name_neq: String + name_noneOf: [String] + name_startswith: String + OR: [MediaPredicate!] + __sysCreatedAt_between: [DateTime] + __sysCreatedAt_eq: DateTime + __sysCreatedAt_gt: DateTime + __sysCreatedAt_lt: DateTime + __sysCreatedAt_neq: DateTime + __sysCreatedBy_allOf: [String] + __sysCreatedBy_anyOf: [String] + __sysCreatedBy_contains: String + __sysCreatedBy_doesnotcontain: String + __sysCreatedBy_doesnotendwith: String + __sysCreatedBy_doesnotstartwith: String + __sysCreatedBy_endswith: String + __sysCreatedBy_eq: String + __sysCreatedBy_neq: String + __sysCreatedBy_noneOf: [String] + __sysCreatedBy_startswith: String + __sysUpdatedAt_between: [DateTime] + __sysUpdatedAt_eq: DateTime + __sysUpdatedAt_gt: DateTime + __sysUpdatedAt_lt: DateTime + __sysUpdatedAt_neq: DateTime + __sysUpdatedBy_allOf: [String] + __sysUpdatedBy_anyOf: [String] + __sysUpdatedBy_contains: String + __sysUpdatedBy_doesnotcontain: String + __sysUpdatedBy_doesnotendwith: String + __sysUpdatedBy_doesnotstartwith: String + __sysUpdatedBy_endswith: String + __sysUpdatedBy_eq: String + __sysUpdatedBy_neq: String + __sysUpdatedBy_noneOf: [String] + __sysUpdatedBy_startswith: String + __sysVersion_allOf: [String] + __sysVersion_anyOf: [String] + __sysVersion_contains: String + __sysVersion_doesnotcontain: String + __sysVersion_doesnotendwith: String + __sysVersion_doesnotstartwith: String + __sysVersion_endswith: String + __sysVersion_eq: String + __sysVersion_neq: String + __sysVersion_noneOf: [String] + __sysVersion_startswith: String +} + +enum MediaSorts { + DESCRIPTION_ASC + DESCRIPTION_DESC + FILEHEIGHT_ASC + FILEHEIGHT_DESC + FILEID_ASC + FILEID_DESC + FILESIZE_ASC + FILESIZE_DESC + FILETYPE_ASC + FILETYPE_DESC + FILEURL_ASC + FILEURL_DESC + FILEWIDTH_ASC + FILEWIDTH_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + __SYSCREATEDAT_ASC + __SYSCREATEDAT_DESC + __SYSCREATEDBY_ASC + __SYSCREATEDBY_DESC + __SYSUPDATEDAT_ASC + __SYSUPDATEDAT_DESC + __SYSUPDATEDBY_ASC + __SYSUPDATEDBY_DESC + __SYSVERSION_ASC + __SYSVERSION_DESC +} + +# Options for image compression for media transforms. +enum MediaTransformCompression { + # Use a quickest-to-compress file format, at a cost of increased file size and + # lower image quality. It will usually override the format option and choose + # JPEG over WebP or AVIF. + FAST +} + +# Defines a set of coordinates. +input MediaTransformCoordinatesInput { + # The X coordinate. + x: Float! + # The Y coordinate. + y: Float! +} + +# Options for handling errors during media processing. +enum MediaTransformError { + # In case of a fatal error that prevents the image from being resized, redirects to the unresized source image URL. + REDIRECT +} + +# Affects interpretation of width and height in media transforms. +enum MediaTransformFit { + # Similar to contain, but the image is never enlarged. If the image is larger + # than given width or height, it will be resized. + SCALEDOWN + # Image will be resized (shrunk or enlarged) to be as large as possible within + # the given width or height while preserving the aspect ratio. If you only + # provide a single dimension (for example, only width), the image will be shrunk + # or enlarged to exactly match that dimension. + CONTAIN + # Resizes (shrinks or enlarges) to fill the entire area of width and height. If + # the image has an aspect ratio different from the ratio of width and height, it + # will be cropped to fit. + COVER + # Image will be shrunk and cropped to fit within the area specified by width and + # height. The image will not be enlarged. For images smaller than the given + # dimensions, it is the same as scale-down. For images larger than the given + # dimensions, it is the same as cover. + CROP + # Resizes to the maximum size that fits within the given width and height, and + # then fills the remaining area with a background color (white by default). + PAD +} + +# Options for the image format of media transform output. +enum MediaTransformFormat { + # Serve the WebP or AVIF format to browsers that support it. + AUTO + AVIF + GIF + JPEG + # Instead of generating an image, outputs information about the image in JSON + # format. The JSON object will contain data such as image size (before and after + # resizing), source image’s MIME type, and file size. + JSON + PNG + SVG + WEBP +} + +# Options for cropping in media transforms. +enum MediaTransformGravitySide { + # Selects focal point based on saliency detection. + AUTO + # Left side. + LEFT + # Right side. + RIGHT + # Top side. + TOP + # Bottom side. + BOTTOM +} + +# Defines gravity for cropping operations. +input MediaTransformGravitySpecificationInput { + # Gravity point. + coordinates: MediaTransformCoordinatesInput + # Gravity side. + side: MediaTransformGravitySide +} + +# Options for metadata preservation. +enum MediaTransformMetadata { + # Discard all metadata except EXIF copyright tag. + COPYRIGHT + # Preserves most of EXIF metadata, including GPS location if present. + KEEP + # Discard all invisible EXIF metadata. + NONE +} + +# Defines the bounds of a rectangle. +input MediaTransformRectangleInput { + # The bottom of the rectangle. + bottom: Int + # The left side of the rectangle. + left: Int + # the right side of the rectangle. + right: Int + # The top of the rectangle. + top: Int +} + +# Media URL transforms. +input MediaUrlTransformInput { + # Whether to preserve animation frames from input files. Setting it to false reduces animations to still images. + anim: Boolean + # Background color to add underneath the image. Applies only to images with + # transparency (for example, PNG). Accepts any CSS color, such as #RRGGBB and rgba(…). + background: String + # Blur radius between 1 (slight blur) and 250 (maximum). + blur: Int + # Increase brightness by a factor. A value of 1.0 equals no change, a value of + # 0.5 equals half brightness, and a value of 2.0 equals twice as bright. 0 is ignored. + brightness: Float + # The compression to use on processed media. + compression: MediaTransformCompression + # Increase contrast by a factor. A value of 1.0 equals no change, a value of 0.5 + # equals low contrast, and a value of 2.0 equals high contrast. 0 is ignored. + contrast: Float + # Device Pixel Ratio. Multiplier for width/height that makes it easier to specify higher-DPI sizes. + dpr: Int + # Affects interpretation of width and height. All resizing modes preserve aspect ratio. + fit: MediaTransformFit + # The format of the processed image. + format: MediaTransformFormat + # Increase exposure by a factor. A value of 1.0 equals no change, a value of 0.5 + # darkens the image, and a value of 2.0 lightens the image. 0 is ignored. + gamma: Float + # When cropping with fit: "cover" and fit: "crop", this parameter defines the side or point that should not be cropped. + gravity: MediaTransformGravitySpecificationInput + # Specifies maximum height of the image in pixels. Exact behavior depends on the fit mode. + height: Int + # Controls amount of invisible metadata (EXIF data) that should be preserved. + metadata: MediaTransformMetadata + # In case of a fatal error that prevents the image from being resized, redirects to the unresized source image URL. + onError: MediaTransformError + # Specifies quality for images in JPEG, WebP, and AVIF formats. The quality is + # in a 1-100 scale, but useful values are between 50 (low quality, small file + # size) and 90 (high quality, large file size). + quality: Int + # Number of degrees (90, 180, or 270) to rotate the image by. + rotate: Int + # Specifies strength of sharpening filter to apply to the image. The value is a + # floating-point number between 0 (no sharpening, default) and 10 (maximum). + sharpen: Float + # Specifies a number of pixels to cut off on each side. Allows removal of + # borders or cutting out a specific fragment of an image. + trim: MediaTransformRectangleInput + # Specifies maximum width of the image in pixels. Exact behavior depends on the fit mode. + width: Int +} + +# The multiplier path scalar represents a valid GraphQL multiplier path string. +scalar MultiplierPath + +type PageInfo { + # Contains the encoded value of the cursor pointing to the last result of the current page + endCursor: String + # Equals 'true' in case the next page contains results, otherwise 'false' + hasNext: Boolean +} + +type Query { + # Select multiple ChangelogList using search criteria + allChangelog( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + orderBy: [ChangelogSorts] + where: ChangelogPredicate + ): ChangelogList + # Select multiple ChangetypeList using search criteria + allChangetype( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + orderBy: [ChangetypeSorts] + where: ChangetypePredicate + ): ChangetypeList + # Select multiple MediaList using search criteria + allMedia( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + orderBy: [MediaSorts] + where: MediaPredicate + ): MediaList + # Select multiple SitecoreCloudList using search criteria + allSitecoreCloud( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + orderBy: [SitecoreCloudSorts] + where: SitecoreCloudPredicate + ): SitecoreCloudList + # Select multiple SitecoreProductList using search criteria + allSitecoreProduct( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + orderBy: [SitecoreProductSorts] + where: SitecoreProductPredicate + ): SitecoreProductList + # Select multiple StatusList using search criteria + allStatus( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + orderBy: [StatusSorts] + where: StatusPredicate + ): StatusList + # Select multiple Taxonomy_releaseStatusList using search criteria + allTaxonomy_releaseStatus( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + where: Taxonomy_releaseStatusPredicate + ): Taxonomy_releaseStatusList + # Select a single changelog using its UID + changelog(id: String!): Changelog + # Select a single changetype using its UID + changetype(id: String!): Changetype + # Select a single Media using its UID + media(id: String!): Media + # Select a single sitecoreCloud using its UID + sitecoreCloud(id: String!): SitecoreCloud + # Select a single sitecoreProduct using its UID + sitecoreProduct(id: String!): SitecoreProduct + # Select a single status using its UID + status(id: String!): Status + # Select a single Taxonomy_releaseStatus using its UID + taxonomy_releaseStatus(id: String!): Taxonomy_releaseStatus +} + +# sitecoreCloud +type SitecoreCloud { + # cloudName + cloudName: String + # id + id: ID + # name + name: String + # __sysCreatedAt + __sysCreatedAt: DateTime + # __sysCreatedBy + __sysCreatedBy: String + # __sysUpdatedAt + __sysUpdatedAt: DateTime + # __sysUpdatedBy + __sysUpdatedBy: String + # __sysVersion + __sysVersion: String +} + +type SitecoreCloudList { + # Information of the current page + pageInfo: PageInfo + # Results for current page + results: [SitecoreCloud] + # Total number of results (all pages) + total: Int +} + +input SitecoreCloudPredicate { + AND: [SitecoreCloudPredicate!] + cloudName_allOf: [String] + cloudName_anyOf: [String] + cloudName_contains: String + cloudName_doesnotcontain: String + cloudName_doesnotendwith: String + cloudName_doesnotstartwith: String + cloudName_endswith: String + cloudName_eq: String + cloudName_neq: String + cloudName_noneOf: [String] + cloudName_startswith: String + id_anyOf: [ID] + id_eq: ID + id_neq: ID + id_noneOf: [ID] + name_allOf: [String] + name_anyOf: [String] + name_contains: String + name_doesnotcontain: String + name_doesnotendwith: String + name_doesnotstartwith: String + name_endswith: String + name_eq: String + name_neq: String + name_noneOf: [String] + name_startswith: String + OR: [SitecoreCloudPredicate!] + __sysCreatedAt_between: [DateTime] + __sysCreatedAt_eq: DateTime + __sysCreatedAt_gt: DateTime + __sysCreatedAt_lt: DateTime + __sysCreatedAt_neq: DateTime + __sysCreatedBy_allOf: [String] + __sysCreatedBy_anyOf: [String] + __sysCreatedBy_contains: String + __sysCreatedBy_doesnotcontain: String + __sysCreatedBy_doesnotendwith: String + __sysCreatedBy_doesnotstartwith: String + __sysCreatedBy_endswith: String + __sysCreatedBy_eq: String + __sysCreatedBy_neq: String + __sysCreatedBy_noneOf: [String] + __sysCreatedBy_startswith: String + __sysUpdatedAt_between: [DateTime] + __sysUpdatedAt_eq: DateTime + __sysUpdatedAt_gt: DateTime + __sysUpdatedAt_lt: DateTime + __sysUpdatedAt_neq: DateTime + __sysUpdatedBy_allOf: [String] + __sysUpdatedBy_anyOf: [String] + __sysUpdatedBy_contains: String + __sysUpdatedBy_doesnotcontain: String + __sysUpdatedBy_doesnotendwith: String + __sysUpdatedBy_doesnotstartwith: String + __sysUpdatedBy_endswith: String + __sysUpdatedBy_eq: String + __sysUpdatedBy_neq: String + __sysUpdatedBy_noneOf: [String] + __sysUpdatedBy_startswith: String + __sysVersion_allOf: [String] + __sysVersion_anyOf: [String] + __sysVersion_contains: String + __sysVersion_doesnotcontain: String + __sysVersion_doesnotendwith: String + __sysVersion_doesnotstartwith: String + __sysVersion_endswith: String + __sysVersion_eq: String + __sysVersion_neq: String + __sysVersion_noneOf: [String] + __sysVersion_startswith: String +} + +enum SitecoreCloudSorts { + CLOUDNAME_ASC + CLOUDNAME_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + __SYSCREATEDAT_ASC + __SYSCREATEDAT_DESC + __SYSCREATEDBY_ASC + __SYSCREATEDBY_DESC + __SYSUPDATEDAT_ASC + __SYSUPDATEDAT_DESC + __SYSUPDATEDBY_ASC + __SYSUPDATEDBY_DESC + __SYSVERSION_ASC + __SYSVERSION_DESC +} + +# sitecoreProduct +type SitecoreProduct { + # abbreviation + abbreviation: String + # id + id: ID + # name + name: String + # productDescription + productDescription: String + # sitecoreProduct__productIcon (child to parent traversal) + productIcon( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + orderBy: [MediaSorts] + where: MediaPredicate + ): MediaList! + # Image URL to the dark product icon + productIconDark: String + # Image URL to the light product icon + productIconLight: String + # productName + productName: String + # sitecoreProduct__sitecoreCloud (child to parent traversal) + sitecoreCloud( + # Cursor pagination - The encoded value of the cursor pointing to the last + # result of the current page- Should be used with first + after: String + # Cursor pagination - Max records to return. Must be less than 1000 - Should be used with after + first: Int = 10 + ): SitecoreProduct__sitecoreCloud_Parent_Types_List! + # __sysCreatedAt + __sysCreatedAt: DateTime + # __sysCreatedBy + __sysCreatedBy: String + # __sysUpdatedAt + __sysUpdatedAt: DateTime + # __sysUpdatedBy + __sysUpdatedBy: String + # __sysVersion + __sysVersion: String +} + +# Query on the sitecoreProduct__productIcon ancestor relation (Media->sitecoreProduct) +input SitecoreProduct__productIconPredicate { + media_ids: [ID] +} + +# Types allowed on the sitecoreProduct__sitecoreCloud relation. +union SitecoreProduct__sitecoreCloud_Parent_Types = SitecoreProduct | Status | SitecoreCloud | Changetype | Changelog +type SitecoreProduct__sitecoreCloud_Parent_Types_List { + # Information of the current page + pageInfo: PageInfo + # Results for current page + results: [SitecoreProduct__sitecoreCloud_Parent_Types] + # Total number of results (all pages) + total: Int +} + +# Query on the sitecoreProduct__sitecoreCloud ancestor relation (sitecoreProduct->sitecoreProduct) +input SitecoreProduct__sitecoreCloudPredicate { + productIcon: SitecoreProduct__productIconPredicate + sitecoreProduct_ids: [ID] +} + +type SitecoreProductList { + # Information of the current page + pageInfo: PageInfo + # Results for current page + results: [SitecoreProduct] + # Total number of results (all pages) + total: Int +} + +input SitecoreProductPredicate { + abbreviation_allOf: [String] + abbreviation_anyOf: [String] + abbreviation_contains: String + abbreviation_doesnotcontain: String + abbreviation_doesnotendwith: String + abbreviation_doesnotstartwith: String + abbreviation_endswith: String + abbreviation_eq: String + abbreviation_neq: String + abbreviation_noneOf: [String] + abbreviation_startswith: String + AND: [SitecoreProductPredicate!] + id_anyOf: [ID] + id_eq: ID + id_neq: ID + id_noneOf: [ID] + name_allOf: [String] + name_anyOf: [String] + name_contains: String + name_doesnotcontain: String + name_doesnotendwith: String + name_doesnotstartwith: String + name_endswith: String + name_eq: String + name_neq: String + name_noneOf: [String] + name_startswith: String + OR: [SitecoreProductPredicate!] + productIcon: SitecoreProduct__productIconPredicate + productIconDark_allOf: [String] + productIconDark_anyOf: [String] + productIconDark_contains: String + productIconDark_doesnotcontain: String + productIconDark_doesnotendwith: String + productIconDark_doesnotstartwith: String + productIconDark_endswith: String + productIconDark_eq: String + productIconDark_neq: String + productIconDark_noneOf: [String] + productIconDark_startswith: String + productIconLight_allOf: [String] + productIconLight_anyOf: [String] + productIconLight_contains: String + productIconLight_doesnotcontain: String + productIconLight_doesnotendwith: String + productIconLight_doesnotstartwith: String + productIconLight_endswith: String + productIconLight_eq: String + productIconLight_neq: String + productIconLight_noneOf: [String] + productIconLight_startswith: String + productName_allOf: [String] + productName_anyOf: [String] + productName_contains: String + productName_doesnotcontain: String + productName_doesnotendwith: String + productName_doesnotstartwith: String + productName_endswith: String + productName_eq: String + productName_neq: String + productName_noneOf: [String] + productName_startswith: String + sitecoreCloud: SitecoreProduct__sitecoreCloudPredicate + __sysCreatedAt_between: [DateTime] + __sysCreatedAt_eq: DateTime + __sysCreatedAt_gt: DateTime + __sysCreatedAt_lt: DateTime + __sysCreatedAt_neq: DateTime + __sysCreatedBy_allOf: [String] + __sysCreatedBy_anyOf: [String] + __sysCreatedBy_contains: String + __sysCreatedBy_doesnotcontain: String + __sysCreatedBy_doesnotendwith: String + __sysCreatedBy_doesnotstartwith: String + __sysCreatedBy_endswith: String + __sysCreatedBy_eq: String + __sysCreatedBy_neq: String + __sysCreatedBy_noneOf: [String] + __sysCreatedBy_startswith: String + __sysUpdatedAt_between: [DateTime] + __sysUpdatedAt_eq: DateTime + __sysUpdatedAt_gt: DateTime + __sysUpdatedAt_lt: DateTime + __sysUpdatedAt_neq: DateTime + __sysUpdatedBy_allOf: [String] + __sysUpdatedBy_anyOf: [String] + __sysUpdatedBy_contains: String + __sysUpdatedBy_doesnotcontain: String + __sysUpdatedBy_doesnotendwith: String + __sysUpdatedBy_doesnotstartwith: String + __sysUpdatedBy_endswith: String + __sysUpdatedBy_eq: String + __sysUpdatedBy_neq: String + __sysUpdatedBy_noneOf: [String] + __sysUpdatedBy_startswith: String + __sysVersion_allOf: [String] + __sysVersion_anyOf: [String] + __sysVersion_contains: String + __sysVersion_doesnotcontain: String + __sysVersion_doesnotendwith: String + __sysVersion_doesnotstartwith: String + __sysVersion_endswith: String + __sysVersion_eq: String + __sysVersion_neq: String + __sysVersion_noneOf: [String] + __sysVersion_startswith: String +} + +enum SitecoreProductSorts { + ABBREVIATION_ASC + ABBREVIATION_DESC + ID_ASC + ID_DESC + NAME_ASC + NAME_DESC + PRODUCTICONDARK_ASC + PRODUCTICONDARK_DESC + PRODUCTICONLIGHT_ASC + PRODUCTICONLIGHT_DESC + PRODUCTNAME_ASC + PRODUCTNAME_DESC + __SYSCREATEDAT_ASC + __SYSCREATEDAT_DESC + __SYSCREATEDBY_ASC + __SYSCREATEDBY_DESC + __SYSUPDATEDAT_ASC + __SYSUPDATEDAT_DESC + __SYSUPDATEDBY_ASC + __SYSUPDATEDBY_DESC + __SYSVERSION_ASC + __SYSVERSION_DESC +} + +# status +type Status { + # description + description: String + # id + id: ID + # Identifier used in code + identifier: String + # name + name: String + # __sysCreatedAt + __sysCreatedAt: DateTime + # __sysCreatedBy + __sysCreatedBy: String + # __sysUpdatedAt + __sysUpdatedAt: DateTime + # __sysUpdatedBy + __sysUpdatedBy: String + # __sysVersion + __sysVersion: String +} + +type StatusList { + # Information of the current page + pageInfo: PageInfo + # Results for current page + results: [Status] + # Total number of results (all pages) + total: Int +} + +input StatusPredicate { + AND: [StatusPredicate!] + description_allOf: [String] + description_anyOf: [String] + description_contains: String + description_doesnotcontain: String + description_doesnotendwith: String + description_doesnotstartwith: String + description_endswith: String + description_eq: String + description_neq: String + description_noneOf: [String] + description_startswith: String + identifier_allOf: [String] + identifier_anyOf: [String] + identifier_contains: String + identifier_doesnotcontain: String + identifier_doesnotendwith: String + identifier_doesnotstartwith: String + identifier_endswith: String + identifier_eq: String + identifier_neq: String + identifier_noneOf: [String] + identifier_startswith: String + id_anyOf: [ID] + id_eq: ID + id_neq: ID + id_noneOf: [ID] + name_allOf: [String] + name_anyOf: [String] + name_contains: String + name_doesnotcontain: String + name_doesnotendwith: String + name_doesnotstartwith: String + name_endswith: String + name_eq: String + name_neq: String + name_noneOf: [String] + name_startswith: String + OR: [StatusPredicate!] + __sysCreatedAt_between: [DateTime] + __sysCreatedAt_eq: DateTime + __sysCreatedAt_gt: DateTime + __sysCreatedAt_lt: DateTime + __sysCreatedAt_neq: DateTime + __sysCreatedBy_allOf: [String] + __sysCreatedBy_anyOf: [String] + __sysCreatedBy_contains: String + __sysCreatedBy_doesnotcontain: String + __sysCreatedBy_doesnotendwith: String + __sysCreatedBy_doesnotstartwith: String + __sysCreatedBy_endswith: String + __sysCreatedBy_eq: String + __sysCreatedBy_neq: String + __sysCreatedBy_noneOf: [String] + __sysCreatedBy_startswith: String + __sysUpdatedAt_between: [DateTime] + __sysUpdatedAt_eq: DateTime + __sysUpdatedAt_gt: DateTime + __sysUpdatedAt_lt: DateTime + __sysUpdatedAt_neq: DateTime + __sysUpdatedBy_allOf: [String] + __sysUpdatedBy_anyOf: [String] + __sysUpdatedBy_contains: String + __sysUpdatedBy_doesnotcontain: String + __sysUpdatedBy_doesnotendwith: String + __sysUpdatedBy_doesnotstartwith: String + __sysUpdatedBy_endswith: String + __sysUpdatedBy_eq: String + __sysUpdatedBy_neq: String + __sysUpdatedBy_noneOf: [String] + __sysUpdatedBy_startswith: String + __sysVersion_allOf: [String] + __sysVersion_anyOf: [String] + __sysVersion_contains: String + __sysVersion_doesnotcontain: String + __sysVersion_doesnotendwith: String + __sysVersion_doesnotstartwith: String + __sysVersion_endswith: String + __sysVersion_eq: String + __sysVersion_neq: String + __sysVersion_noneOf: [String] + __sysVersion_startswith: String +} + +enum StatusSorts { + DESCRIPTION_ASC + DESCRIPTION_DESC + ID_ASC + ID_DESC + IDENTIFIER_ASC + IDENTIFIER_DESC + NAME_ASC + NAME_DESC + __SYSCREATEDAT_ASC + __SYSCREATEDAT_DESC + __SYSCREATEDBY_ASC + __SYSCREATEDBY_DESC + __SYSUPDATEDAT_ASC + __SYSUPDATEDAT_DESC + __SYSUPDATEDBY_ASC + __SYSUPDATEDBY_DESC + __SYSVERSION_ASC + __SYSVERSION_DESC +} + +# Taxonomy_releaseStatus +type Taxonomy_releaseStatus { + # id + id: ID +} + +type Taxonomy_releaseStatusList { + # Information of the current page + pageInfo: PageInfo + # Results for current page + results: [Taxonomy_releaseStatus] + # Total number of results (all pages) + total: Int +} + +input Taxonomy_releaseStatusPredicate { + AND: [Taxonomy_releaseStatusPredicate!] + id_anyOf: [ID] + id_eq: ID + id_neq: ID + id_noneOf: [ID] + OR: [Taxonomy_releaseStatusPredicate!] +} diff --git a/packages/changelog/src/graphQl/change-type-query.ts b/packages/changelog/src/graphQl/change-type-query.ts deleted file mode 100644 index de61e60e3..000000000 --- a/packages/changelog/src/graphQl/change-type-query.ts +++ /dev/null @@ -1,15 +0,0 @@ -export const CHANGE_TYPE_QUERY = ` - id - name - changeType -`; -export default CHANGE_TYPE_QUERY - -export const ALL_CHANGE_TYPE_QUERY = `{ -data: allChangetype{ - total - results { - ${CHANGE_TYPE_QUERY} - } - } -}`; \ No newline at end of file diff --git a/packages/changelog/src/graphQl/changelog-query.ts b/packages/changelog/src/graphQl/changelog-query.ts deleted file mode 100644 index f84e67be8..000000000 --- a/packages/changelog/src/graphQl/changelog-query.ts +++ /dev/null @@ -1,97 +0,0 @@ -import CHANGE_TYPE_QUERY from './change-type-query'; -import MEDIA_QUERY from './common/media-query'; -import SITECORE_PRODUCT_QUERY from './sitecore-product-query'; -import { STATUS_QUERY } from './status.graphql'; - -export const CHANGELOG_QUERY = ` - id - name - title - description - fullArticle - readMoreLink - breakingChange - version - releaseDate - image { - total - results { - ${MEDIA_QUERY} - } - } - sitecoreProduct{ - total - results { - __typename - ... on SitecoreProduct { - ${SITECORE_PRODUCT_QUERY} - } - } - } - changeType - { - total - results { - __typename - ... on Changetype { - ${CHANGE_TYPE_QUERY} - } - } - } - status - { - total - results { - __typename - ... on Status { - ${STATUS_QUERY} - } - } - } -`; - -export const CHANGELOG_SUMMARY_QUERY = ` - id - title - releaseDate - sitecoreProduct{ - total - results { - __typename - ... on SitecoreProduct { - ${SITECORE_PRODUCT_QUERY} - } - } - } - changeType - { - total - results { - __typename - ... on Changetype { - ${CHANGE_TYPE_QUERY} - } - } - } - status - { - total - results { - __typename - ... on Status { - ${STATUS_QUERY} - } - } - } -`; - -export const ALL_CHANGELOG_QUERY = `{ - data: allChangelog{ - total - results { - ${CHANGELOG_QUERY} - } - } - } - `; -export default ALL_CHANGELOG_QUERY; diff --git a/packages/changelog/src/graphQl/common/media-query.ts b/packages/changelog/src/graphQl/common/media-query.ts deleted file mode 100644 index bb4c67cd8..000000000 --- a/packages/changelog/src/graphQl/common/media-query.ts +++ /dev/null @@ -1,14 +0,0 @@ -export const MEDIA_QUERY = -` - id - name - fileName - fileUrl - description - fileWidth - fileHeight - fileId - fileSize - fileType - `; -export default MEDIA_QUERY; \ No newline at end of file diff --git a/packages/changelog/src/graphQl/sitecore-product-internal-query.ts b/packages/changelog/src/graphQl/sitecore-product-internal-query.ts deleted file mode 100644 index fac7a04a1..000000000 --- a/packages/changelog/src/graphQl/sitecore-product-internal-query.ts +++ /dev/null @@ -1,28 +0,0 @@ -import SITECORE_PRODUCT_QUERY from "./sitecore-product-query"; - -export const SITECORE_PRODUCT_INTERNAL_QUERY = ` - id - name - productAbbreviationInternal - productNameInternal - sitecoreProducts{ - total - results { - __typename - ... on SitecoreProducts { - ${SITECORE_PRODUCT_QUERY} - } - } - } -`; -export default SITECORE_PRODUCT_INTERNAL_QUERY - -export const ALL_SITECORE_PRODUCT_INTERNAL_QUERY = `{ - data: allSitecoreProductsInternal{ - total - results { - ${SITECORE_PRODUCT_INTERNAL_QUERY} - } - } -} -`; \ No newline at end of file diff --git a/packages/changelog/src/graphQl/sitecore-product-query.ts b/packages/changelog/src/graphQl/sitecore-product-query.ts deleted file mode 100644 index 41ee7ef91..000000000 --- a/packages/changelog/src/graphQl/sitecore-product-query.ts +++ /dev/null @@ -1,19 +0,0 @@ -export const SITECORE_PRODUCT_QUERY = ` - id - name - productName - productDescription - darkIcon:productIconDark - lightIcon: productIconLight -`; -export default SITECORE_PRODUCT_QUERY; - -export const ALL_SITECORE_PRODUCT_QUERY = `{ - data: allSitecoreProduct(first:25) { - total - results { - ${SITECORE_PRODUCT_QUERY} - } - } - } - `; diff --git a/packages/changelog/src/graphQl/status.graphql.ts b/packages/changelog/src/graphQl/status.graphql.ts deleted file mode 100644 index ee370956b..000000000 --- a/packages/changelog/src/graphQl/status.graphql.ts +++ /dev/null @@ -1,15 +0,0 @@ -export const STATUS_QUERY = ` - id - name - description - identifier -`; - -export const ALL_STATUS_QUERY = `{ -data: allStatus{ - total - results { - ${STATUS_QUERY} - } - } -}`; diff --git a/packages/changelog/src/lib/changeType.ts b/packages/changelog/src/lib/changeType.ts deleted file mode 100644 index 0fcabc686..000000000 --- a/packages/changelog/src/lib/changeType.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ALL_CHANGE_TYPE_QUERY } from '../graphQl/change-type-query'; -import { ChangelogCredentials } from '../types/changelog'; -import { fetchAPI } from './common/api'; - -export async function GetAllChangeTypes(credentials: ChangelogCredentials, preview: boolean) { - const response = await fetchAPI(credentials, ALL_CHANGE_TYPE_QUERY, preview); - return response.data; -} diff --git a/packages/changelog/src/lib/common/api.ts b/packages/changelog/src/lib/common/fetch.ts similarity index 68% rename from packages/changelog/src/lib/common/api.ts rename to packages/changelog/src/lib/common/fetch.ts index 9d41c0304..1a02489db 100644 --- a/packages/changelog/src/lib/common/api.ts +++ b/packages/changelog/src/lib/common/fetch.ts @@ -1,36 +1,38 @@ -import axios from 'axios'; -import axiosThrottle from 'axios-request-throttle'; -import { ChangelogCredentials } from '../../types/changelog'; - -export async function fetchAPI(credentials: ChangelogCredentials, query: string, preview?: boolean) { - const environment = preview ? credentials.preview : credentials.production; - const endpoint = environment.endpoint as string; - const token = environment.token as string; - - if (preview) { - // Throttle requests to 15 per second for the preview environment - axiosThrottle.use(axios, { requestsPerSecond: 15 }); - } - - if (endpoint === undefined || token === undefined) { - console.warn('WARNING: Missing CH ONE endpoint or token'); - return null; - } - - try { - const response = await axios.post( - endpoint as string, - { query }, - { - headers: { - 'Content-Type': 'application/json', - 'X-GQL-Token': token, - }, - } - ); - return response.data; - } catch (err) { - console.log(err); - return null; - } -} \ No newline at end of file +import axios from 'axios'; +import axiosThrottle from 'axios-request-throttle'; +import { TypedDocumentString } from '../../gql/generated/graphql'; +import { ChangelogCredentials } from '../../types/changelog'; + +export async function fetchGraphQL(document: TypedDocumentString | string, credentials: ChangelogCredentials, preview?: boolean, ...[variables]: TVariables extends Record ? [] : [TVariables]) { + const environment = preview ? credentials.preview : credentials.production; + const endpoint = environment.endpoint as string; + const token = environment.token as string; + + if (preview) { + // Throttle requests to 15 per second for the preview environment + axiosThrottle.use(axios, { requestsPerSecond: 15 }); + } + + if (endpoint === undefined || token === undefined) { + console.warn('WARNING: Missing CH ONE endpoint or token'); + return null; + } + + try { + const response = await axios.post( + endpoint as string, + { query: document.toString(), variables: variables }, + { + headers: { + 'Content-Type': 'application/json', + 'X-GQL-Token': token, + }, + } + ); + + return response.data; + } catch (err) { + console.log(err); + return null; + } +} diff --git a/packages/changelog/src/lib/products.ts b/packages/changelog/src/lib/products.ts deleted file mode 100644 index 62b55d957..000000000 --- a/packages/changelog/src/lib/products.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ALL_SITECORE_PRODUCT_QUERY } from '../graphQl/sitecore-product-query'; -import { ChangelogCredentials } from '../types/changelog'; -import { fetchAPI } from './common/api'; - -export async function GetAllProducts(credentials: ChangelogCredentials, preview: boolean) { - const response = await fetchAPI(credentials, ALL_SITECORE_PRODUCT_QUERY, preview); - return response.data; -} - -export async function GetEntryCountByProductId(credentials: ChangelogCredentials, productId: string, preview: boolean) { - const response = await fetchAPI( - credentials, - `{ - data: allChangelog(where: { sitecoreProduct: { changelog_ids: "${productId}" } }) - { - total - } - } - `, - preview - ); - return response.data.data.total; -} diff --git a/packages/changelog/src/lib/search.ts b/packages/changelog/src/lib/search.ts deleted file mode 100644 index ebd2238e3..000000000 --- a/packages/changelog/src/lib/search.ts +++ /dev/null @@ -1,209 +0,0 @@ -import { CHANGELOG_QUERY, CHANGELOG_SUMMARY_QUERY } from '../graphQl/changelog-query'; -import { Changelog, ChangelogBase, ChangelogCredentials, ChangelogList } from '../types/changelog'; -import { clearTimeStamp, getDate } from '../utils/dateUtils'; -import { fetchAPI } from './common/api'; - -export async function PaginatedSearch(credentials: ChangelogCredentials, isPreview: boolean, pageSize: number, endCursor: string, productId?: string, changeTypeId?: string) { - if (!pageSize) pageSize = 10; - - return Search(credentials, isPreview, productId, changeTypeId, undefined, undefined, pageSize, endCursor); -} - -export async function Search(credentials: ChangelogCredentials, isPreview: boolean, productId?: string, changeTypeId?: string, summary?: boolean, searchTerm?: string, pageSize?: number, endCursor?: string) { - const searchQuery = ` - { - data: allChangelog ( - orderBy: RELEASEDATE_DESC - ${buildParameters(productId, changeTypeId, searchTerm, pageSize, endCursor, isPreview)} - ) { - pageInfo { - hasNext - endCursor - } - total - results{ - ${summary ? CHANGELOG_SUMMARY_QUERY : CHANGELOG_QUERY} - } - } - } - `; - - const response = await fetchAPI(credentials, searchQuery, isPreview); - if (!response) return { data: [] }; - return response.data; -} - -export async function SearchByDate(credentials: ChangelogCredentials, isPreview: boolean, date: Date, summary?: boolean, pageSize?: number, endCursor?: string) { - const formattedDate = clearTimeStamp(date); - - const searchQuery = ` - { - data: allChangelog ( - orderBy: RELEASEDATE_DESC - ${addPagingParameters(pageSize, endCursor)} - where: { releaseDate_eq: "${formattedDate}" } - ) { - pageInfo { - hasNext - endCursor - } - total - results{ - ${summary ? CHANGELOG_SUMMARY_QUERY : CHANGELOG_QUERY} - } - } - } - `; - const response = await fetchAPI(credentials, searchQuery, isPreview); - if (!response) return { data: [] }; - return response.data; -} - -function addPagingParameters(pageSize?: number, endCursor?: string, parameters?: string) { - if (!parameters) parameters = ''; - if (pageSize) parameters += `first: ${pageSize} \n`; - if (endCursor) parameters += `after: "${endCursor}" \n`; - return parameters; -} - -function buildParameters(productId?: string, changeTypeId?: string, searchTerm?: string, pageSize?: number, endCursor?: string, isPreview?: boolean): string { - let parameters = ``; - - parameters += addPagingParameters(pageSize, endCursor, parameters); - parameters += buildWhereClause(searchTerm, productId, changeTypeId, isPreview); - - return parameters; -} - -const openWHERE = `where: { releaseDate_lt: "${getDate(new Date())}" `; -const openWHEREinPreview = `where: { `; -const openAND = ' AND: ['; -const openCombinedANDOR = 'AND: { OR: ['; -const closeCombinedANDOR = ']}'; -const openOR = ' OR: ['; -const closeANDOR = ']'; -const closeWHERE = '}'; - -/* - Building the complex WHERE clause based on parameters -*/ -function buildWhereClause(searchTerm?: string, productId?: string, changeTypeId?: string, isPreview?: boolean) { - if (!searchTerm && !productId && !changeTypeId) { - if (isPreview) return ''; - return `where: { releaseDate_lt: "${getDate(new Date())}" }`; - } - - const pId = productId?.split('|'); - const multipleProducts = pId != undefined && pId.length > 1; - - const cId = changeTypeId?.split('|'); - const multipleChangeTypes = cId != undefined && cId.length > 1; - - let whereClause = isPreview ? openWHEREinPreview : openWHERE; - - // Check product(s) - if (multipleProducts) { - whereClause += buildProductsClause(pId); - } else { - whereClause += buildProductIdClause(productId); - } - - // Check changetype(s) - if (multipleChangeTypes) { - whereClause += buildChangeTypesClause(cId, multipleProducts); - } else { - whereClause += buildChangeTypeClause(changeTypeId); - } - - if (searchTerm) { - whereClause += buildSearchTermClause(searchTerm); - } - - // else { - //whereClause += `{ releaseDate_lt: "${new Date().toISOString()}" }`; - //} - - whereClause += closeWHERE; - return whereClause; -} - -/* - Handle each parameter -*/ - -function buildSearchTermClause(searchTerm?: string): string { - let whereClauseSearchTerm = ''; - - if (!searchTerm) return whereClauseSearchTerm; - - // We want each word to match therefore grouping by AND operator - whereClauseSearchTerm += `AND: [`; - - // Making sure to validate each word in case we have a phrase as search term - if (searchTerm != undefined) { - const searchArray = searchTerm.split('-'); - - searchArray.forEach((term: string) => { - whereClauseSearchTerm += `{title_contains: "${term}"}`; - }); - } - //whereClauseSearchTerm += `{ releaseDate_lt: "${new Date().toISOString()}" }`; - - whereClauseSearchTerm += `]`; - return whereClauseSearchTerm; -} - -// Match multiple changetype -function buildChangeTypesClause(changeTypeIds: string[], multipleProducts: boolean): string { - let changeTypeClause: string = multipleProducts ? openCombinedANDOR : openOR; - - changeTypeIds.map((changeTypeId) => { - changeTypeClause += `{changeType: { changelog_ids: "${changeTypeId}"}}`; - }); - - changeTypeClause += multipleProducts ? closeCombinedANDOR : closeANDOR; - return changeTypeClause; -} - -// Match single changetype -function buildChangeTypeClause(changeTypeId?: string): string { - if (!changeTypeId || changeTypeId == undefined) return ''; - - let changeTypeClause: string = openAND; - changeTypeClause += `{changeType: { changelog_ids: "${changeTypeId}"}}`; - changeTypeClause += closeANDOR; - - return changeTypeClause; -} - -function buildProductsClause(productIds: string[]): string { - let productsClause: string = openOR; - - productIds.map((productId) => { - productsClause += `{sitecoreProduct: { changelog_ids: "${productId}"}}`; - }); - - productsClause += closeANDOR; - return productsClause; -} - -function buildProductIdClause(productId?: string): string { - if (!productId || productId == undefined) return ''; - - return ` sitecoreProduct: { changelog_ids: "${productId}"}`; -} - -/* - Extracting the raw data into changelog items -*/ - -export function extractBasePosts({ data }: { data: ChangelogList }) { - return data.results.map((post: ChangelogBase) => { - return post; - }); -} -export function extractPosts({ data }: { data: ChangelogList }) { - return data.results.map((post: Changelog) => { - return post; - }); -} diff --git a/packages/changelog/src/lib/status.ts b/packages/changelog/src/lib/status.ts deleted file mode 100644 index 62e1b55c4..000000000 --- a/packages/changelog/src/lib/status.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { ALL_STATUS_QUERY } from '../graphQl/status.graphql'; -import { ChangelogCredentials } from '../types/changelog'; -import { fetchAPI } from './common/api'; - -export async function GetAllStatuses(credentials: ChangelogCredentials, preview: boolean) { - const response = await fetchAPI(credentials, ALL_STATUS_QUERY, preview); - return response.data; -} diff --git a/packages/changelog/src/types/changeLogEntry.ts b/packages/changelog/src/types/changeLogEntry.ts index 1b6feb19e..1bbeaccc0 100644 --- a/packages/changelog/src/types/changeLogEntry.ts +++ b/packages/changelog/src/types/changeLogEntry.ts @@ -1,8 +1,9 @@ import { generateHTML } from '@tiptap/html'; +import { GetLatestEntriesQuery } from '../gql/generated/graphql'; import { richTextProfile } from '../lib/common/richTextConfiguration'; import { clearTimeStamp } from '../utils/dateUtils'; +import { getStringValue } from '../utils/stringUtils'; import { ChangeType } from './changeType'; -import { Changelog, ChangelogBase, ChangelogList } from './changelog'; import { Media } from './index'; import SitecoreProduct from './sitecoreProduct'; import { DefaultStatus, Status } from './status'; @@ -38,8 +39,8 @@ export type ChangelogEntry = ChangelogEntrySummary & { image: Media[]; }; -export function ParseRawData(data: ChangelogList): ChangelogEntryList { - if (!data.results || data.results.length == 0) +export function ParseRawData(data: GetLatestEntriesQuery): ChangelogEntryList { + if (!data.changelog?.results) return { endCursor: '', hasNext: false, @@ -48,43 +49,18 @@ export function ParseRawData(data: ChangelogList): ChangelogEntryList { + endCursor: getStringValue(data.changelog.pageInfo?.endCursor), + hasNext: data.changelog.pageInfo?.hasNext ?? false, + total: data.changelog.total ?? 0, + entries: data.changelog.results.map((item) => { return parseChangeLogItem(item); }), }; } -export function ParseRawSummaryData(data: ChangelogList): ChangelogEntryList { +export function parseChangeLogItem(changelog: any): ChangelogEntry { return { - endCursor: data.pageInfo.endCursor, - hasNext: data.pageInfo.hasNext, - total: data.total, - entries: data.results.map((item: Changelog) => { - return parseChangeLogSummaryItem(item); - }), - }; -} - -function parseChangeLogSummaryItem(changelog: ChangelogBase): ChangelogEntrySummary { - return { - id: changelog.id, - title: changelog.title, - releaseDate: new Date(clearTimeStamp(changelog.releaseDate)).toLocaleDateString(['en-US'], { year: 'numeric', month: 'short', day: 'numeric' }), - lightIcon: changelog.sitecoreProduct.results[0]?.lightIcon, - darkIcon: changelog.sitecoreProduct.results[0]?.darkIcon, - productName: changelog.sitecoreProduct.results[0]?.productName ?? null, - products: changelog.sitecoreProduct.results ?? null, - changeTypeName: changelog.changeType.results[0]?.changeType ?? null, - status: changelog.status.results[0] ? changelog.status.results[0] : DefaultStatus, - }; -} - -export function parseChangeLogItem(changelog: Changelog): ChangelogEntry { - return { - id: changelog.id, + id: getStringValue(changelog?.id), name: changelog.name, readMoreLink: changelog.readMoreLink, title: changelog.title, diff --git a/packages/changelog/src/types/changeType.ts b/packages/changelog/src/types/changeType.ts index 76ffd23d2..fb10e579c 100644 --- a/packages/changelog/src/types/changeType.ts +++ b/packages/changelog/src/types/changeType.ts @@ -1,4 +1,5 @@ -import { slugify } from '../utils'; +import { GetAllChangetypesQuery } from '../gql/generated/graphql'; +import { getStringValue, slugify } from '../utils/stringUtils'; export type ChangeType = { id: string; @@ -7,18 +8,15 @@ export type ChangeType = { type: string; }; -export type ChangeTypeResults = { - total: string; - results: ChangeType[]; -}; +export function ParseChangeType(data: GetAllChangetypesQuery): ChangeType[] { + if (!data.allChangetype?.results) { + return []; + } -export function ParseChangeType(data: ChangeTypeResults): ChangeType[] { - return data.results.map((x) => { - return { - name: x.name, - changeType: x.changeType, - id: x.id, - type: slugify(x.name), - }; - }); + return data.allChangetype.results?.map((x) => ({ + name: getStringValue(x?.name), + changeType: getStringValue(x?.changeType), + id: getStringValue(x?.id), + type: slugify(getStringValue(x?.name)), + })); } diff --git a/packages/changelog/src/types/changelog.ts b/packages/changelog/src/types/changelog.ts index 56da7c1ce..314e12399 100644 --- a/packages/changelog/src/types/changelog.ts +++ b/packages/changelog/src/types/changelog.ts @@ -1,39 +1,3 @@ -import { JSONContent } from '@tiptap/core'; -import { ChangeTypeResults } from './changeType'; -import { MediaResults } from './common/media'; -import { SitecoreProductResults } from './sitecoreProduct'; -import { StatusResults } from './status'; - -export type ChangelogBase = { - id: string; - title: string; - sitecoreProduct: SitecoreProductResults; - changeType: ChangeTypeResults; - status: StatusResults; - releaseDate: string; -}; - -export type Changelog = ChangelogBase & { - name: string; - readMoreLink: string; - description: JSONContent; - fullArticle?: JSONContent; - breakingChange: boolean; - version: string; - image: MediaResults; -}; - -export type pageInfo = { - hasNext: boolean; - endCursor: string; -}; - -export type ChangelogList = { - pageInfo: pageInfo; - total: number; - results: Changelog[]; -}; - export type ChangelogCredentials = { preview: ChangelogEndpoint; production: ChangelogEndpoint; @@ -42,4 +6,4 @@ export type ChangelogCredentials = { export type ChangelogEndpoint = { endpoint: string; token: string; -}; \ No newline at end of file +}; diff --git a/packages/changelog/src/types/product.ts b/packages/changelog/src/types/product.ts index d4a82aaa0..5a6b83a7f 100644 --- a/packages/changelog/src/types/product.ts +++ b/packages/changelog/src/types/product.ts @@ -1,5 +1,6 @@ import { GetProductLogoByVariant, Product as ProductLogo, Type, Variant } from '@scdp/ui/lib'; -import { SitecoreProductResults } from './sitecoreProduct'; +import { GetAllProductsQuery } from '../gql/generated/graphql'; +import { getStringValue } from '../utils'; export type Product = { id: string; @@ -9,17 +10,22 @@ export type Product = { hasEntries: boolean; }; -export function ParseProduct(data: SitecoreProductResults): Product[] { +export function ParseProduct(data: GetAllProductsQuery): Product[] { const darkDefaultLogo = GetProductLogoByVariant(ProductLogo.Default, Variant.Dark, Type.IconOnly); const lightDefaultLogo = GetProductLogoByVariant(ProductLogo.Default, Variant.Light, Type.IconOnly); - return data.results.map((x) => { + if (!data.allSitecoreProduct?.results) { + console.log('No products found'); + return []; + } + + return data.allSitecoreProduct.results.map((x) => { return { - id: x.id, - name: x.productName, - description: x.productDescription, - lightIcon: x.lightIcon != null ? x.lightIcon : lightDefaultLogo, - darkIcon: x.darkIcon != null ? x.darkIcon : darkDefaultLogo, + id: getStringValue(x?.id), + name: getStringValue(x?.productName), + description: getStringValue(x?.productDescription), + lightIcon: getStringValue(x?.lightIcon) != null ? getStringValue(x?.lightIcon) : lightDefaultLogo, + darkIcon: getStringValue(x?.darkIcon) != null ? getStringValue(x?.darkIcon) : darkDefaultLogo, hasEntries: false, }; }); diff --git a/packages/changelog/src/types/status.ts b/packages/changelog/src/types/status.ts index 1e94bb48a..be45c9e4d 100644 --- a/packages/changelog/src/types/status.ts +++ b/packages/changelog/src/types/status.ts @@ -1,3 +1,6 @@ +import { GetAllStatusQuery } from '../gql/generated/graphql'; +import { getStringValue } from '../utils/stringUtils'; + export type Status = { id: string; name: string; @@ -17,13 +20,17 @@ export const DefaultStatus: Status = { description: '', }; -export function ParseStatus(data: StatusResults): Status[] { - return data.results.map((x) => { +export function ParseStatus(data: GetAllStatusQuery): Status[] { + if (!data.allStatus?.results) { + return []; + } + + return data.allStatus?.results.map((x) => { return { - name: x.name, - id: x.id, - identifier: x.identifier, - description: x.description, + name: getStringValue(x?.name), + id: getStringValue(x?.id), + identifier: getStringValue(x?.identifier), + description: getStringValue(x?.description), }; }); } diff --git a/packages/changelog/src/utils/dateUtils.ts b/packages/changelog/src/utils/dateUtils.ts index 33a68718a..634e6c019 100644 --- a/packages/changelog/src/utils/dateUtils.ts +++ b/packages/changelog/src/utils/dateUtils.ts @@ -1,9 +1,14 @@ export function clearTimeStamp(date: string | Date): string { - if (typeof date === 'object' && date instanceof Date) { - return date.toISOString().split('T')[0]; - } + try { + if (typeof date === 'object' && date instanceof Date) { + return date.toISOString().split('T')[0]; + } - return date.split('T')[0]; + return date.split('T')[0]; + } catch (e) { + console.log(`Could not parse date: ${date}`); + return ''; + } } export function getDate(date: Date): string { diff --git a/packages/changelog/src/utils/stringUtils.ts b/packages/changelog/src/utils/stringUtils.ts index 50ad4e1dc..00c277802 100644 --- a/packages/changelog/src/utils/stringUtils.ts +++ b/packages/changelog/src/utils/stringUtils.ts @@ -2,7 +2,11 @@ export function getSlug(value: string) { return value.replace(/\s+/g, '-').toLowerCase(); } -export function slugify(text: string): string { +export function slugify(text: string | null | undefined): string { + if (!text) { + return ''; + } + const slug = encodeURIComponent(text); return slug.toLowerCase().replace(/%20/g, '-'); } @@ -10,3 +14,7 @@ export function slugify(text: string): string { export function unslugify(text: string): string { return decodeURIComponent(text); } + +export function getStringValue(text: string | null | undefined) { + return text || ''; +} \ No newline at end of file diff --git a/turbo.json b/turbo.json index 384a8b04f..f48ade1bf 100644 --- a/turbo.json +++ b/turbo.json @@ -16,6 +16,9 @@ "test": { "cache": false }, + "generate": { + "cache": false + }, "start": { "dependsOn": ["^build"] } From b5807b78156e0ac17076fe1c4f116ac92c80f834 Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Mon, 8 Jul 2024 17:29:23 +0200 Subject: [PATCH 03/15] add UI for scheduled and in-progress entries --- .../components/changelog/ChangelogEntries.tsx | 20 +++++++++--- .../changelog/ChangelogItemMeta.tsx | 31 ++++++++++++------- packages/changelog/src/gql/custom/queries.ts | 1 + packages/changelog/src/gql/generated/gql.ts | 4 +-- .../changelog/src/gql/generated/graphql.ts | 12 +++++++ .../changelog/src/types/changeLogEntry.ts | 2 ++ 6 files changed, 52 insertions(+), 18 deletions(-) diff --git a/apps/devportal/src/components/changelog/ChangelogEntries.tsx b/apps/devportal/src/components/changelog/ChangelogEntries.tsx index 93a973e7b..39cd1045b 100644 --- a/apps/devportal/src/components/changelog/ChangelogEntries.tsx +++ b/apps/devportal/src/components/changelog/ChangelogEntries.tsx @@ -1,8 +1,8 @@ -import { Badge, Box, Button, Card, CardBody, CardHeader, CardProps, Flex, HStack, Heading, Hide, Link, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, SimpleGrid, Stack, Text, chakra, useColorModeValue } from '@chakra-ui/react'; -import Image from 'next/image'; +import { Box, Button, Card, CardBody, CardHeader, CardProps, Flex, HStack, Heading, Hide, Link, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, SimpleGrid, Stack, Tag, Text, chakra, useColorModeValue } from '@chakra-ui/react'; import { ChangelogEntry } from '@scdp/changelog/types'; -import { getSlug, getChangelogEntryUrl } from '@scdp/changelog/utils'; +import { getChangelogEntryUrl, getSlug } from '@scdp/changelog/utils'; import { TextLink } from '@scdp/ui/components'; +import Image from 'next/image'; type ChangelogEntriesProps = CardProps & { entries: ChangelogEntry[]; @@ -90,8 +90,18 @@ const ChangelogEntries = ({ entries, title, linkHref, linkText, hideProductIcon, ) )} - {entry.changeTypeName != null ? {entry.changeTypeName} : ''} - {entry.breakingChange && Breaking change} + {entry.changeTypeName != null ? ( + + {entry.changeTypeName} + + ) : ( + '' + )} + {entry.breakingChange && ( + + Breaking change + + )} diff --git a/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx b/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx index 917caddfc..e70107172 100644 --- a/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx +++ b/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx @@ -1,11 +1,11 @@ /* eslint-disable turbo/no-undeclared-env-vars */ import { usePreview } from '@/src/context/PreviewContext'; -import { Badge, BoxProps, Button, HStack, Hide, Icon, Link, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, Stack, Text, Tooltip, chakra, useColorModeValue } from '@chakra-ui/react'; -import { mdiSquareEditOutline } from '@mdi/js'; +import { getStatusBadgeColor } from '@/src/lib/changelog/changelog'; +import { BoxProps, Button, HStack, Hide, Icon, Link, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, Stack, Tag, Text, Tooltip, chakra, useColorModeValue } from '@chakra-ui/react'; +import { mdiClockOutline, mdiSquareEditOutline } from '@mdi/js'; import { ChangelogEntry } from '@scdp/changelog/types'; import { getSlug } from '@scdp/changelog/utils'; import Image from 'next/image'; -import { getStatusBadgeColor } from '../../lib/changelog/changelog'; import { ProductIcon } from './ProductIcon'; type ChangelogItemMetaProps = BoxProps & { @@ -74,20 +74,29 @@ export const ChangelogItemMeta = ({ item, ...rest }: ChangelogItemMetaProps) => - {/* {item.changeTypeName != null ? {item.changeTypeName} : No changetype defined} */} {item.changeType.length > 0 && item.changeType.map((changeTypeItem, key) => ( - + {changeTypeItem.name} - + ))} - {item.breakingChange && Breaking change} - - {item.status && ( + {item.breakingChange && ( + + Breaking change + + )} + {item.scheduled && ( + + + + + + )} + {!item.scheduled && item.status && item.status.identifier == 'in-progress' && ( - + {item.status.name} - + )} diff --git a/packages/changelog/src/gql/custom/queries.ts b/packages/changelog/src/gql/custom/queries.ts index b6f076287..92590bc46 100644 --- a/packages/changelog/src/gql/custom/queries.ts +++ b/packages/changelog/src/gql/custom/queries.ts @@ -48,6 +48,7 @@ fragment changelogEntry on Changelog { breakingChange version releaseDate + scheduled image { total results { diff --git a/packages/changelog/src/gql/generated/gql.ts b/packages/changelog/src/gql/generated/gql.ts index 232c28e0b..5ff9db8b1 100644 --- a/packages/changelog/src/gql/generated/gql.ts +++ b/packages/changelog/src/gql/generated/gql.ts @@ -13,7 +13,7 @@ import * as types from './graphql'; */ const documents = { 'fragment changeType on Changetype {\n id\n name\n changeType\n}': types.ChangeTypeFragmentDoc, - 'fragment changelogEntry on Changelog {\n id\n name\n title\n description\n fullArticle\n readMoreLink\n breakingChange\n version\n releaseDate\n image {\n total\n results {\n ...media\n }\n }\n sitecoreProduct {\n total\n results {\n ...product\n }\n }\n changeType {\n total\n results {\n ...changeType\n }\n }\n status {\n total\n results {\n ...status\n }\n }\n}': + 'fragment changelogEntry on Changelog {\n id\n name\n title\n description\n fullArticle\n readMoreLink\n breakingChange\n version\n releaseDate\n scheduled\n image {\n total\n results {\n ...media\n }\n }\n sitecoreProduct {\n total\n results {\n ...product\n }\n }\n changeType {\n total\n results {\n ...changeType\n }\n }\n status {\n total\n results {\n ...status\n }\n }\n}': types.ChangelogEntryFragmentDoc, 'fragment changelogEntrySummary on Changelog {\n id\n name\n title\n description\n readMoreLink\n breakingChange\n version\n releaseDate\n image {\n total\n results {\n ...media\n }\n }\n sitecoreProduct {\n total\n results {\n ...product\n }\n }\n changeType {\n total\n results {\n ...changeType\n }\n }\n status {\n total\n results {\n ...status\n }\n }\n}': types.ChangelogEntrySummaryFragmentDoc, @@ -45,7 +45,7 @@ export function graphql(source: 'fragment changeType on Changetype {\n id\n na * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ export function graphql( - source: 'fragment changelogEntry on Changelog {\n id\n name\n title\n description\n fullArticle\n readMoreLink\n breakingChange\n version\n releaseDate\n image {\n total\n results {\n ...media\n }\n }\n sitecoreProduct {\n total\n results {\n ...product\n }\n }\n changeType {\n total\n results {\n ...changeType\n }\n }\n status {\n total\n results {\n ...status\n }\n }\n}' + source: 'fragment changelogEntry on Changelog {\n id\n name\n title\n description\n fullArticle\n readMoreLink\n breakingChange\n version\n releaseDate\n scheduled\n image {\n total\n results {\n ...media\n }\n }\n sitecoreProduct {\n total\n results {\n ...product\n }\n }\n changeType {\n total\n results {\n ...changeType\n }\n }\n status {\n total\n results {\n ...status\n }\n }\n}' ): typeof import('./graphql').ChangelogEntryFragmentDoc; /** * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. diff --git a/packages/changelog/src/gql/generated/graphql.ts b/packages/changelog/src/gql/generated/graphql.ts index 02c15dbf1..e615de4dd 100644 --- a/packages/changelog/src/gql/generated/graphql.ts +++ b/packages/changelog/src/gql/generated/graphql.ts @@ -1193,6 +1193,7 @@ export type ChangelogEntryFragment = { breakingChange: boolean | null; version: string | null; releaseDate: Date | null; + scheduled: boolean | null; image: { total: number | null; results: Array<{ @@ -1293,6 +1294,7 @@ export type GetLatestEntriesQuery = { breakingChange: boolean | null; version: string | null; releaseDate: Date | null; + scheduled: boolean | null; image: { total: number | null; results: Array<{ @@ -1348,6 +1350,7 @@ export type SearchByDateQuery = { breakingChange: boolean | null; version: string | null; releaseDate: Date | null; + scheduled: boolean | null; image: { total: number | null; results: Array<{ @@ -1392,6 +1395,7 @@ export type SearchByProductQuery = { breakingChange: boolean | null; version: string | null; releaseDate: Date | null; + scheduled: boolean | null; image: { total: number | null; results: Array<{ @@ -1436,6 +1440,7 @@ export type SearchByProductsAndChangeTypesQuery = { breakingChange: boolean | null; version: string | null; releaseDate: Date | null; + scheduled: boolean | null; image: { total: number | null; results: Array<{ @@ -1477,6 +1482,7 @@ export type SearchByTitleQuery = { breakingChange: boolean | null; version: string | null; releaseDate: Date | null; + scheduled: boolean | null; image: { total: number | null; results: Array<{ @@ -1576,6 +1582,7 @@ export const ChangelogEntryFragmentDoc = new TypedDocumentString( breakingChange version releaseDate + scheduled image { total results { @@ -1782,6 +1789,7 @@ fragment changelogEntry on Changelog { breakingChange version releaseDate + scheduled image { total results { @@ -1887,6 +1895,7 @@ fragment changelogEntry on Changelog { breakingChange version releaseDate + scheduled image { total results { @@ -1971,6 +1980,7 @@ fragment changelogEntry on Changelog { breakingChange version releaseDate + scheduled image { total results { @@ -2055,6 +2065,7 @@ fragment changelogEntry on Changelog { breakingChange version releaseDate + scheduled image { total results { @@ -2137,6 +2148,7 @@ fragment changelogEntry on Changelog { breakingChange version releaseDate + scheduled image { total results { diff --git a/packages/changelog/src/types/changeLogEntry.ts b/packages/changelog/src/types/changeLogEntry.ts index 1bbeaccc0..6682f2056 100644 --- a/packages/changelog/src/types/changeLogEntry.ts +++ b/packages/changelog/src/types/changeLogEntry.ts @@ -24,6 +24,7 @@ export type ChangelogEntrySummary = { productName: string | null; products: SitecoreProduct[] | null; changeTypeName: string | null; + scheduled: boolean; status: Status; }; @@ -68,6 +69,7 @@ export function parseChangeLogItem(changelog: any): ChangelogEntry { fullArticle: changelog.fullArticle != null && changelog.fullArticle?.content ? generateHTML(changelog.fullArticle, [richTextProfile]) : null, breakingChange: changelog.breakingChange, sitecoreProduct: changelog.sitecoreProduct.results, + scheduled: changelog.scheduled ? changelog.scheduled : false, changeType: changelog.changeType.results, version: changelog.version, releaseDate: new Date(clearTimeStamp(changelog.releaseDate)).toLocaleDateString(['en-US'], { year: 'numeric', month: 'short', day: 'numeric' }), From a51db49391fb9cd108bc58be828048f963b2bd12 Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Thu, 11 Jul 2024 13:26:16 +0200 Subject: [PATCH 04/15] merge ui into devportal --- .../ui/src => apps/devportal}/data/clouds.ts | 4 +- apps/devportal/data/data-community-list.ts | 2 +- apps/devportal/data/data-navigation.ts | 2 +- apps/devportal/data/data-platform.ts | 2 +- apps/devportal/data/data-product-solutions.ts | 2 +- apps/devportal/data/data-updates.ts | 2 +- .../src => apps/devportal}/data/products.ts | 4 +- apps/devportal/data/promos/contact-us.ts | 2 +- apps/devportal/data/promos/get-help.ts | 2 +- .../data/promos/learning-at-sitecore.ts | 2 +- .../data/promos/learning-essentials.ts | 2 +- apps/devportal/data/promos/mvp.ts | 2 +- apps/devportal/data/promos/newpromo.ts | 2 +- apps/devportal/data/promos/newsletter.ts | 2 +- apps/devportal/data/promos/nextjsconf.ts | 2 +- apps/devportal/data/promos/opensource.ts | 2 +- .../devportal/data/promos/sitecore-support.ts | 2 +- .../data/promos/videos/composable-dxp.ts | 2 +- apps/devportal/data/promos/xmc-practices.ts | 2 +- .../src/components/cards/Article.tsx | 0 .../src/components/cards/Download.tsx | 0 .../devportal}/src/components/cards/Group.tsx | 0 .../src/components/cards/LinkItem.test.tsx | 0 .../src/components/cards/LinkItem.tsx | 0 .../src/components/cards/Repository.tsx | 0 .../devportal}/src/components/cards/index.ts | 0 .../components/changelog/ChangeLogItem.tsx | 10 ++-- .../components/changelog/ChangelogByMonth.tsx | 7 +-- .../components/changelog/ChangelogEntries.tsx | 6 +- .../components/changelog/ChangelogFilter.tsx | 2 +- .../components/changelog/ChangelogList.tsx | 2 +- .../src/components/changelog/Hint.tsx | 5 +- .../src/components/common/GuidedDemo.tsx | 0 .../devportal}/src/components/common/Hero.tsx | 0 .../src/components/common/Loading.tsx | 0 .../src/components/common/ProductIcon.tsx | 0 .../src/components/common/ProductLogo.tsx | 0 .../src/components/common/SocialFeeds.tsx | 2 +- .../devportal}/src/components/common/index.ts | 0 .../src/components/dropdown/MultiSelect.tsx | 0 .../src/components/dropdown/index.ts | 0 .../engagetracker/TrackPageView.tsx | 3 +- .../components/helpers/CenteredContent.tsx | 0 .../components/helpers/ConditionalWrapper.tsx | 0 .../src/components/helpers/ContentSection.tsx | 0 .../devportal}/src/components/helpers/Row.tsx | 0 .../src/components/helpers/Slide.tsx | 0 .../src/components/helpers/VerticalGroup.tsx | 0 .../src/components/helpers/index.ts | 0 .../src/components/hexagons/HexagonCloud.tsx | 0 .../src/components/hexagons/HexagonItem.tsx | 0 .../components/hexagons/HexagonMobileItem.tsx | 0 .../src/components/hexagons/HexagonTypes.ts | 0 .../components/hexagons/Hexagons.module.css | 0 .../src/components/hexagons/Hexagons.tsx | 4 +- .../src/components/hexagons/index.ts | 0 .../src/components/images/ImageModal.tsx | 0 .../devportal}/src/components/images/index.ts | 0 .../changelog/LatestChangelogEntries.tsx | 0 .../integrations/engage/EngageKeys.ts | 0 .../integrations/engage/EngageTracker.tsx | 0 .../integrations/engage/useEngageTracker.ts | 0 .../src/components/integrations/index.ts | 0 .../integrations/sitecoreCommunity/README.md | 0 .../SitecoreCommunity.api.ts | 0 .../SitecoreCommunityBlogOrQuestion.tsx | 3 +- .../SitecoreCommunityNewsOrEventItem.tsx | 5 +- .../blog/SitecoreCommunityBlog.tsx | 0 .../events/SitecoreCommunityEvents.tsx | 3 +- .../integrations/sitecoreCommunity/index.ts | 0 .../news/SitecoreCommunityNews.tsx | 0 .../questions/SitecoreCommunityQuestions.tsx | 0 .../sitecore-community.constants.ts | 0 .../integrations/sitecoreCommunity/types.ts | 0 .../stackexchange/StackExchange.api.ts | 0 .../stackexchange/StackExchangeFeed.tsx | 0 .../stackexchange/stackExchange.ts | 0 .../integrations/youtube/YouTube.api.ts | 0 .../integrations/youtube/YouTubeFeed.tsx | 0 .../integrations/youtube/youTube.ts | 0 .../src/components/links/ButtonLink.tsx | 0 .../src/components/links/SocialButton.tsx | 0 .../src/components/links/TextLink.tsx | 0 .../devportal}/src/components/links/index.ts | 0 .../categoryTileList/CategoryTileList.tsx | 0 .../lists/categoryTileList/types.ts | 0 .../lists/genericList/GenericList.tsx | 0 .../src/components/lists/genericList/types.ts | 0 .../devportal}/src/components/lists/index.ts | 0 .../src/components/logos/SvgLogo.tsx | 0 .../devportal}/src/components/logos/index.ts | 0 .../components/logos/logos/logo--astro.tsx | 0 .../components/logos/logos/logo--dotnet.tsx | 0 .../logos/logos/logo--javascript.tsx | 0 .../components/logos/logos/logo--nextjs.tsx | 0 .../src/components/logos/logos/logo--npm.tsx | 0 .../logos/logos/logo--powershell.tsx | 0 .../components/logos/logos/logo--react.tsx | 0 .../logos/logos/logo--reactnative.tsx | 0 .../components/logos/logos/logo--svelte.tsx | 0 .../logos/logos/logo--typescript.tsx | 0 .../src/components/logos/logos/logo--vue.tsx | 0 .../components/markdown/MarkdownContent.tsx | 9 ++- .../navigation/ArticlePagingNext.tsx | 2 +- .../components/navigation/BreadcrumbNav.tsx | 2 +- .../src/components/navigation/Footer.tsx | 3 +- .../src/components/navigation/NavBar.tsx | 6 +- .../navigation/SidebarNavigation.tsx | 2 +- .../components/navigation/SidebarSearch.tsx | 2 +- .../src/components/newsletter/index.ts | 0 .../src/components/newsletter/story.tsx | 2 +- .../src/components/promos/ctaCard/CTACard.tsx | 2 +- .../src/components/promos/ctaCard/types.ts | 0 .../devportal}/src/components/promos/index.ts | 0 .../components/promos/promoCard/PromoCard.tsx | 0 .../components/promos/promoCard/PromoList.tsx | 0 .../src/components/promos/promoCard/types.ts | 0 .../src/components/promos/videoPromo/types.ts | 0 .../promos/videoPromo/videoPromo.tsx | 0 .../sitecore-search/PreviewSearchInput.tsx | 5 +- .../sitecore-search/SearchInput.tsx | 6 +- .../sitecore-search/SearchResults.tsx | 2 +- .../src/components/social/SocialShare.tsx | 0 .../devportal}/src/components/social/index.ts | 0 .../src/components/video/YouTube.module.css | 0 .../src/components/video/YouTube.tsx | 0 .../devportal}/src/components/video/index.ts | 0 apps/devportal/src/layouts/ArticlePage.tsx | 4 +- .../src/layouts/ChildOverviewPage.tsx | 6 +- .../src/layouts/DefaultContentPage.tsx | 5 +- .../src/layouts/GenericContentPage.tsx | 5 +- apps/devportal/src/layouts/NewsLetterPage.tsx | 4 +- apps/devportal/src/layouts/SocialPage.tsx | 14 ++--- .../src/layouts/ThreeColumnLayout.tsx | 2 +- apps/devportal/src/layouts/Tutorial.tsx | 3 +- .../ui => apps/devportal}/src/lib/assets.ts | 0 apps/devportal/src/lib/changelog/changelog.ts | 2 +- .../hooks/useGetEntriesByProducts.ts | 5 +- .../devportal/src/lib/interfaces/page-info.ts | 2 +- apps/devportal/src/lib/page-info.ts | 5 +- apps/devportal/src/lib/sidebarNav.ts | 2 +- .../devportal}/src/lib/transition-utils.ts | 0 .../devportal}/src/lib/utils/dateUtil.ts | 0 .../devportal}/src/lib/utils/fsUtils.ts | 0 .../devportal}/src/lib/utils/index.ts | 0 .../devportal}/src/lib/utils/sortUtil.ts | 0 .../devportal}/src/lib/utils/stringUtil.ts | 0 .../devportal/src/lib/utils/urlUtil.ts | 0 .../src/middlewares/middlewareFactory.ts | 1 + apps/devportal/src/pages/404.tsx | 2 +- apps/devportal/src/pages/500.tsx | 2 +- apps/devportal/src/pages/_app.tsx | 9 ++- .../src/pages/api/changelog/v1/date/[date].ts | 22 ------- .../src/pages/api/changelog/v1/indexing.ts | 3 +- .../src/pages/api/sitecore-community.ts | 2 +- .../src/pages/changelog/[product]/[entry].tsx | 17 +++--- .../src/pages/changelog/[product]/index.tsx | 4 +- .../devportal/src/pages/changelog/current.tsx | 4 +- apps/devportal/src/pages/changelog/index.tsx | 5 +- apps/devportal/src/pages/index.tsx | 22 +++---- apps/devportal/src/pages/search.tsx | 4 +- .../src/theme/components/cardTheme.ts | 0 .../src/theme/components/modalTheme.ts | 0 .../src/theme/foundations/breakpoints.ts | 0 .../ui => apps/devportal}/src/theme/index.ts | 0 .../devportal}/src/theme/proseTheme.ts | 0 .../ui => apps/devportal}/src/theme/theme.ts | 0 apps/devportal/turbo.json | 7 ++- packages/changelog/src/types/product.ts | 9 +-- packages/changelog/src/utils/index.ts | 2 +- packages/changelog/tsconfig.json | 5 +- packages/ui/.eslintrc.js | 14 ----- packages/ui/globals.d.ts | 3 - packages/ui/package.json | 58 ------------------- packages/ui/src/components/index.ts | 14 ----- packages/ui/src/data/index.ts | 2 - packages/ui/src/index.ts | 2 - packages/ui/src/lib/index.ts | 3 - packages/ui/tsconfig.json | 11 ---- packages/ui/tsconfig.lint.json | 8 --- packages/ui/turbo.json | 37 ------------ packages/ui/turbo/generators/config.ts | 30 ---------- .../turbo/generators/templates/component.hbs | 8 --- 183 files changed, 160 insertions(+), 346 deletions(-) rename {packages/ui/src => apps/devportal}/data/clouds.ts (90%) rename {packages/ui/src => apps/devportal}/data/products.ts (97%) rename {packages/ui => apps/devportal}/src/components/cards/Article.tsx (100%) rename {packages/ui => apps/devportal}/src/components/cards/Download.tsx (100%) rename {packages/ui => apps/devportal}/src/components/cards/Group.tsx (100%) rename {packages/ui => apps/devportal}/src/components/cards/LinkItem.test.tsx (100%) rename {packages/ui => apps/devportal}/src/components/cards/LinkItem.tsx (100%) rename {packages/ui => apps/devportal}/src/components/cards/Repository.tsx (100%) rename {packages/ui => apps/devportal}/src/components/cards/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/common/GuidedDemo.tsx (100%) rename {packages/ui => apps/devportal}/src/components/common/Hero.tsx (100%) rename {packages/ui => apps/devportal}/src/components/common/Loading.tsx (100%) rename {packages/ui => apps/devportal}/src/components/common/ProductIcon.tsx (100%) rename {packages/ui => apps/devportal}/src/components/common/ProductLogo.tsx (100%) rename {packages/ui => apps/devportal}/src/components/common/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/dropdown/MultiSelect.tsx (100%) rename {packages/ui => apps/devportal}/src/components/dropdown/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/helpers/CenteredContent.tsx (100%) rename {packages/ui => apps/devportal}/src/components/helpers/ConditionalWrapper.tsx (100%) rename {packages/ui => apps/devportal}/src/components/helpers/ContentSection.tsx (100%) rename {packages/ui => apps/devportal}/src/components/helpers/Row.tsx (100%) rename {packages/ui => apps/devportal}/src/components/helpers/Slide.tsx (100%) rename {packages/ui => apps/devportal}/src/components/helpers/VerticalGroup.tsx (100%) rename {packages/ui => apps/devportal}/src/components/helpers/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/hexagons/HexagonCloud.tsx (100%) rename {packages/ui => apps/devportal}/src/components/hexagons/HexagonItem.tsx (100%) rename {packages/ui => apps/devportal}/src/components/hexagons/HexagonMobileItem.tsx (100%) rename {packages/ui => apps/devportal}/src/components/hexagons/HexagonTypes.ts (100%) rename {packages/ui => apps/devportal}/src/components/hexagons/Hexagons.module.css (100%) rename {packages/ui => apps/devportal}/src/components/hexagons/Hexagons.tsx (96%) rename {packages/ui => apps/devportal}/src/components/hexagons/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/images/ImageModal.tsx (100%) rename {packages/ui => apps/devportal}/src/components/images/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/changelog/LatestChangelogEntries.tsx (100%) rename {packages/ui => apps/devportal}/src/components/integrations/engage/EngageKeys.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/engage/EngageTracker.tsx (100%) rename {packages/ui => apps/devportal}/src/components/integrations/engage/useEngageTracker.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/README.md (100%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/SitecoreCommunity.api.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/SitecoreCommunityBlogOrQuestion.tsx (98%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/SitecoreCommunityNewsOrEventItem.tsx (97%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/blog/SitecoreCommunityBlog.tsx (100%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/events/SitecoreCommunityEvents.tsx (92%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/news/SitecoreCommunityNews.tsx (100%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/questions/SitecoreCommunityQuestions.tsx (100%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/sitecore-community.constants.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/sitecoreCommunity/types.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/stackexchange/StackExchange.api.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/stackexchange/StackExchangeFeed.tsx (100%) rename {packages/ui => apps/devportal}/src/components/integrations/stackexchange/stackExchange.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/youtube/YouTube.api.ts (100%) rename {packages/ui => apps/devportal}/src/components/integrations/youtube/YouTubeFeed.tsx (100%) rename {packages/ui => apps/devportal}/src/components/integrations/youtube/youTube.ts (100%) rename {packages/ui => apps/devportal}/src/components/links/ButtonLink.tsx (100%) rename {packages/ui => apps/devportal}/src/components/links/SocialButton.tsx (100%) rename {packages/ui => apps/devportal}/src/components/links/TextLink.tsx (100%) rename {packages/ui => apps/devportal}/src/components/links/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/lists/categoryTileList/CategoryTileList.tsx (100%) rename {packages/ui => apps/devportal}/src/components/lists/categoryTileList/types.ts (100%) rename {packages/ui => apps/devportal}/src/components/lists/genericList/GenericList.tsx (100%) rename {packages/ui => apps/devportal}/src/components/lists/genericList/types.ts (100%) rename {packages/ui => apps/devportal}/src/components/lists/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/logos/SvgLogo.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--astro.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--dotnet.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--javascript.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--nextjs.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--npm.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--powershell.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--react.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--reactnative.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--svelte.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--typescript.tsx (100%) rename {packages/ui => apps/devportal}/src/components/logos/logos/logo--vue.tsx (100%) rename {packages/ui => apps/devportal}/src/components/newsletter/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/newsletter/story.tsx (94%) rename {packages/ui => apps/devportal}/src/components/promos/ctaCard/CTACard.tsx (92%) rename {packages/ui => apps/devportal}/src/components/promos/ctaCard/types.ts (100%) rename {packages/ui => apps/devportal}/src/components/promos/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/promos/promoCard/PromoCard.tsx (100%) rename {packages/ui => apps/devportal}/src/components/promos/promoCard/PromoList.tsx (100%) rename {packages/ui => apps/devportal}/src/components/promos/promoCard/types.ts (100%) rename {packages/ui => apps/devportal}/src/components/promos/videoPromo/types.ts (100%) rename {packages/ui => apps/devportal}/src/components/promos/videoPromo/videoPromo.tsx (100%) rename {packages/ui => apps/devportal}/src/components/social/SocialShare.tsx (100%) rename {packages/ui => apps/devportal}/src/components/social/index.ts (100%) rename {packages/ui => apps/devportal}/src/components/video/YouTube.module.css (100%) rename {packages/ui => apps/devportal}/src/components/video/YouTube.tsx (100%) rename {packages/ui => apps/devportal}/src/components/video/index.ts (100%) rename {packages/ui => apps/devportal}/src/lib/assets.ts (100%) rename {packages/ui => apps/devportal}/src/lib/transition-utils.ts (100%) rename {packages/ui => apps/devportal}/src/lib/utils/dateUtil.ts (100%) rename {packages/ui => apps/devportal}/src/lib/utils/fsUtils.ts (100%) rename {packages/ui => apps/devportal}/src/lib/utils/index.ts (100%) rename {packages/ui => apps/devportal}/src/lib/utils/sortUtil.ts (100%) rename {packages/ui => apps/devportal}/src/lib/utils/stringUtil.ts (100%) rename packages/changelog/src/utils/urlBuilder.ts => apps/devportal/src/lib/utils/urlUtil.ts (100%) rename {packages/ui => apps/devportal}/src/theme/components/cardTheme.ts (100%) rename {packages/ui => apps/devportal}/src/theme/components/modalTheme.ts (100%) rename {packages/ui => apps/devportal}/src/theme/foundations/breakpoints.ts (100%) rename {packages/ui => apps/devportal}/src/theme/index.ts (100%) rename {packages/ui => apps/devportal}/src/theme/proseTheme.ts (100%) rename {packages/ui => apps/devportal}/src/theme/theme.ts (100%) delete mode 100644 packages/ui/.eslintrc.js delete mode 100644 packages/ui/globals.d.ts delete mode 100644 packages/ui/package.json delete mode 100644 packages/ui/src/components/index.ts delete mode 100644 packages/ui/src/data/index.ts delete mode 100644 packages/ui/src/index.ts delete mode 100644 packages/ui/src/lib/index.ts delete mode 100644 packages/ui/tsconfig.json delete mode 100644 packages/ui/tsconfig.lint.json delete mode 100644 packages/ui/turbo.json delete mode 100644 packages/ui/turbo/generators/config.ts delete mode 100644 packages/ui/turbo/generators/templates/component.hbs diff --git a/packages/ui/src/data/clouds.ts b/apps/devportal/data/clouds.ts similarity index 90% rename from packages/ui/src/data/clouds.ts rename to apps/devportal/data/clouds.ts index d9bb3c12f..b637efa52 100644 --- a/packages/ui/src/data/clouds.ts +++ b/apps/devportal/data/clouds.ts @@ -1,5 +1,5 @@ -import { CloudInfoType } from '../components/hexagons/HexagonTypes'; -import { Product } from '../lib/assets'; +import { CloudInfoType } from '@/src/components/hexagons'; +import { Product } from '@/src/lib/assets'; export const ContentCloud: CloudInfoType = { name: 'Content Cloud', diff --git a/apps/devportal/data/data-community-list.ts b/apps/devportal/data/data-community-list.ts index 25be7d9a2..c866bfa6f 100644 --- a/apps/devportal/data/data-community-list.ts +++ b/apps/devportal/data/data-community-list.ts @@ -1,4 +1,4 @@ -import { GenericListData, GenericListItem } from '@scdp/ui/components'; +import { GenericListData, GenericListItem } from '@/src/components/lists'; const content: GenericListItem[] = [ { diff --git a/apps/devportal/data/data-navigation.ts b/apps/devportal/data/data-navigation.ts index be2878631..d96f1834b 100644 --- a/apps/devportal/data/data-navigation.ts +++ b/apps/devportal/data/data-navigation.ts @@ -1,4 +1,4 @@ -import { Product } from '@scdp/ui/lib'; +import { Product } from '@/src/lib/assets'; export interface NavItem { title: string; diff --git a/apps/devportal/data/data-platform.ts b/apps/devportal/data/data-platform.ts index 01cac70a9..0bd97e383 100644 --- a/apps/devportal/data/data-platform.ts +++ b/apps/devportal/data/data-platform.ts @@ -1,4 +1,4 @@ -import { GenericListData, GenericListItem } from '@scdp/ui/components'; +import { GenericListData, GenericListItem } from '@/src/components/lists'; const content: GenericListItem[] = [ { diff --git a/apps/devportal/data/data-product-solutions.ts b/apps/devportal/data/data-product-solutions.ts index f97276531..06b914bc2 100644 --- a/apps/devportal/data/data-product-solutions.ts +++ b/apps/devportal/data/data-product-solutions.ts @@ -1,4 +1,4 @@ -import { CategoryTileProps } from '@scdp/ui/components'; +import { CategoryTileProps } from '@/src/components/lists'; export const productSolutions: CategoryTileProps[] = [ { diff --git a/apps/devportal/data/data-updates.ts b/apps/devportal/data/data-updates.ts index f75d1d980..3457bb0b5 100644 --- a/apps/devportal/data/data-updates.ts +++ b/apps/devportal/data/data-updates.ts @@ -1,4 +1,4 @@ -import { GenericListData, GenericListItem } from '@scdp/ui/components'; +import { GenericListData, GenericListItem } from '@/src/components/lists'; const content: GenericListItem[] = [ { diff --git a/packages/ui/src/data/products.ts b/apps/devportal/data/products.ts similarity index 97% rename from packages/ui/src/data/products.ts rename to apps/devportal/data/products.ts index 937d0733e..ba66cde73 100644 --- a/packages/ui/src/data/products.ts +++ b/apps/devportal/data/products.ts @@ -1,5 +1,5 @@ -import { ProductInfoType } from '../components/hexagons/HexagonTypes'; -import { Product } from '../lib/assets'; +import { ProductInfoType } from '@/src/components/hexagons'; +import { Product } from '@/src/lib/assets'; import { CommerceCloud, ContentCloud, EngagementCloud } from './clouds'; export const ContentHubONE: ProductInfoType = { diff --git a/apps/devportal/data/promos/contact-us.ts b/apps/devportal/data/promos/contact-us.ts index 6779d6068..80dfca539 100644 --- a/apps/devportal/data/promos/contact-us.ts +++ b/apps/devportal/data/promos/contact-us.ts @@ -1,4 +1,4 @@ -import { CTACardProps } from '@scdp/ui/components'; +import { CTACardProps } from '@/src/components/promos'; const data: CTACardProps = { title: 'Contact Us', diff --git a/apps/devportal/data/promos/get-help.ts b/apps/devportal/data/promos/get-help.ts index 03ccaa742..c3316d4e7 100644 --- a/apps/devportal/data/promos/get-help.ts +++ b/apps/devportal/data/promos/get-help.ts @@ -1,4 +1,4 @@ -import { CTACardProps } from '@scdp/ui/components'; +import { CTACardProps } from '@/src/components/promos'; const data: CTACardProps = { title: 'Get Help', diff --git a/apps/devportal/data/promos/learning-at-sitecore.ts b/apps/devportal/data/promos/learning-at-sitecore.ts index 643b6a2b6..72205d7e2 100644 --- a/apps/devportal/data/promos/learning-at-sitecore.ts +++ b/apps/devportal/data/promos/learning-at-sitecore.ts @@ -1,4 +1,4 @@ -import { PromoCardProps } from '@scdp/ui/components'; +import { PromoCardProps } from '@/src/components/promos'; const data: PromoCardProps = { title: 'Learning @ Sitecore', diff --git a/apps/devportal/data/promos/learning-essentials.ts b/apps/devportal/data/promos/learning-essentials.ts index 42d1857c9..7010e37cf 100644 --- a/apps/devportal/data/promos/learning-essentials.ts +++ b/apps/devportal/data/promos/learning-essentials.ts @@ -1,4 +1,4 @@ -import { PromoCardProps } from '@scdp/ui/components'; +import { PromoCardProps } from '@/src/components/promos'; const data: PromoCardProps = { title: 'Sitecore Essentials - FREE', diff --git a/apps/devportal/data/promos/mvp.ts b/apps/devportal/data/promos/mvp.ts index a8dad7e5a..b573072bf 100644 --- a/apps/devportal/data/promos/mvp.ts +++ b/apps/devportal/data/promos/mvp.ts @@ -1,4 +1,4 @@ -import { PromoCardProps } from '@scdp/ui/components'; +import { PromoCardProps } from '@/src/components/promos'; const data: PromoCardProps = { title: 'Sitecore MVP program', diff --git a/apps/devportal/data/promos/newpromo.ts b/apps/devportal/data/promos/newpromo.ts index 50e136c41..a97e87f69 100644 --- a/apps/devportal/data/promos/newpromo.ts +++ b/apps/devportal/data/promos/newpromo.ts @@ -1,4 +1,4 @@ -import { PromoCardProps } from '@scdp/ui/components'; +import { PromoCardProps } from '@/src/components/promos'; const data: PromoCardProps = { title: 'Newsletter archive', diff --git a/apps/devportal/data/promos/newsletter.ts b/apps/devportal/data/promos/newsletter.ts index dd0fc2900..0c3f3bdf3 100644 --- a/apps/devportal/data/promos/newsletter.ts +++ b/apps/devportal/data/promos/newsletter.ts @@ -1,4 +1,4 @@ -import { PromoCardProps } from '@scdp/ui/components'; +import { PromoCardProps } from '@/src/components/promos'; const data: PromoCardProps = { title: 'Sitecore for Developers', diff --git a/apps/devportal/data/promos/nextjsconf.ts b/apps/devportal/data/promos/nextjsconf.ts index 4bce050b8..5ee55acca 100644 --- a/apps/devportal/data/promos/nextjsconf.ts +++ b/apps/devportal/data/promos/nextjsconf.ts @@ -1,4 +1,4 @@ -import { PromoCardProps } from '@scdp/ui/components'; +import { PromoCardProps } from '@/src/components/promos'; const data: PromoCardProps = { title: 'Vercel Next.js conference', diff --git a/apps/devportal/data/promos/opensource.ts b/apps/devportal/data/promos/opensource.ts index a29f7c226..b9c744d41 100644 --- a/apps/devportal/data/promos/opensource.ts +++ b/apps/devportal/data/promos/opensource.ts @@ -1,4 +1,4 @@ -import { PromoCardProps } from '@scdp/ui/components'; +import { PromoCardProps } from '@/src/components/promos'; const data: PromoCardProps = { title: 'Open Source @ Sitecore', diff --git a/apps/devportal/data/promos/sitecore-support.ts b/apps/devportal/data/promos/sitecore-support.ts index 553345a02..45f584a0d 100644 --- a/apps/devportal/data/promos/sitecore-support.ts +++ b/apps/devportal/data/promos/sitecore-support.ts @@ -1,4 +1,4 @@ -import { PromoCardProps } from '@scdp/ui/components'; +import { PromoCardProps } from '@/src/components/promos'; const data: PromoCardProps = { title: 'Connect with Sitecore Support', diff --git a/apps/devportal/data/promos/videos/composable-dxp.ts b/apps/devportal/data/promos/videos/composable-dxp.ts index 97da7102a..b720b0971 100644 --- a/apps/devportal/data/promos/videos/composable-dxp.ts +++ b/apps/devportal/data/promos/videos/composable-dxp.ts @@ -1,4 +1,4 @@ -import { PromoCardProps } from '@scdp/ui/components'; +import { PromoCardProps } from '@/src/components/promos'; const data: PromoCardProps = { title: 'Composable DXP for Developers', diff --git a/apps/devportal/data/promos/xmc-practices.ts b/apps/devportal/data/promos/xmc-practices.ts index ede9370d4..30d671d98 100644 --- a/apps/devportal/data/promos/xmc-practices.ts +++ b/apps/devportal/data/promos/xmc-practices.ts @@ -1,4 +1,4 @@ -import { PromoCardProps } from '@scdp/ui/components'; +import { PromoCardProps } from '@/src/components/promos'; const data: PromoCardProps = { title: 'Sitecore Accelerate', diff --git a/packages/ui/src/components/cards/Article.tsx b/apps/devportal/src/components/cards/Article.tsx similarity index 100% rename from packages/ui/src/components/cards/Article.tsx rename to apps/devportal/src/components/cards/Article.tsx diff --git a/packages/ui/src/components/cards/Download.tsx b/apps/devportal/src/components/cards/Download.tsx similarity index 100% rename from packages/ui/src/components/cards/Download.tsx rename to apps/devportal/src/components/cards/Download.tsx diff --git a/packages/ui/src/components/cards/Group.tsx b/apps/devportal/src/components/cards/Group.tsx similarity index 100% rename from packages/ui/src/components/cards/Group.tsx rename to apps/devportal/src/components/cards/Group.tsx diff --git a/packages/ui/src/components/cards/LinkItem.test.tsx b/apps/devportal/src/components/cards/LinkItem.test.tsx similarity index 100% rename from packages/ui/src/components/cards/LinkItem.test.tsx rename to apps/devportal/src/components/cards/LinkItem.test.tsx diff --git a/packages/ui/src/components/cards/LinkItem.tsx b/apps/devportal/src/components/cards/LinkItem.tsx similarity index 100% rename from packages/ui/src/components/cards/LinkItem.tsx rename to apps/devportal/src/components/cards/LinkItem.tsx diff --git a/packages/ui/src/components/cards/Repository.tsx b/apps/devportal/src/components/cards/Repository.tsx similarity index 100% rename from packages/ui/src/components/cards/Repository.tsx rename to apps/devportal/src/components/cards/Repository.tsx diff --git a/packages/ui/src/components/cards/index.ts b/apps/devportal/src/components/cards/index.ts similarity index 100% rename from packages/ui/src/components/cards/index.ts rename to apps/devportal/src/components/cards/index.ts diff --git a/apps/devportal/src/components/changelog/ChangeLogItem.tsx b/apps/devportal/src/components/changelog/ChangeLogItem.tsx index df99aa8e1..e69f6af83 100644 --- a/apps/devportal/src/components/changelog/ChangeLogItem.tsx +++ b/apps/devportal/src/components/changelog/ChangeLogItem.tsx @@ -1,13 +1,13 @@ import { Button, Card, CardBody, CardFooter, CardHeader, Center, Heading, Image, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, useDisclosure } from '@chakra-ui/react'; import { Prose } from '@nikolovlazar/chakra-ui-prose'; //import Image from 'next/image'; +import { ChangelogEntry } from '@scdp/changelog/types'; +import { getChangelogEntryUrl, getSlug } from '@scdp/changelog/utils'; import Link from 'next/link'; import { useEffect, useRef } from 'react'; -import { ChangelogEntry } from '@scdp/changelog/types'; -import { getSlug } from '@scdp/changelog/utils'; -import { getChangelogEntryUrl } from '@scdp/changelog/utils'; - -import { Loading, ButtonLink, SocialShare } from '@scdp/ui/components'; +import { Loading } from '../common'; +import { ButtonLink } from '../links'; +import { SocialShare } from '../social'; import { ChangelogItemMeta } from './ChangelogItemMeta'; export type ChangeLogItemProps = { diff --git a/apps/devportal/src/components/changelog/ChangelogByMonth.tsx b/apps/devportal/src/components/changelog/ChangelogByMonth.tsx index fe7c93daf..1c9a9faca 100644 --- a/apps/devportal/src/components/changelog/ChangelogByMonth.tsx +++ b/apps/devportal/src/components/changelog/ChangelogByMonth.tsx @@ -1,10 +1,9 @@ import { Card, CardBody, CardHeader, HStack, Heading, Image, Skeleton, SkeletonText } from '@chakra-ui/react'; import { useGetEntriesByProducts } from '@lib/changelog/hooks/useGetEntriesByProducts'; -import Link from 'next/link'; -import { Product } from '@scdp/changelog/types'; -import { ChangelogEntrySummary } from '@scdp/changelog/types'; +import { ChangelogEntrySummary, Product } from '@scdp/changelog/types'; import { getChangelogEntryUrl } from '@scdp/changelog/utils'; -import { Option } from '@scdp/ui/components'; +import { Option } from '@src/components/dropdown'; +import Link from 'next/link'; type ChangelogByMonthProps = { product?: Product; diff --git a/apps/devportal/src/components/changelog/ChangelogEntries.tsx b/apps/devportal/src/components/changelog/ChangelogEntries.tsx index 93a973e7b..a84e1e145 100644 --- a/apps/devportal/src/components/changelog/ChangelogEntries.tsx +++ b/apps/devportal/src/components/changelog/ChangelogEntries.tsx @@ -1,8 +1,8 @@ import { Badge, Box, Button, Card, CardBody, CardHeader, CardProps, Flex, HStack, Heading, Hide, Link, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, SimpleGrid, Stack, Text, chakra, useColorModeValue } from '@chakra-ui/react'; -import Image from 'next/image'; import { ChangelogEntry } from '@scdp/changelog/types'; -import { getSlug, getChangelogEntryUrl } from '@scdp/changelog/utils'; -import { TextLink } from '@scdp/ui/components'; +import { getChangelogEntryUrl, getSlug } from '@scdp/changelog/utils'; +import { TextLink } from '@src/components/links'; +import Image from 'next/image'; type ChangelogEntriesProps = CardProps & { entries: ChangelogEntry[]; diff --git a/apps/devportal/src/components/changelog/ChangelogFilter.tsx b/apps/devportal/src/components/changelog/ChangelogFilter.tsx index 0ef49c277..46487cfc0 100644 --- a/apps/devportal/src/components/changelog/ChangelogFilter.tsx +++ b/apps/devportal/src/components/changelog/ChangelogFilter.tsx @@ -1,7 +1,7 @@ /* eslint-disable no-unused-vars */ import { Container, Skeleton, SkeletonText, VisuallyHidden } from '@chakra-ui/react'; import { Product } from '@scdp/changelog/types'; -import { MultiSelect, Option } from '@scdp/ui/components'; +import { MultiSelect, Option } from '@src/components/dropdown'; import { useState } from 'react'; type ChangelogFilterProps = { diff --git a/apps/devportal/src/components/changelog/ChangelogList.tsx b/apps/devportal/src/components/changelog/ChangelogList.tsx index 50e5c0ea1..1246b68ed 100644 --- a/apps/devportal/src/components/changelog/ChangelogList.tsx +++ b/apps/devportal/src/components/changelog/ChangelogList.tsx @@ -2,7 +2,7 @@ import { Box, Button, CloseButton, Link, SkeletonText, VisuallyHidden } from '@chakra-ui/react'; import { buildQuerystring, entriesApiUrl, getChangeTypeOptions, getProductOptions } from '@lib/changelog/changelog'; import { ChangelogEntry, ChangelogEntryList, Product } from '@scdp/changelog/types'; -import { Option } from '@scdp/ui/components'; +import { Option } from '@src/components/dropdown'; import axios from 'axios'; import NextLink from 'next/link'; import { useState } from 'react'; diff --git a/apps/devportal/src/components/changelog/Hint.tsx b/apps/devportal/src/components/changelog/Hint.tsx index 8556ee631..3ad4a035e 100644 --- a/apps/devportal/src/components/changelog/Hint.tsx +++ b/apps/devportal/src/components/changelog/Hint.tsx @@ -1,8 +1,7 @@ import { Alert, AlertIcon, AlertTitle, Tooltip } from '@chakra-ui/react'; -import Link from 'next/link'; import { getSlug } from '@scdp/changelog/utils'; -import { Option } from '@scdp/ui/components'; - +import { Option } from '@src/components/dropdown'; +import Link from 'next/link'; type HintProps = { products?: Option[]; enabled: boolean; diff --git a/packages/ui/src/components/common/GuidedDemo.tsx b/apps/devportal/src/components/common/GuidedDemo.tsx similarity index 100% rename from packages/ui/src/components/common/GuidedDemo.tsx rename to apps/devportal/src/components/common/GuidedDemo.tsx diff --git a/packages/ui/src/components/common/Hero.tsx b/apps/devportal/src/components/common/Hero.tsx similarity index 100% rename from packages/ui/src/components/common/Hero.tsx rename to apps/devportal/src/components/common/Hero.tsx diff --git a/packages/ui/src/components/common/Loading.tsx b/apps/devportal/src/components/common/Loading.tsx similarity index 100% rename from packages/ui/src/components/common/Loading.tsx rename to apps/devportal/src/components/common/Loading.tsx diff --git a/packages/ui/src/components/common/ProductIcon.tsx b/apps/devportal/src/components/common/ProductIcon.tsx similarity index 100% rename from packages/ui/src/components/common/ProductIcon.tsx rename to apps/devportal/src/components/common/ProductIcon.tsx diff --git a/packages/ui/src/components/common/ProductLogo.tsx b/apps/devportal/src/components/common/ProductLogo.tsx similarity index 100% rename from packages/ui/src/components/common/ProductLogo.tsx rename to apps/devportal/src/components/common/ProductLogo.tsx diff --git a/apps/devportal/src/components/common/SocialFeeds.tsx b/apps/devportal/src/components/common/SocialFeeds.tsx index 70a97515d..22d353827 100644 --- a/apps/devportal/src/components/common/SocialFeeds.tsx +++ b/apps/devportal/src/components/common/SocialFeeds.tsx @@ -1,5 +1,5 @@ import { PageInfo } from '@lib/interfaces/page-info'; -import { StackExchangeFeed, YouTubeFeed,SitecoreCommunityBlog, SitecoreCommunityQuestions } from '@scdp/ui/components'; +import { SitecoreCommunityBlog, SitecoreCommunityQuestions, StackExchangeFeed, YouTubeFeed } from '@src/components/integrations'; type SocialFeedsProps = { pageInfo: PageInfo; diff --git a/packages/ui/src/components/common/index.ts b/apps/devportal/src/components/common/index.ts similarity index 100% rename from packages/ui/src/components/common/index.ts rename to apps/devportal/src/components/common/index.ts diff --git a/packages/ui/src/components/dropdown/MultiSelect.tsx b/apps/devportal/src/components/dropdown/MultiSelect.tsx similarity index 100% rename from packages/ui/src/components/dropdown/MultiSelect.tsx rename to apps/devportal/src/components/dropdown/MultiSelect.tsx diff --git a/packages/ui/src/components/dropdown/index.ts b/apps/devportal/src/components/dropdown/index.ts similarity index 100% rename from packages/ui/src/components/dropdown/index.ts rename to apps/devportal/src/components/dropdown/index.ts diff --git a/apps/devportal/src/components/engagetracker/TrackPageView.tsx b/apps/devportal/src/components/engagetracker/TrackPageView.tsx index cb201905e..f1699982b 100644 --- a/apps/devportal/src/components/engagetracker/TrackPageView.tsx +++ b/apps/devportal/src/components/engagetracker/TrackPageView.tsx @@ -1,7 +1,6 @@ import { PageInfo } from '@/src/lib/interfaces/page-info'; import { Product } from '@scdp/changelog/types'; -import { useEngageTracker } from '@scdp/ui/components'; -//import { INestedObject } from '@sitecore/engage/types/lib/utils/flatten-object'; +import { useEngageTracker } from '@src/components/integrations/engage/useEngageTracker'; import { useRouter } from 'next/router'; import { FC, useEffect, useRef } from 'react'; diff --git a/packages/ui/src/components/helpers/CenteredContent.tsx b/apps/devportal/src/components/helpers/CenteredContent.tsx similarity index 100% rename from packages/ui/src/components/helpers/CenteredContent.tsx rename to apps/devportal/src/components/helpers/CenteredContent.tsx diff --git a/packages/ui/src/components/helpers/ConditionalWrapper.tsx b/apps/devportal/src/components/helpers/ConditionalWrapper.tsx similarity index 100% rename from packages/ui/src/components/helpers/ConditionalWrapper.tsx rename to apps/devportal/src/components/helpers/ConditionalWrapper.tsx diff --git a/packages/ui/src/components/helpers/ContentSection.tsx b/apps/devportal/src/components/helpers/ContentSection.tsx similarity index 100% rename from packages/ui/src/components/helpers/ContentSection.tsx rename to apps/devportal/src/components/helpers/ContentSection.tsx diff --git a/packages/ui/src/components/helpers/Row.tsx b/apps/devportal/src/components/helpers/Row.tsx similarity index 100% rename from packages/ui/src/components/helpers/Row.tsx rename to apps/devportal/src/components/helpers/Row.tsx diff --git a/packages/ui/src/components/helpers/Slide.tsx b/apps/devportal/src/components/helpers/Slide.tsx similarity index 100% rename from packages/ui/src/components/helpers/Slide.tsx rename to apps/devportal/src/components/helpers/Slide.tsx diff --git a/packages/ui/src/components/helpers/VerticalGroup.tsx b/apps/devportal/src/components/helpers/VerticalGroup.tsx similarity index 100% rename from packages/ui/src/components/helpers/VerticalGroup.tsx rename to apps/devportal/src/components/helpers/VerticalGroup.tsx diff --git a/packages/ui/src/components/helpers/index.ts b/apps/devportal/src/components/helpers/index.ts similarity index 100% rename from packages/ui/src/components/helpers/index.ts rename to apps/devportal/src/components/helpers/index.ts diff --git a/packages/ui/src/components/hexagons/HexagonCloud.tsx b/apps/devportal/src/components/hexagons/HexagonCloud.tsx similarity index 100% rename from packages/ui/src/components/hexagons/HexagonCloud.tsx rename to apps/devportal/src/components/hexagons/HexagonCloud.tsx diff --git a/packages/ui/src/components/hexagons/HexagonItem.tsx b/apps/devportal/src/components/hexagons/HexagonItem.tsx similarity index 100% rename from packages/ui/src/components/hexagons/HexagonItem.tsx rename to apps/devportal/src/components/hexagons/HexagonItem.tsx diff --git a/packages/ui/src/components/hexagons/HexagonMobileItem.tsx b/apps/devportal/src/components/hexagons/HexagonMobileItem.tsx similarity index 100% rename from packages/ui/src/components/hexagons/HexagonMobileItem.tsx rename to apps/devportal/src/components/hexagons/HexagonMobileItem.tsx diff --git a/packages/ui/src/components/hexagons/HexagonTypes.ts b/apps/devportal/src/components/hexagons/HexagonTypes.ts similarity index 100% rename from packages/ui/src/components/hexagons/HexagonTypes.ts rename to apps/devportal/src/components/hexagons/HexagonTypes.ts diff --git a/packages/ui/src/components/hexagons/Hexagons.module.css b/apps/devportal/src/components/hexagons/Hexagons.module.css similarity index 100% rename from packages/ui/src/components/hexagons/Hexagons.module.css rename to apps/devportal/src/components/hexagons/Hexagons.module.css diff --git a/packages/ui/src/components/hexagons/Hexagons.tsx b/apps/devportal/src/components/hexagons/Hexagons.tsx similarity index 96% rename from packages/ui/src/components/hexagons/Hexagons.tsx rename to apps/devportal/src/components/hexagons/Hexagons.tsx index b6786ef5c..0d36f1f0a 100644 --- a/packages/ui/src/components/hexagons/Hexagons.tsx +++ b/apps/devportal/src/components/hexagons/Hexagons.tsx @@ -1,8 +1,8 @@ 'use client'; import { Box, Heading, Text, UnorderedList } from '@chakra-ui/react'; +import { CommerceCloud, ContentCloud, EngagementCloud } from '@data/clouds'; +import { CDP, Connect, ContentHubONE, ContentOps, DAM, Discover, OrderCloud, Personalize, Search, Send, XMCloud } from '@data/products'; import { useState } from 'react'; -import { CommerceCloud, ContentCloud, EngagementCloud } from '../../data/clouds'; -import { CDP, Connect, ContentHubONE, ContentOps, DAM, Discover, OrderCloud, Personalize, Search, Send, XMCloud } from '../../data/products'; import { HexagonCloud } from './HexagonCloud'; import { HexagonItem } from './HexagonItem'; import { HexagonMobileItem } from './HexagonMobileItem'; diff --git a/packages/ui/src/components/hexagons/index.ts b/apps/devportal/src/components/hexagons/index.ts similarity index 100% rename from packages/ui/src/components/hexagons/index.ts rename to apps/devportal/src/components/hexagons/index.ts diff --git a/packages/ui/src/components/images/ImageModal.tsx b/apps/devportal/src/components/images/ImageModal.tsx similarity index 100% rename from packages/ui/src/components/images/ImageModal.tsx rename to apps/devportal/src/components/images/ImageModal.tsx diff --git a/packages/ui/src/components/images/index.ts b/apps/devportal/src/components/images/index.ts similarity index 100% rename from packages/ui/src/components/images/index.ts rename to apps/devportal/src/components/images/index.ts diff --git a/packages/ui/src/components/integrations/changelog/LatestChangelogEntries.tsx b/apps/devportal/src/components/integrations/changelog/LatestChangelogEntries.tsx similarity index 100% rename from packages/ui/src/components/integrations/changelog/LatestChangelogEntries.tsx rename to apps/devportal/src/components/integrations/changelog/LatestChangelogEntries.tsx diff --git a/packages/ui/src/components/integrations/engage/EngageKeys.ts b/apps/devportal/src/components/integrations/engage/EngageKeys.ts similarity index 100% rename from packages/ui/src/components/integrations/engage/EngageKeys.ts rename to apps/devportal/src/components/integrations/engage/EngageKeys.ts diff --git a/packages/ui/src/components/integrations/engage/EngageTracker.tsx b/apps/devportal/src/components/integrations/engage/EngageTracker.tsx similarity index 100% rename from packages/ui/src/components/integrations/engage/EngageTracker.tsx rename to apps/devportal/src/components/integrations/engage/EngageTracker.tsx diff --git a/packages/ui/src/components/integrations/engage/useEngageTracker.ts b/apps/devportal/src/components/integrations/engage/useEngageTracker.ts similarity index 100% rename from packages/ui/src/components/integrations/engage/useEngageTracker.ts rename to apps/devportal/src/components/integrations/engage/useEngageTracker.ts diff --git a/packages/ui/src/components/integrations/index.ts b/apps/devportal/src/components/integrations/index.ts similarity index 100% rename from packages/ui/src/components/integrations/index.ts rename to apps/devportal/src/components/integrations/index.ts diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/README.md b/apps/devportal/src/components/integrations/sitecoreCommunity/README.md similarity index 100% rename from packages/ui/src/components/integrations/sitecoreCommunity/README.md rename to apps/devportal/src/components/integrations/sitecoreCommunity/README.md diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/SitecoreCommunity.api.ts b/apps/devportal/src/components/integrations/sitecoreCommunity/SitecoreCommunity.api.ts similarity index 100% rename from packages/ui/src/components/integrations/sitecoreCommunity/SitecoreCommunity.api.ts rename to apps/devportal/src/components/integrations/sitecoreCommunity/SitecoreCommunity.api.ts diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/SitecoreCommunityBlogOrQuestion.tsx b/apps/devportal/src/components/integrations/sitecoreCommunity/SitecoreCommunityBlogOrQuestion.tsx similarity index 98% rename from packages/ui/src/components/integrations/sitecoreCommunity/SitecoreCommunityBlogOrQuestion.tsx rename to apps/devportal/src/components/integrations/sitecoreCommunity/SitecoreCommunityBlogOrQuestion.tsx index ba22377bf..c40670012 100644 --- a/packages/ui/src/components/integrations/sitecoreCommunity/SitecoreCommunityBlogOrQuestion.tsx +++ b/apps/devportal/src/components/integrations/sitecoreCommunity/SitecoreCommunityBlogOrQuestion.tsx @@ -1,6 +1,7 @@ import { Box, Card, CardBody, Flex, HStack, Heading, Icon, Link, Skeleton, Stack, Text, useColorModeValue } from '@chakra-ui/react'; import NextLink from 'next/link'; -import { translateDate } from '@scdp/ui/lib'; + +import { translateDate } from '@/src/lib/utils'; import { SITECORE_COMMUNITY_URL } from './sitecore-community.constants'; import { SitecoreCommunityContent } from './types'; diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/SitecoreCommunityNewsOrEventItem.tsx b/apps/devportal/src/components/integrations/sitecoreCommunity/SitecoreCommunityNewsOrEventItem.tsx similarity index 97% rename from packages/ui/src/components/integrations/sitecoreCommunity/SitecoreCommunityNewsOrEventItem.tsx rename to apps/devportal/src/components/integrations/sitecoreCommunity/SitecoreCommunityNewsOrEventItem.tsx index 65f76fce8..fd52365fe 100644 --- a/packages/ui/src/components/integrations/sitecoreCommunity/SitecoreCommunityNewsOrEventItem.tsx +++ b/apps/devportal/src/components/integrations/sitecoreCommunity/SitecoreCommunityNewsOrEventItem.tsx @@ -1,7 +1,8 @@ import { Card, CardFooter, CardHeader, Heading, Link, LinkBox, LinkOverlay } from '@chakra-ui/react'; import NextLink from 'next/link'; -import {ConditionalWrapper} from '@scdp/ui/components'; -import { translateDate } from '@scdp/ui/lib'; + +import { translateDate } from '@/src/lib/utils'; +import ConditionalWrapper from '../../helpers/ConditionalWrapper'; import { SITECORE_COMMUNITY_URL } from './sitecore-community.constants'; type SitecoreCommunityNewsOrEventItemProps = { diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/blog/SitecoreCommunityBlog.tsx b/apps/devportal/src/components/integrations/sitecoreCommunity/blog/SitecoreCommunityBlog.tsx similarity index 100% rename from packages/ui/src/components/integrations/sitecoreCommunity/blog/SitecoreCommunityBlog.tsx rename to apps/devportal/src/components/integrations/sitecoreCommunity/blog/SitecoreCommunityBlog.tsx diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/events/SitecoreCommunityEvents.tsx b/apps/devportal/src/components/integrations/sitecoreCommunity/events/SitecoreCommunityEvents.tsx similarity index 92% rename from packages/ui/src/components/integrations/sitecoreCommunity/events/SitecoreCommunityEvents.tsx rename to apps/devportal/src/components/integrations/sitecoreCommunity/events/SitecoreCommunityEvents.tsx index 9ba65b8fa..a9287b128 100644 --- a/packages/ui/src/components/integrations/sitecoreCommunity/events/SitecoreCommunityEvents.tsx +++ b/apps/devportal/src/components/integrations/sitecoreCommunity/events/SitecoreCommunityEvents.tsx @@ -1,8 +1,9 @@ // Interfaces import { Card, CardBody, CardHeader, CardProps, Heading, Stack } from '@chakra-ui/react'; + +import { TextLink } from '@/src/components/links/TextLink'; import { SitecoreCommunityNewsOrEventItem } from '../SitecoreCommunityNewsOrEventItem'; import type { SitecoreCommunityEvent } from '../types'; -import { TextLink } from '@scdp/ui/components'; type SitecoreCommunityEventsProps = CardProps & { title?: string; diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/index.ts b/apps/devportal/src/components/integrations/sitecoreCommunity/index.ts similarity index 100% rename from packages/ui/src/components/integrations/sitecoreCommunity/index.ts rename to apps/devportal/src/components/integrations/sitecoreCommunity/index.ts diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/news/SitecoreCommunityNews.tsx b/apps/devportal/src/components/integrations/sitecoreCommunity/news/SitecoreCommunityNews.tsx similarity index 100% rename from packages/ui/src/components/integrations/sitecoreCommunity/news/SitecoreCommunityNews.tsx rename to apps/devportal/src/components/integrations/sitecoreCommunity/news/SitecoreCommunityNews.tsx diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/questions/SitecoreCommunityQuestions.tsx b/apps/devportal/src/components/integrations/sitecoreCommunity/questions/SitecoreCommunityQuestions.tsx similarity index 100% rename from packages/ui/src/components/integrations/sitecoreCommunity/questions/SitecoreCommunityQuestions.tsx rename to apps/devportal/src/components/integrations/sitecoreCommunity/questions/SitecoreCommunityQuestions.tsx diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/sitecore-community.constants.ts b/apps/devportal/src/components/integrations/sitecoreCommunity/sitecore-community.constants.ts similarity index 100% rename from packages/ui/src/components/integrations/sitecoreCommunity/sitecore-community.constants.ts rename to apps/devportal/src/components/integrations/sitecoreCommunity/sitecore-community.constants.ts diff --git a/packages/ui/src/components/integrations/sitecoreCommunity/types.ts b/apps/devportal/src/components/integrations/sitecoreCommunity/types.ts similarity index 100% rename from packages/ui/src/components/integrations/sitecoreCommunity/types.ts rename to apps/devportal/src/components/integrations/sitecoreCommunity/types.ts diff --git a/packages/ui/src/components/integrations/stackexchange/StackExchange.api.ts b/apps/devportal/src/components/integrations/stackexchange/StackExchange.api.ts similarity index 100% rename from packages/ui/src/components/integrations/stackexchange/StackExchange.api.ts rename to apps/devportal/src/components/integrations/stackexchange/StackExchange.api.ts diff --git a/packages/ui/src/components/integrations/stackexchange/StackExchangeFeed.tsx b/apps/devportal/src/components/integrations/stackexchange/StackExchangeFeed.tsx similarity index 100% rename from packages/ui/src/components/integrations/stackexchange/StackExchangeFeed.tsx rename to apps/devportal/src/components/integrations/stackexchange/StackExchangeFeed.tsx diff --git a/packages/ui/src/components/integrations/stackexchange/stackExchange.ts b/apps/devportal/src/components/integrations/stackexchange/stackExchange.ts similarity index 100% rename from packages/ui/src/components/integrations/stackexchange/stackExchange.ts rename to apps/devportal/src/components/integrations/stackexchange/stackExchange.ts diff --git a/packages/ui/src/components/integrations/youtube/YouTube.api.ts b/apps/devportal/src/components/integrations/youtube/YouTube.api.ts similarity index 100% rename from packages/ui/src/components/integrations/youtube/YouTube.api.ts rename to apps/devportal/src/components/integrations/youtube/YouTube.api.ts diff --git a/packages/ui/src/components/integrations/youtube/YouTubeFeed.tsx b/apps/devportal/src/components/integrations/youtube/YouTubeFeed.tsx similarity index 100% rename from packages/ui/src/components/integrations/youtube/YouTubeFeed.tsx rename to apps/devportal/src/components/integrations/youtube/YouTubeFeed.tsx diff --git a/packages/ui/src/components/integrations/youtube/youTube.ts b/apps/devportal/src/components/integrations/youtube/youTube.ts similarity index 100% rename from packages/ui/src/components/integrations/youtube/youTube.ts rename to apps/devportal/src/components/integrations/youtube/youTube.ts diff --git a/packages/ui/src/components/links/ButtonLink.tsx b/apps/devportal/src/components/links/ButtonLink.tsx similarity index 100% rename from packages/ui/src/components/links/ButtonLink.tsx rename to apps/devportal/src/components/links/ButtonLink.tsx diff --git a/packages/ui/src/components/links/SocialButton.tsx b/apps/devportal/src/components/links/SocialButton.tsx similarity index 100% rename from packages/ui/src/components/links/SocialButton.tsx rename to apps/devportal/src/components/links/SocialButton.tsx diff --git a/packages/ui/src/components/links/TextLink.tsx b/apps/devportal/src/components/links/TextLink.tsx similarity index 100% rename from packages/ui/src/components/links/TextLink.tsx rename to apps/devportal/src/components/links/TextLink.tsx diff --git a/packages/ui/src/components/links/index.ts b/apps/devportal/src/components/links/index.ts similarity index 100% rename from packages/ui/src/components/links/index.ts rename to apps/devportal/src/components/links/index.ts diff --git a/packages/ui/src/components/lists/categoryTileList/CategoryTileList.tsx b/apps/devportal/src/components/lists/categoryTileList/CategoryTileList.tsx similarity index 100% rename from packages/ui/src/components/lists/categoryTileList/CategoryTileList.tsx rename to apps/devportal/src/components/lists/categoryTileList/CategoryTileList.tsx diff --git a/packages/ui/src/components/lists/categoryTileList/types.ts b/apps/devportal/src/components/lists/categoryTileList/types.ts similarity index 100% rename from packages/ui/src/components/lists/categoryTileList/types.ts rename to apps/devportal/src/components/lists/categoryTileList/types.ts diff --git a/packages/ui/src/components/lists/genericList/GenericList.tsx b/apps/devportal/src/components/lists/genericList/GenericList.tsx similarity index 100% rename from packages/ui/src/components/lists/genericList/GenericList.tsx rename to apps/devportal/src/components/lists/genericList/GenericList.tsx diff --git a/packages/ui/src/components/lists/genericList/types.ts b/apps/devportal/src/components/lists/genericList/types.ts similarity index 100% rename from packages/ui/src/components/lists/genericList/types.ts rename to apps/devportal/src/components/lists/genericList/types.ts diff --git a/packages/ui/src/components/lists/index.ts b/apps/devportal/src/components/lists/index.ts similarity index 100% rename from packages/ui/src/components/lists/index.ts rename to apps/devportal/src/components/lists/index.ts diff --git a/packages/ui/src/components/logos/SvgLogo.tsx b/apps/devportal/src/components/logos/SvgLogo.tsx similarity index 100% rename from packages/ui/src/components/logos/SvgLogo.tsx rename to apps/devportal/src/components/logos/SvgLogo.tsx diff --git a/packages/ui/src/components/logos/index.ts b/apps/devportal/src/components/logos/index.ts similarity index 100% rename from packages/ui/src/components/logos/index.ts rename to apps/devportal/src/components/logos/index.ts diff --git a/packages/ui/src/components/logos/logos/logo--astro.tsx b/apps/devportal/src/components/logos/logos/logo--astro.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--astro.tsx rename to apps/devportal/src/components/logos/logos/logo--astro.tsx diff --git a/packages/ui/src/components/logos/logos/logo--dotnet.tsx b/apps/devportal/src/components/logos/logos/logo--dotnet.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--dotnet.tsx rename to apps/devportal/src/components/logos/logos/logo--dotnet.tsx diff --git a/packages/ui/src/components/logos/logos/logo--javascript.tsx b/apps/devportal/src/components/logos/logos/logo--javascript.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--javascript.tsx rename to apps/devportal/src/components/logos/logos/logo--javascript.tsx diff --git a/packages/ui/src/components/logos/logos/logo--nextjs.tsx b/apps/devportal/src/components/logos/logos/logo--nextjs.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--nextjs.tsx rename to apps/devportal/src/components/logos/logos/logo--nextjs.tsx diff --git a/packages/ui/src/components/logos/logos/logo--npm.tsx b/apps/devportal/src/components/logos/logos/logo--npm.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--npm.tsx rename to apps/devportal/src/components/logos/logos/logo--npm.tsx diff --git a/packages/ui/src/components/logos/logos/logo--powershell.tsx b/apps/devportal/src/components/logos/logos/logo--powershell.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--powershell.tsx rename to apps/devportal/src/components/logos/logos/logo--powershell.tsx diff --git a/packages/ui/src/components/logos/logos/logo--react.tsx b/apps/devportal/src/components/logos/logos/logo--react.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--react.tsx rename to apps/devportal/src/components/logos/logos/logo--react.tsx diff --git a/packages/ui/src/components/logos/logos/logo--reactnative.tsx b/apps/devportal/src/components/logos/logos/logo--reactnative.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--reactnative.tsx rename to apps/devportal/src/components/logos/logos/logo--reactnative.tsx diff --git a/packages/ui/src/components/logos/logos/logo--svelte.tsx b/apps/devportal/src/components/logos/logos/logo--svelte.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--svelte.tsx rename to apps/devportal/src/components/logos/logos/logo--svelte.tsx diff --git a/packages/ui/src/components/logos/logos/logo--typescript.tsx b/apps/devportal/src/components/logos/logos/logo--typescript.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--typescript.tsx rename to apps/devportal/src/components/logos/logos/logo--typescript.tsx diff --git a/packages/ui/src/components/logos/logos/logo--vue.tsx b/apps/devportal/src/components/logos/logos/logo--vue.tsx similarity index 100% rename from packages/ui/src/components/logos/logos/logo--vue.tsx rename to apps/devportal/src/components/logos/logos/logo--vue.tsx diff --git a/apps/devportal/src/components/markdown/MarkdownContent.tsx b/apps/devportal/src/components/markdown/MarkdownContent.tsx index ece4db055..ba99e3ef8 100644 --- a/apps/devportal/src/components/markdown/MarkdownContent.tsx +++ b/apps/devportal/src/components/markdown/MarkdownContent.tsx @@ -3,10 +3,17 @@ import { PagePartialGroup, PartialData } from '@lib/interfaces/page-info'; import { mdiSquareEditOutline } from '@mdi/js'; import { Icon } from '@mdi/react'; import { Prose } from '@nikolovlazar/chakra-ui-prose'; -import { Article, ButtonLink, Download, Group, ImageModal, LinkItem, NewsletterStory, Promo, Repository, Row, TextLink, VideoPromo, YouTube } from '@scdp/ui/components'; + import { MDXRemote } from 'next-mdx-remote'; import SyntaxHighlighter from 'react-syntax-highlighter'; +import { Article, Download, Group, LinkItem, Repository } from '../cards'; +import { Row } from '../helpers'; +import { ImageModal } from '../images'; +import { ButtonLink, TextLink } from '../links'; +import { NewsletterStory } from '../newsletter'; +import { Promo, VideoPromo } from '../promos'; +import { YouTube } from '../video'; import styles from './MarkdownContent.module.css'; /* eslint-disable react/no-unknown-property */ import { MarkdownIntro } from './MarkdownIntro'; diff --git a/apps/devportal/src/components/navigation/ArticlePagingNext.tsx b/apps/devportal/src/components/navigation/ArticlePagingNext.tsx index 2c13c4f92..a741da67d 100644 --- a/apps/devportal/src/components/navigation/ArticlePagingNext.tsx +++ b/apps/devportal/src/components/navigation/ArticlePagingNext.tsx @@ -2,7 +2,7 @@ import { PageInfo, SidebarNavigationConfig } from '@/src/lib/interfaces/page-inf import { getItemUrl } from '@/src/lib/sidebarNav'; import { Card, CardBody, HStack, Heading, Icon, Stack } from '@chakra-ui/react'; import { mdiArrowLeft, mdiArrowRight, mdiCheckCircleOutline } from '@mdi/js'; -import { ButtonLink } from '@scdp/ui/components'; +import { ButtonLink } from '@src/components/links'; import useSidebarNav from '../hooks/useSidebarNav'; export interface ArticlePagingProps { diff --git a/apps/devportal/src/components/navigation/BreadcrumbNav.tsx b/apps/devportal/src/components/navigation/BreadcrumbNav.tsx index f31805981..cef4edfc9 100644 --- a/apps/devportal/src/components/navigation/BreadcrumbNav.tsx +++ b/apps/devportal/src/components/navigation/BreadcrumbNav.tsx @@ -1,8 +1,8 @@ import { PageInfo, SidebarNavigationConfig, SidebarNavigationItem } from '@/src/lib/interfaces/page-info'; import { Breadcrumb, BreadcrumbItem, BreadcrumbLink } from '@chakra-ui/react'; +import { appendPathToBasePath } from '@src/lib/utils/stringUtil'; import NextLink from 'next/link'; import { useRouter } from 'next/router'; -import { appendPathToBasePath } from '../../../../../packages/ui/src/lib/utils/stringUtil'; import useSidebarNav from '../hooks/useSidebarNav'; export interface BreadcrumbNavProps { diff --git a/apps/devportal/src/components/navigation/Footer.tsx b/apps/devportal/src/components/navigation/Footer.tsx index d4516323c..d59fe54d9 100644 --- a/apps/devportal/src/components/navigation/Footer.tsx +++ b/apps/devportal/src/components/navigation/Footer.tsx @@ -1,7 +1,8 @@ import { Box, Center, Container, HStack, Link, Stack, Text, Tooltip } from '@chakra-ui/react'; -import { SocialButton } from '@scdp/ui/components'; + import NextLink from 'next/link'; import { FaFacebook, FaInstagram, FaLinkedin, FaTwitter, FaYoutube } from 'react-icons/fa'; +import { SocialButton } from '../links'; export const Footer = () => ( diff --git a/apps/devportal/src/components/navigation/NavBar.tsx b/apps/devportal/src/components/navigation/NavBar.tsx index 6ba289a56..394fa0f60 100644 --- a/apps/devportal/src/components/navigation/NavBar.tsx +++ b/apps/devportal/src/components/navigation/NavBar.tsx @@ -1,5 +1,6 @@ 'use client'; +import { GetProductLogoByVariant, Product, Type, Variant } from '@/src/lib/assets'; import { ChevronLeftIcon, ChevronRightIcon, CloseIcon, ExternalLinkIcon, HamburgerIcon } from '@chakra-ui/icons'; import { Box, @@ -34,14 +35,13 @@ import { mdiChevronDown, mdiChevronUp, mdiInformationOutline } from '@mdi/js'; import NextLink from 'next/link'; import { useRouter } from 'next/router'; import React, { useState } from 'react'; -import {ProductIcon, Slide} from '@scdp/ui/components'; -//import { GetProductLogoByVariant, Product, Type, Variant } from '@scdp/ui/lib'; import { PreviewModeSwitch } from '../common/PreviewModeSwitch'; +import ProductIcon from '../common/ProductIcon'; +import { Slide } from '../helpers/Slide'; import PreviewSearchInput from '../sitecore-search/PreviewSearchInput'; import { DarkModeSwitch } from './DarkModeSwitch'; import { QuickStartMenu } from './QuickStartMenu'; import { SearchButton } from './SearchButton'; -import { GetProductLogoByVariant, Product, Type, Variant } from '@scdp/ui/lib'; export type NavigationChildData = { title: string; diff --git a/apps/devportal/src/components/navigation/SidebarNavigation.tsx b/apps/devportal/src/components/navigation/SidebarNavigation.tsx index 8df56f292..477b7a7b0 100644 --- a/apps/devportal/src/components/navigation/SidebarNavigation.tsx +++ b/apps/devportal/src/components/navigation/SidebarNavigation.tsx @@ -1,7 +1,7 @@ import { SidebarNavigationConfig, SidebarNavigationItem } from '@/src/lib/interfaces/page-info'; import { Box, Button, ButtonGroup, Collapse, HStack, Heading, Hide, Icon, IconButton, Text, Wrap, useDisclosure } from '@chakra-ui/react'; import { mdiChevronDown, mdiChevronRight, mdiMinus, mdiPlus } from '@mdi/js'; -import { appendPathToBasePath } from '@scdp/ui/lib'; +import { appendPathToBasePath } from '@src/lib/utils'; import NextLink from 'next/link'; import { useRouter } from 'next/router'; import React, { useState } from 'react'; diff --git a/apps/devportal/src/components/navigation/SidebarSearch.tsx b/apps/devportal/src/components/navigation/SidebarSearch.tsx index 01eca4d46..67c9bd654 100644 --- a/apps/devportal/src/components/navigation/SidebarSearch.tsx +++ b/apps/devportal/src/components/navigation/SidebarSearch.tsx @@ -1,8 +1,8 @@ +import { appendPathToBasePath } from '@/src/lib/utils/stringUtil'; import { Box, Button, ButtonGroup, Heading, Highlight, Icon, IconButton, Input, InputGroup, InputLeftElement, InputRightElement } from '@chakra-ui/react'; import { mdiClose, mdiFilterVariant } from '@mdi/js'; import NextLink from 'next/link'; import React from 'react'; -import { appendPathToBasePath } from '../../../../../packages/ui/src/lib/utils/stringUtil'; import { SidebarNavigationConfig } from '../../lib/interfaces/page-info'; export interface SidebarNavigationProps { diff --git a/packages/ui/src/components/newsletter/index.ts b/apps/devportal/src/components/newsletter/index.ts similarity index 100% rename from packages/ui/src/components/newsletter/index.ts rename to apps/devportal/src/components/newsletter/index.ts diff --git a/packages/ui/src/components/newsletter/story.tsx b/apps/devportal/src/components/newsletter/story.tsx similarity index 94% rename from packages/ui/src/components/newsletter/story.tsx rename to apps/devportal/src/components/newsletter/story.tsx index fc81b188d..a444515d4 100644 --- a/packages/ui/src/components/newsletter/story.tsx +++ b/apps/devportal/src/components/newsletter/story.tsx @@ -1,5 +1,5 @@ import { Card, CardBody, CardFooter, CardHeader, Flex, GridItem, Heading, Image, Stack, Text } from '@chakra-ui/react'; -import { TextLink } from '@scdp/ui/components'; +import { TextLink } from '@src/components/links'; interface NewsletterStoryPartialData { copy: string; diff --git a/packages/ui/src/components/promos/ctaCard/CTACard.tsx b/apps/devportal/src/components/promos/ctaCard/CTACard.tsx similarity index 92% rename from packages/ui/src/components/promos/ctaCard/CTACard.tsx rename to apps/devportal/src/components/promos/ctaCard/CTACard.tsx index 3d3fd05ff..a57236a96 100644 --- a/packages/ui/src/components/promos/ctaCard/CTACard.tsx +++ b/apps/devportal/src/components/promos/ctaCard/CTACard.tsx @@ -1,8 +1,8 @@ import { Button, Card, CardBody, Heading, Link, Text, useColorModeValue } from '@chakra-ui/react'; import { mdiArrowRight } from '@mdi/js'; import { Icon } from '@mdi/react'; +import { ButtonLink } from '@src/components/links'; import NextLink from 'next/link'; -import { ButtonLink } from '@scdp/ui/components'; import { CTACardProps } from './types'; export const CTACard = ({ description, href, linkText, title, link2Text, link2href }: CTACardProps): JSX.Element => ( diff --git a/packages/ui/src/components/promos/ctaCard/types.ts b/apps/devportal/src/components/promos/ctaCard/types.ts similarity index 100% rename from packages/ui/src/components/promos/ctaCard/types.ts rename to apps/devportal/src/components/promos/ctaCard/types.ts diff --git a/packages/ui/src/components/promos/index.ts b/apps/devportal/src/components/promos/index.ts similarity index 100% rename from packages/ui/src/components/promos/index.ts rename to apps/devportal/src/components/promos/index.ts diff --git a/packages/ui/src/components/promos/promoCard/PromoCard.tsx b/apps/devportal/src/components/promos/promoCard/PromoCard.tsx similarity index 100% rename from packages/ui/src/components/promos/promoCard/PromoCard.tsx rename to apps/devportal/src/components/promos/promoCard/PromoCard.tsx diff --git a/packages/ui/src/components/promos/promoCard/PromoList.tsx b/apps/devportal/src/components/promos/promoCard/PromoList.tsx similarity index 100% rename from packages/ui/src/components/promos/promoCard/PromoList.tsx rename to apps/devportal/src/components/promos/promoCard/PromoList.tsx diff --git a/packages/ui/src/components/promos/promoCard/types.ts b/apps/devportal/src/components/promos/promoCard/types.ts similarity index 100% rename from packages/ui/src/components/promos/promoCard/types.ts rename to apps/devportal/src/components/promos/promoCard/types.ts diff --git a/packages/ui/src/components/promos/videoPromo/types.ts b/apps/devportal/src/components/promos/videoPromo/types.ts similarity index 100% rename from packages/ui/src/components/promos/videoPromo/types.ts rename to apps/devportal/src/components/promos/videoPromo/types.ts diff --git a/packages/ui/src/components/promos/videoPromo/videoPromo.tsx b/apps/devportal/src/components/promos/videoPromo/videoPromo.tsx similarity index 100% rename from packages/ui/src/components/promos/videoPromo/videoPromo.tsx rename to apps/devportal/src/components/promos/videoPromo/videoPromo.tsx diff --git a/apps/devportal/src/components/sitecore-search/PreviewSearchInput.tsx b/apps/devportal/src/components/sitecore-search/PreviewSearchInput.tsx index 45f587752..d97cbbb78 100644 --- a/apps/devportal/src/components/sitecore-search/PreviewSearchInput.tsx +++ b/apps/devportal/src/components/sitecore-search/PreviewSearchInput.tsx @@ -24,8 +24,8 @@ import { Text, Tooltip, } from '@chakra-ui/react'; -import { ProductLogo } from '@scdp/ui/components'; -import { Product } from '@scdp/ui/lib'; + +import { Product } from '@/src/lib/assets'; import type { PreviewSearchInitialState } from '@sitecore-search/react'; import { WidgetDataType, trackEntityPageViewEvent, usePreviewSearch, widget } from '@sitecore-search/react'; import { Presence, PreviewSearch } from '@sitecore-search/ui'; @@ -33,6 +33,7 @@ import { useRouter } from 'next/router'; import type { ChangeEvent, SyntheticEvent } from 'react'; import { useCallback } from 'react'; import { FaSearch } from 'react-icons/fa'; +import ProductLogo from '../common/ProductLogo'; type ArticleModel = { id: string; diff --git a/apps/devportal/src/components/sitecore-search/SearchInput.tsx b/apps/devportal/src/components/sitecore-search/SearchInput.tsx index ccb707167..7ea60b07a 100644 --- a/apps/devportal/src/components/sitecore-search/SearchInput.tsx +++ b/apps/devportal/src/components/sitecore-search/SearchInput.tsx @@ -1,11 +1,11 @@ // Global +import { Product } from '@/src/lib/assets'; import { Button, FormControl, HStack, Input, InputGroup, InputLeftElement, InputRightElement, Text } from '@chakra-ui/react'; import { useRouter } from 'next/router'; import { useState } from 'react'; import { FaSearch } from 'react-icons/fa'; -import { ProductLogo } from '@scdp/ui/components'; -import { useEngageTracker } from '@scdp/ui/components'; -import { Product } from '@scdp/ui/lib'; +import { ProductLogo } from '../common'; +import { useEngageTracker } from '../integrations'; export interface SearchInputProps { diff --git a/apps/devportal/src/components/sitecore-search/SearchResults.tsx b/apps/devportal/src/components/sitecore-search/SearchResults.tsx index 8fea0c734..7c8c0ed07 100644 --- a/apps/devportal/src/components/sitecore-search/SearchResults.tsx +++ b/apps/devportal/src/components/sitecore-search/SearchResults.tsx @@ -2,7 +2,7 @@ import { Badge, Box, Grid, GridItem, HStack, Heading, Hide, Image, Stack, StackD import { SearchResultsInitialState, WidgetDataType, trackEntityPageViewEvent, useSearchResults, widget } from '@sitecore-search/react'; //import Image from 'next/image'; import { getColorScheme } from '@/src/lib/search'; -import { Loading } from '@scdp/ui/components'; +import { Loading } from '../common'; import QuerySummary from './QuerySummary'; import SearchFacets from './SearchFacets'; import SearchPagination from './SearchPagination'; diff --git a/packages/ui/src/components/social/SocialShare.tsx b/apps/devportal/src/components/social/SocialShare.tsx similarity index 100% rename from packages/ui/src/components/social/SocialShare.tsx rename to apps/devportal/src/components/social/SocialShare.tsx diff --git a/packages/ui/src/components/social/index.ts b/apps/devportal/src/components/social/index.ts similarity index 100% rename from packages/ui/src/components/social/index.ts rename to apps/devportal/src/components/social/index.ts diff --git a/packages/ui/src/components/video/YouTube.module.css b/apps/devportal/src/components/video/YouTube.module.css similarity index 100% rename from packages/ui/src/components/video/YouTube.module.css rename to apps/devportal/src/components/video/YouTube.module.css diff --git a/packages/ui/src/components/video/YouTube.tsx b/apps/devportal/src/components/video/YouTube.tsx similarity index 100% rename from packages/ui/src/components/video/YouTube.tsx rename to apps/devportal/src/components/video/YouTube.tsx diff --git a/packages/ui/src/components/video/index.ts b/apps/devportal/src/components/video/index.ts similarity index 100% rename from packages/ui/src/components/video/index.ts rename to apps/devportal/src/components/video/index.ts diff --git a/apps/devportal/src/layouts/ArticlePage.tsx b/apps/devportal/src/layouts/ArticlePage.tsx index 261cdb2fa..840c7c81f 100644 --- a/apps/devportal/src/layouts/ArticlePage.tsx +++ b/apps/devportal/src/layouts/ArticlePage.tsx @@ -1,16 +1,18 @@ import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; import { ContentHeading } from '@lib/interfaces/contentheading'; import { ChildPageInfo, PageInfo, PagePartialGroup, PartialData, SidebarNavigationConfig } from '@lib/interfaces/page-info'; -import { Hero, PromoCardProps, PromoList } from '@scdp/ui/components'; + import SocialFeeds from '@src/components/common/SocialFeeds'; import { MarkDownContent } from '@src/components/markdown/MarkdownContent'; import InPageNav from '@src/components/navigation/InPageNav'; import Layout from '@src/layouts/Layout'; import { useRouter } from 'next/router'; +import { Hero } from '../components/common'; import GithubContributionNotice from '../components/common/contribute'; import { ArticlePaging } from '../components/navigation/ArticlePaging'; import BreadcrumbNav from '../components/navigation/BreadcrumbNav'; import SidebarNavigation from '../components/navigation/SidebarNavigation'; +import { PromoCardProps, PromoList } from '../components/promos'; import { ThreeColumnLayout } from './ThreeColumnLayout'; type ArticlePageProps = { diff --git a/apps/devportal/src/layouts/ChildOverviewPage.tsx b/apps/devportal/src/layouts/ChildOverviewPage.tsx index 30c5dafcd..7fd5c9e13 100644 --- a/apps/devportal/src/layouts/ChildOverviewPage.tsx +++ b/apps/devportal/src/layouts/ChildOverviewPage.tsx @@ -1,10 +1,14 @@ import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; import { Button, Card, CardBody, CardFooter, CardHeader, Grid, GridItem, Link, Stack, Text } from '@chakra-ui/react'; import { ChildPageInfo, PageInfo, PagePartialGroup, PartialData, SidebarNavigationConfig } from '@lib/interfaces/page-info'; -import { CenteredContent, Hero, PromoCardProps, PromoList, TextLink, VerticalGroup } from '@scdp/ui/components'; + import { RenderContent } from '@src/components/markdown/MarkdownContent'; import Layout from '@src/layouts/Layout'; +import { Hero } from '../components/common'; +import { CenteredContent, VerticalGroup } from '../components/helpers'; +import { TextLink } from '../components/links'; import SidebarNavigation from '../components/navigation/SidebarNavigation'; +import { PromoCardProps, PromoList } from '../components/promos'; import { ThreeColumnLayout } from './ThreeColumnLayout'; type ChildOverviewPageProps = { diff --git a/apps/devportal/src/layouts/DefaultContentPage.tsx b/apps/devportal/src/layouts/DefaultContentPage.tsx index 581036cc4..c0756e324 100644 --- a/apps/devportal/src/layouts/DefaultContentPage.tsx +++ b/apps/devportal/src/layouts/DefaultContentPage.tsx @@ -1,13 +1,16 @@ import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; import { ContentHeading } from '@lib/interfaces/contentheading'; import { ChildPageInfo, PageInfo, PagePartialGroup, PartialData } from '@lib/interfaces/page-info'; -import { ContentSection, Hero, PromoCardProps, PromoList } from '@scdp/ui/components'; + import ChangelogEntries from '@src/components/changelog/ChangelogEntries'; import SocialFeeds from '@src/components/common/SocialFeeds'; import { MarkDownContent } from '@src/components/markdown/MarkdownContent'; import InPageNav from '@src/components/navigation/InPageNav'; import Layout from '@src/layouts/Layout'; import { useRouter } from 'next/router'; +import { Hero } from '../components/common'; +import { ContentSection } from '../components/helpers'; +import { PromoCardProps, PromoList } from '../components/promos'; import { ThreeColumnLayout } from './ThreeColumnLayout'; type DefaultContentPageProps = { diff --git a/apps/devportal/src/layouts/GenericContentPage.tsx b/apps/devportal/src/layouts/GenericContentPage.tsx index b21764ef4..651630d09 100644 --- a/apps/devportal/src/layouts/GenericContentPage.tsx +++ b/apps/devportal/src/layouts/GenericContentPage.tsx @@ -2,12 +2,15 @@ import { Grid, GridItem, Heading, Text } from '@chakra-ui/react'; import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; import { PageInfo, PagePartialGroup, PartialData } from '@lib/interfaces/page-info'; -import { CenteredContent, ContentSection, Hero, PromoCardProps, PromoList, VerticalGroup } from '@scdp/ui/components'; + import SocialFeeds from '@src/components/common/SocialFeeds'; import MarkdownContent from '@src/components/markdown/MarkdownContent'; import InPageNav from '@src/components/navigation/InPageNav'; import Layout from '@src/layouts/Layout'; +import { Hero } from '../components/common'; +import { CenteredContent, ContentSection, VerticalGroup } from '../components/helpers'; import InPageNavSmall from '../components/navigation/InPageNavSmall'; +import { PromoCardProps, PromoList } from '../components/promos'; type GenericContentPageProps = { pageInfo: PageInfo; diff --git a/apps/devportal/src/layouts/NewsLetterPage.tsx b/apps/devportal/src/layouts/NewsLetterPage.tsx index c51555c12..9b3cdfb28 100644 --- a/apps/devportal/src/layouts/NewsLetterPage.tsx +++ b/apps/devportal/src/layouts/NewsLetterPage.tsx @@ -1,8 +1,10 @@ import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; import { Box, Button, Card, CardBody, CardFooter, CardHeader, Flex, Grid, GridItem, Link, SimpleGrid, Text } from '@chakra-ui/react'; import { ChildPageInfo, PageInfo, SidebarNavigationConfig } from '@lib/interfaces/page-info'; -import { CenteredContent, Hero, TextLink, VerticalGroup } from '@scdp/ui/components'; import Layout from '@src/layouts/Layout'; +import { Hero } from '../components/common'; +import { CenteredContent, VerticalGroup } from '../components/helpers'; +import { TextLink } from '../components/links'; import { DecoratedMarkdown, RenderContent } from '../components/markdown/MarkdownContent'; import SidebarNavigation from '../components/navigation/SidebarNavigation'; diff --git a/apps/devportal/src/layouts/SocialPage.tsx b/apps/devportal/src/layouts/SocialPage.tsx index ebde0149a..a2d67c5b4 100644 --- a/apps/devportal/src/layouts/SocialPage.tsx +++ b/apps/devportal/src/layouts/SocialPage.tsx @@ -1,16 +1,14 @@ import communityListData from '@/data/data-community-list'; +import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; import { PageInfo } from '@lib/interfaces/page-info'; import { RenderContent } from '@src/components/markdown/MarkdownContent'; +import { CTACard, CTACardProps, PromoCardProps, PromoList } from '@src/components/promos'; import Layout from '@src/layouts/Layout'; -import { Hero } from '@scdp/ui/components'; -import { CenteredContent, VerticalGroup } from '@scdp/ui/components'; -import { StackExchangeFeed, YouTubeFeed } from '@scdp/ui/components'; -import { SitecoreCommunityNews, SitecoreCommunityQuestions } from '@scdp/ui/components'; -import { GenericList } from '@scdp/ui/components'; +import { Hero } from '../components/common'; +import { CenteredContent, VerticalGroup } from '../components/helpers'; +import { SitecoreCommunityNews, SitecoreCommunityQuestions, StackExchangeFeed, YouTubeFeed } from '../components/integrations'; +import { GenericList } from '../components/lists'; -import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; -import { CTACard, CTACardProps, PromoCardProps } from '@scdp/ui/components'; -import {PromoList} from '@scdp/ui/components'; type SocialPageProps = { pageInfo: PageInfo; diff --git a/apps/devportal/src/layouts/ThreeColumnLayout.tsx b/apps/devportal/src/layouts/ThreeColumnLayout.tsx index d4ed5eec6..183f6dc52 100644 --- a/apps/devportal/src/layouts/ThreeColumnLayout.tsx +++ b/apps/devportal/src/layouts/ThreeColumnLayout.tsx @@ -1,5 +1,5 @@ import { Box, Flex } from '@chakra-ui/react'; -import { CenteredContent } from '@scdp/ui/components'; +import { CenteredContent } from '../components/helpers'; import InPageNavSmall from '../components/navigation/InPageNavSmall'; import { ContentHeading } from '../lib/interfaces/contentheading'; import { Sidebar } from './Sidebar'; diff --git a/apps/devportal/src/layouts/Tutorial.tsx b/apps/devportal/src/layouts/Tutorial.tsx index ffe2c27c7..128463dee 100644 --- a/apps/devportal/src/layouts/Tutorial.tsx +++ b/apps/devportal/src/layouts/Tutorial.tsx @@ -1,17 +1,18 @@ import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; import { ContentHeading } from '@lib/interfaces/contentheading'; import { ChildPageInfo, PageInfo, PagePartialGroup, PartialData, SidebarNavigationConfig } from '@lib/interfaces/page-info'; -import { Hero, PromoCardProps, PromoList } from '@scdp/ui/components'; import SocialFeeds from '@src/components/common/SocialFeeds'; import { MarkDownContent } from '@src/components/markdown/MarkdownContent'; import InPageNav from '@src/components/navigation/InPageNav'; import Layout from '@src/layouts/Layout'; import { useRouter } from 'next/router'; +import { Hero } from '../components/common'; import GithubContributionNotice from '../components/common/contribute'; import { ArticlePaging } from '../components/navigation/ArticlePaging'; import { ArticlePagingNext } from '../components/navigation/ArticlePagingNext'; import BreadcrumbNav from '../components/navigation/BreadcrumbNav'; import SidebarNavigation from '../components/navigation/SidebarNavigation'; +import { PromoCardProps, PromoList } from '../components/promos'; import { ThreeColumnLayout } from './ThreeColumnLayout'; type ArticlePageProps = { diff --git a/packages/ui/src/lib/assets.ts b/apps/devportal/src/lib/assets.ts similarity index 100% rename from packages/ui/src/lib/assets.ts rename to apps/devportal/src/lib/assets.ts diff --git a/apps/devportal/src/lib/changelog/changelog.ts b/apps/devportal/src/lib/changelog/changelog.ts index 4f5f6e269..aa6df1781 100644 --- a/apps/devportal/src/lib/changelog/changelog.ts +++ b/apps/devportal/src/lib/changelog/changelog.ts @@ -1,5 +1,5 @@ import { ChangeType, ChangelogCredentials, Product } from '@scdp/changelog/types'; -import { Option } from '@scdp/ui/components'; +import { Option } from '@src/components/dropdown'; import axios from 'axios'; import useSWR, { Fetcher } from 'swr'; diff --git a/apps/devportal/src/lib/changelog/hooks/useGetEntriesByProducts.ts b/apps/devportal/src/lib/changelog/hooks/useGetEntriesByProducts.ts index e91629577..2118e70fd 100644 --- a/apps/devportal/src/lib/changelog/hooks/useGetEntriesByProducts.ts +++ b/apps/devportal/src/lib/changelog/hooks/useGetEntriesByProducts.ts @@ -1,8 +1,7 @@ +import { ChangelogEntrySummary, Product } from '@scdp/changelog/types'; +import { Option } from '@src/components/dropdown'; import axios from 'axios'; -import { Product } from '@scdp/changelog/types'; -import { ChangelogEntrySummary } from '@scdp/changelog/types'; import useSWR, { Fetcher } from 'swr'; -import { Option } from '@scdp/ui/components'; import { buildProductQuerystring } from '../changelog'; const fetcher: Fetcher | null, string> = async (url: string) => await axios.get(url).then((response) => response.data); diff --git a/apps/devportal/src/lib/interfaces/page-info.ts b/apps/devportal/src/lib/interfaces/page-info.ts index 999c69de8..e53e078bd 100644 --- a/apps/devportal/src/lib/interfaces/page-info.ts +++ b/apps/devportal/src/lib/interfaces/page-info.ts @@ -1,5 +1,5 @@ import { ChangelogEntry } from '@scdp/changelog/types'; -import { ForumOption, SitecoreCommunityContent, SitecoreCommunityEvent, SortOption, StackExchangeQuestion, YouTubeVideo } from '@scdp/ui/components'; +import { ForumOption, SitecoreCommunityContent, SitecoreCommunityEvent, SortOption, StackExchangeQuestion, YouTubeVideo } from '@src/components/integrations'; import { ContentHeading } from './contentheading'; type PageInfoCore = { diff --git a/apps/devportal/src/lib/page-info.ts b/apps/devportal/src/lib/page-info.ts index 371b5e9f5..d3d215309 100644 --- a/apps/devportal/src/lib/page-info.ts +++ b/apps/devportal/src/lib/page-info.ts @@ -1,6 +1,6 @@ // Global import type { ChildPageInfo, MarkdownMeta, PageInfo, PagePartialGroup, PagePartials, PartialData, SidebarNavigationConfig } from '@lib/interfaces/page-info'; -import { SITECORE_COMMUNITY_MAX_COUNT, SitecoreCommunityApi, StackExchangeApi, YouTubeApi } from '@scdp/ui/components'; + import fs from 'fs'; import matter from 'gray-matter'; import path from 'path'; @@ -8,7 +8,8 @@ import path from 'path'; import { ContentHeading } from '@lib/interfaces/contentheading'; import { ParseContent } from '@lib/markdown/mdxParse'; import { Changelog } from '@scdp/changelog'; -import { SitecoreCommunityContent, SitecoreCommunityEvent } from '@scdp/ui/components'; + +import { SITECORE_COMMUNITY_MAX_COUNT, SitecoreCommunityApi, SitecoreCommunityContent, SitecoreCommunityEvent, StackExchangeApi, YouTubeApi } from '../components/integrations'; import { getChangelogCredentials } from './changelog/changelog'; const dataDirectory = path.join(process.cwd(), 'data/markdown'); diff --git a/apps/devportal/src/lib/sidebarNav.ts b/apps/devportal/src/lib/sidebarNav.ts index 4aa518c8f..099a932dd 100644 --- a/apps/devportal/src/lib/sidebarNav.ts +++ b/apps/devportal/src/lib/sidebarNav.ts @@ -1,4 +1,4 @@ -import { appendPathToBasePath } from '@scdp/ui/lib'; +import { appendPathToBasePath } from '@src/lib/utils/stringUtil'; import { SidebarNavigationConfig, SidebarNavigationItem } from './interfaces/page-info'; /** diff --git a/packages/ui/src/lib/transition-utils.ts b/apps/devportal/src/lib/transition-utils.ts similarity index 100% rename from packages/ui/src/lib/transition-utils.ts rename to apps/devportal/src/lib/transition-utils.ts diff --git a/packages/ui/src/lib/utils/dateUtil.ts b/apps/devportal/src/lib/utils/dateUtil.ts similarity index 100% rename from packages/ui/src/lib/utils/dateUtil.ts rename to apps/devportal/src/lib/utils/dateUtil.ts diff --git a/packages/ui/src/lib/utils/fsUtils.ts b/apps/devportal/src/lib/utils/fsUtils.ts similarity index 100% rename from packages/ui/src/lib/utils/fsUtils.ts rename to apps/devportal/src/lib/utils/fsUtils.ts diff --git a/packages/ui/src/lib/utils/index.ts b/apps/devportal/src/lib/utils/index.ts similarity index 100% rename from packages/ui/src/lib/utils/index.ts rename to apps/devportal/src/lib/utils/index.ts diff --git a/packages/ui/src/lib/utils/sortUtil.ts b/apps/devportal/src/lib/utils/sortUtil.ts similarity index 100% rename from packages/ui/src/lib/utils/sortUtil.ts rename to apps/devportal/src/lib/utils/sortUtil.ts diff --git a/packages/ui/src/lib/utils/stringUtil.ts b/apps/devportal/src/lib/utils/stringUtil.ts similarity index 100% rename from packages/ui/src/lib/utils/stringUtil.ts rename to apps/devportal/src/lib/utils/stringUtil.ts diff --git a/packages/changelog/src/utils/urlBuilder.ts b/apps/devportal/src/lib/utils/urlUtil.ts similarity index 100% rename from packages/changelog/src/utils/urlBuilder.ts rename to apps/devportal/src/lib/utils/urlUtil.ts diff --git a/apps/devportal/src/middlewares/middlewareFactory.ts b/apps/devportal/src/middlewares/middlewareFactory.ts index 8c990c98f..f0c231615 100644 --- a/apps/devportal/src/middlewares/middlewareFactory.ts +++ b/apps/devportal/src/middlewares/middlewareFactory.ts @@ -1,3 +1,4 @@ import { NextMiddleware } from 'next/server'; +// eslint-disable-next-line no-unused-vars export type MiddlewareFactory = (middleware: NextMiddleware) => NextMiddleware; diff --git a/apps/devportal/src/pages/404.tsx b/apps/devportal/src/pages/404.tsx index 9a894b963..bc5b62540 100644 --- a/apps/devportal/src/pages/404.tsx +++ b/apps/devportal/src/pages/404.tsx @@ -1,5 +1,5 @@ import { Box, Center, HStack, Heading, Image, Stack, Text } from '@chakra-ui/react'; -import { ButtonLink } from '@scdp/ui/components'; +import { ButtonLink } from '../components/links'; import SearchInput from '../components/sitecore-search/SearchInput'; import Layout from '../layouts/Layout'; diff --git a/apps/devportal/src/pages/500.tsx b/apps/devportal/src/pages/500.tsx index 60e2c9af7..fc07ebe6a 100644 --- a/apps/devportal/src/pages/500.tsx +++ b/apps/devportal/src/pages/500.tsx @@ -1,5 +1,5 @@ import { Box, Center, Heading, Image, Stack, Text } from '@chakra-ui/react'; -import { ButtonLink } from '@scdp/ui/components'; +import { ButtonLink } from '../components/links'; import Layout from '../layouts/Layout'; export default function Custom500() { diff --git a/apps/devportal/src/pages/_app.tsx b/apps/devportal/src/pages/_app.tsx index a70658603..08b590d30 100644 --- a/apps/devportal/src/pages/_app.tsx +++ b/apps/devportal/src/pages/_app.tsx @@ -1,18 +1,17 @@ import { Box, ChakraProvider, extendTheme } from '@chakra-ui/react'; import { IsSearchEnabled, SEARCH_CONFIG } from '@lib/search'; import { PageController, WidgetsProvider, trackEntityPageViewEvent } from '@sitecore-search/react'; +import sitecoreTheme, { toastOptions } from '@sitecore/blok-theme'; +import { EngageTrackerProvider } from '@src/components/integrations/engage/EngageTracker'; import { Footer } from '@src/components/navigation/Footer'; import Navbar from '@src/components/navigation/NavBar'; +import { PreviewProvider } from '@src/context/PreviewContext'; import { AppProps } from 'next/app'; import { Router } from 'next/router'; import { useCallback, useEffect, useRef, useState } from 'react'; import TagManager from 'react-gtm-module'; import TopBarProgress from 'react-topbar-progress-indicator'; -import { EngageTrackerProvider } from '@scdp/ui/components'; -import sitecoreTheme, { toastOptions } from '@sitecore/blok-theme' -import { scdpTheme } from '@scdp/ui/theme'; - -import { PreviewProvider } from '../context/PreviewContext'; +import { scdpTheme } from '../theme'; const SearchWrapper = ({ children }: any) => (IsSearchEnabled() ? {children} : children); diff --git a/apps/devportal/src/pages/api/changelog/v1/date/[date].ts b/apps/devportal/src/pages/api/changelog/v1/date/[date].ts index 9e0239033..8a95c3022 100644 --- a/apps/devportal/src/pages/api/changelog/v1/date/[date].ts +++ b/apps/devportal/src/pages/api/changelog/v1/date/[date].ts @@ -5,29 +5,7 @@ import { ChangelogEntry, ChangelogEntryList } from '@scdp/changelog/types'; import { getQueryArray, getQueryValue } from '@scdp/changelog/utils'; import type { NextApiRequest, NextApiResponse } from 'next'; -// const handler = async (req: NextApiRequest, res: NextApiResponse>) => { -// const date: string[] = getQueryArray(req.query.date); -// const isPreview = req.preview ? true : false; - -// const firstDate = date[0]; -// if (!firstDate || isNaN(Date.parse(firstDate))) { -// res.status(500); -// return; -// } else { -// const changelog = new Changelog(getChangelogCredentials(), isPreview); -// const items = await changelog.getEntriesByDate(new Date(firstDate)); - -// res.status(200).json(items); -// res.end(); -// } -// res.end(); -// }; - -// export default handler; - const handler = async (req: NextApiRequest, res: NextApiResponse>) => { - const products: string[] = getQueryArray(req.query.product); - const changeTypes: string[] = getQueryArray(req.query.changeType); const isPreview = req.preview ? true : false; const date: string[] = getQueryArray(req.query.date); const limit: string = getQueryValue(req.query.limit); diff --git a/apps/devportal/src/pages/api/changelog/v1/indexing.ts b/apps/devportal/src/pages/api/changelog/v1/indexing.ts index 7b92f3402..ddd0b9971 100644 --- a/apps/devportal/src/pages/api/changelog/v1/indexing.ts +++ b/apps/devportal/src/pages/api/changelog/v1/indexing.ts @@ -1,8 +1,9 @@ import { getChangelogCredentials } from '@/src/lib/changelog/changelog'; +import { removeHtmlTagsAndSpecialChars } from '@/src/lib/utils'; import { Changelog } from '@scdp/changelog'; import { ChangelogEntry, ChangelogEntryList } from '@scdp/changelog/types'; import { getChangelogEntryUrl, getQueryValue } from '@scdp/changelog/utils'; -import { removeHtmlTagsAndSpecialChars } from '@scdp/ui/lib'; + import type { NextApiRequest, NextApiResponse } from 'next'; const publicUrl = process.env.NEXT_PUBLIC_PUBLIC_URL ? process.env.NEXT_PUBLIC_PUBLIC_URL : ''; diff --git a/apps/devportal/src/pages/api/sitecore-community.ts b/apps/devportal/src/pages/api/sitecore-community.ts index be59caa7f..44bd7b625 100644 --- a/apps/devportal/src/pages/api/sitecore-community.ts +++ b/apps/devportal/src/pages/api/sitecore-community.ts @@ -1,4 +1,4 @@ -import { ContentType, ForumOption, SitecoreCommunityApi, SitecoreCommunityContent, SitecoreCommunityEvent, SortOption } from '@scdp/ui/components'; +import { ContentType, ForumOption, SitecoreCommunityApi, SitecoreCommunityContent, SitecoreCommunityEvent, SortOption } from '@src/components/integrations'; import type { NextApiRequest, NextApiResponse } from 'next'; const getQueryValue = (query: string | string[] | undefined): string => { diff --git a/apps/devportal/src/pages/changelog/[product]/[entry].tsx b/apps/devportal/src/pages/changelog/[product]/[entry].tsx index c723e5ef4..7e43f703a 100644 --- a/apps/devportal/src/pages/changelog/[product]/[entry].tsx +++ b/apps/devportal/src/pages/changelog/[product]/[entry].tsx @@ -1,4 +1,8 @@ +import { Hero } from '@/src/components/common'; import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; +import { CenteredContent, VerticalGroup } from '@/src/components/helpers'; +import { ButtonLink } from '@/src/components/links'; +import { SocialShare } from '@/src/components/social'; import { getChangelogCredentials } from '@/src/lib/changelog/changelog'; import { Breadcrumb, @@ -30,7 +34,6 @@ import { Prose } from '@nikolovlazar/chakra-ui-prose'; import { Changelog } from '@scdp/changelog'; import { ChangelogEntry, Product } from '@scdp/changelog/types'; import { getChangelogEntryUrl, getSlug, slugify } from '@scdp/changelog/utils'; -import { ButtonLink, CenteredContent, Hero, SocialShare, VerticalGroup } from '@scdp/ui/components'; import ChangelogByMonth from '@src/components/changelog/ChangelogByMonth'; import { ChangelogItemMeta } from '@src/components/changelog/ChangelogItemMeta'; import Layout from '@src/layouts/Layout'; @@ -80,12 +83,12 @@ const ChangelogProduct = ({ currentProduct, changelogEntry }: ChangelogProps) => Powered by - Powered by Content Hub ONE + Powered by Content Hub ONE diff --git a/apps/devportal/src/pages/changelog/[product]/index.tsx b/apps/devportal/src/pages/changelog/[product]/index.tsx index f541fd8d6..f6ec6c048 100644 --- a/apps/devportal/src/pages/changelog/[product]/index.tsx +++ b/apps/devportal/src/pages/changelog/[product]/index.tsx @@ -1,4 +1,7 @@ +import { Hero } from '@/src/components/common'; import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; +import { CenteredContent, VerticalGroup } from '@/src/components/helpers'; +import { ButtonLink } from '@/src/components/links'; import { getChangelogCredentials } from '@/src/lib/changelog/changelog'; import { Alert, AlertIcon, Grid, GridItem, HStack, Text, Tooltip, useColorModeValue } from '@chakra-ui/react'; import ChangelogByMonth from '@components/changelog/ChangelogByMonth'; @@ -9,7 +12,6 @@ import Icon from '@mdi/react'; import { Changelog } from '@scdp/changelog'; import { Product } from '@scdp/changelog/types'; import { getSlug, slugify } from '@scdp/changelog/utils'; -import { ButtonLink, CenteredContent, Hero, VerticalGroup } from '@scdp/ui/components'; import Layout from '@src/layouts/Layout'; import Image from 'next/image'; import Link from 'next/link'; diff --git a/apps/devportal/src/pages/changelog/current.tsx b/apps/devportal/src/pages/changelog/current.tsx index 1d82fa8e1..fea4963bb 100644 --- a/apps/devportal/src/pages/changelog/current.tsx +++ b/apps/devportal/src/pages/changelog/current.tsx @@ -1,6 +1,8 @@ +import { LinkItem } from '@/src/components/cards'; +import { Hero } from '@/src/components/common'; import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; +import { CenteredContent, Row, VerticalGroup } from '@/src/components/helpers'; import { Alert, AlertIcon, Box, Heading, Text } from '@chakra-ui/react'; -import { CenteredContent, Hero, LinkItem, Row, VerticalGroup } from '@scdp/ui/components'; import Layout from '@src/layouts/Layout'; import Head from 'next/head'; import Link from 'next/link'; diff --git a/apps/devportal/src/pages/changelog/index.tsx b/apps/devportal/src/pages/changelog/index.tsx index e36bcad00..d9c1679ca 100644 --- a/apps/devportal/src/pages/changelog/index.tsx +++ b/apps/devportal/src/pages/changelog/index.tsx @@ -1,11 +1,14 @@ +import { Hero } from '@/src/components/common'; import { TrackPageView } from '@/src/components/engagetracker/TrackPageView'; +import { CenteredContent, VerticalGroup } from '@/src/components/helpers'; +import { ButtonLink } from '@/src/components/links'; import { getChangelogCredentials } from '@/src/lib/changelog/changelog'; import { Alert, AlertIcon, Grid, GridItem, HStack, Image, Text, Tooltip, useColorModeValue } from '@chakra-ui/react'; import ChangelogByMonth from '@components/changelog/ChangelogByMonth'; import ChangelogList from '@components/changelog/ChangelogList'; import { mdiRss } from '@mdi/js'; import Icon from '@mdi/react'; -import { ButtonLink, CenteredContent, Hero, Option, VerticalGroup } from '@scdp/ui/components'; +import { Option } from '@src/components/dropdown'; import Layout from '@src/layouts/Layout'; import Head from 'next/head'; import Link from 'next/link'; diff --git a/apps/devportal/src/pages/index.tsx b/apps/devportal/src/pages/index.tsx index f2bc27519..aa93a74d4 100644 --- a/apps/devportal/src/pages/index.tsx +++ b/apps/devportal/src/pages/index.tsx @@ -6,25 +6,17 @@ import updatesListData from '@data/data-updates'; import getHelpCta from '@data/promos/get-help'; import { PageInfo } from '@lib/interfaces/page-info'; import { getPageInfo } from '@lib/page-info'; -import { - CTACard, - CategoryTileList, - CenteredContent, - GenericList, - Hero, - Hexagons, - SitecoreCommunityBlog, - SitecoreCommunityEvents, - SitecoreCommunityNews, - SitecoreCommunityQuestions, - StackExchangeFeed, - VerticalGroup, - YouTubeFeed, -} from '@scdp/ui/components'; import ChangelogEntries from '@src/components/changelog/ChangelogEntries'; import Layout from '@src/layouts/Layout'; import { NextPage } from 'next'; +import Hero from '../components/common/Hero'; import { TrackPageView } from '../components/engagetracker/TrackPageView'; +import { CenteredContent } from '../components/helpers/CenteredContent'; +import { VerticalGroup } from '../components/helpers/VerticalGroup'; +import { Hexagons } from '../components/hexagons'; +import { SitecoreCommunityBlog, SitecoreCommunityEvents, SitecoreCommunityNews, SitecoreCommunityQuestions, StackExchangeFeed, YouTubeFeed } from '../components/integrations'; +import { CategoryTileList, GenericList } from '../components/lists'; +import { CTACard } from '../components/promos'; export async function getStaticProps() { const pageInfo = await getPageInfo('home'); diff --git a/apps/devportal/src/pages/search.tsx b/apps/devportal/src/pages/search.tsx index a6599a0c4..621da1420 100644 --- a/apps/devportal/src/pages/search.tsx +++ b/apps/devportal/src/pages/search.tsx @@ -3,9 +3,9 @@ import { PageInfo } from '@lib/interfaces/page-info'; import { getPageInfo } from '@lib/page-info'; import { NextPage } from 'next'; import { useRouter } from 'next/router'; -import { Hero } from '@scdp/ui/components'; -import { CenteredContent, VerticalGroup } from '@scdp/ui/components'; +import { Hero } from '../components/common'; import { TrackPageView } from '../components/engagetracker/TrackPageView'; +import { CenteredContent, VerticalGroup } from '../components/helpers'; import SearchResults from '../components/sitecore-search/SearchResults'; import Layout from '../layouts/Layout'; import { IsSearchEnabled } from '../lib/search'; diff --git a/packages/ui/src/theme/components/cardTheme.ts b/apps/devportal/src/theme/components/cardTheme.ts similarity index 100% rename from packages/ui/src/theme/components/cardTheme.ts rename to apps/devportal/src/theme/components/cardTheme.ts diff --git a/packages/ui/src/theme/components/modalTheme.ts b/apps/devportal/src/theme/components/modalTheme.ts similarity index 100% rename from packages/ui/src/theme/components/modalTheme.ts rename to apps/devportal/src/theme/components/modalTheme.ts diff --git a/packages/ui/src/theme/foundations/breakpoints.ts b/apps/devportal/src/theme/foundations/breakpoints.ts similarity index 100% rename from packages/ui/src/theme/foundations/breakpoints.ts rename to apps/devportal/src/theme/foundations/breakpoints.ts diff --git a/packages/ui/src/theme/index.ts b/apps/devportal/src/theme/index.ts similarity index 100% rename from packages/ui/src/theme/index.ts rename to apps/devportal/src/theme/index.ts diff --git a/packages/ui/src/theme/proseTheme.ts b/apps/devportal/src/theme/proseTheme.ts similarity index 100% rename from packages/ui/src/theme/proseTheme.ts rename to apps/devportal/src/theme/proseTheme.ts diff --git a/packages/ui/src/theme/theme.ts b/apps/devportal/src/theme/theme.ts similarity index 100% rename from packages/ui/src/theme/theme.ts rename to apps/devportal/src/theme/theme.ts diff --git a/apps/devportal/turbo.json b/apps/devportal/turbo.json index c70a53c71..449dd9aa1 100644 --- a/apps/devportal/turbo.json +++ b/apps/devportal/turbo.json @@ -20,7 +20,12 @@ "SITECORE_CHONE_AUTH_TOKEN_DELIVERY", "SITECORE_CHONE_ENDPOINT_PREVIEW", "SITECORE_CHONE_AUTH_TOKEN_PREVIEW", - "NEXT_PUBLIC_PUBLIC_URL" + "NEXT_PUBLIC_PUBLIC_URL", + "NEXT_PUBLIC_SITECORE_CDP_CLIENT_KEY", + "NEXT_PUBLIC_SITECORE_CDP_POS", + "NEXT_PUBLIC_SITECORE_CDP_COOKIE_DOMAIN", + "NEXT_PUBLIC_SITECORE_CDP_TARGETURL", + "NEXT_PUBLIC_YOUTUBE_API_KEY" ] } } diff --git a/packages/changelog/src/types/product.ts b/packages/changelog/src/types/product.ts index d4a82aaa0..030d1ffad 100644 --- a/packages/changelog/src/types/product.ts +++ b/packages/changelog/src/types/product.ts @@ -1,4 +1,4 @@ -import { GetProductLogoByVariant, Product as ProductLogo, Type, Variant } from '@scdp/ui/lib'; +//import { GetProductLogoByVariant, Product as ProductLogo, Type, Variant } from '@src/lib'; import { SitecoreProductResults } from './sitecoreProduct'; export type Product = { @@ -10,16 +10,13 @@ export type Product = { }; export function ParseProduct(data: SitecoreProductResults): Product[] { - const darkDefaultLogo = GetProductLogoByVariant(ProductLogo.Default, Variant.Dark, Type.IconOnly); - const lightDefaultLogo = GetProductLogoByVariant(ProductLogo.Default, Variant.Light, Type.IconOnly); - return data.results.map((x) => { return { id: x.id, name: x.productName, description: x.productDescription, - lightIcon: x.lightIcon != null ? x.lightIcon : lightDefaultLogo, - darkIcon: x.darkIcon != null ? x.darkIcon : darkDefaultLogo, + lightIcon: x.lightIcon, + darkIcon: x.darkIcon, hasEntries: false, }; }); diff --git a/packages/changelog/src/utils/index.ts b/packages/changelog/src/utils/index.ts index b46fbbc2f..8e9ce99d0 100644 --- a/packages/changelog/src/utils/index.ts +++ b/packages/changelog/src/utils/index.ts @@ -1,4 +1,4 @@ +export * from '../../../../apps/devportal/src/lib/utils/urlUtil'; export * from './dateUtils'; export * from './requests'; export * from './stringUtils'; -export * from './urlBuilder'; diff --git a/packages/changelog/tsconfig.json b/packages/changelog/tsconfig.json index 17e5cfbee..1a74358e3 100644 --- a/packages/changelog/tsconfig.json +++ b/packages/changelog/tsconfig.json @@ -4,9 +4,8 @@ "lib": ["dom", "ES2015"], "types": ["jest", "node"], "outDir": "dist", - "rootDir": "src", - + "rootDir": "src" }, - "include": ["src", "globals.d.ts"], + "include": ["src", "globals.d.ts", "../../apps/devportal/src/lib/utils/urlUtil.ts"], "exclude": ["node_modules", "dist", "build"] } diff --git a/packages/ui/.eslintrc.js b/packages/ui/.eslintrc.js deleted file mode 100644 index 5a85abb38..000000000 --- a/packages/ui/.eslintrc.js +++ /dev/null @@ -1,14 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -module.exports = { - root: true, - extends: ["@scdp/eslint-config/react-internal.js"], - parser: "@typescript-eslint/parser", - parserOptions: { - project: "./tsconfig.lint.json", - tsconfigRootDir: __dirname, - }, - "env": { - "jest": true, - "node": true - } -}; diff --git a/packages/ui/globals.d.ts b/packages/ui/globals.d.ts deleted file mode 100644 index 9738b8260..000000000 --- a/packages/ui/globals.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -// Allow CSS modules for third-party libraries -declare module '*.module.css'; -declare module '*.module.scss'; \ No newline at end of file diff --git a/packages/ui/package.json b/packages/ui/package.json deleted file mode 100644 index 72856881b..000000000 --- a/packages/ui/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "@scdp/ui", - "version": "0.0.0", - "private": true, - "exports": { - ".": "./src/index.ts", - "./components": "./src/components/index.ts", - "./theme": "./src/theme/index.ts", - "./lib": "./src/lib/index.ts", - "./data": "./src/data/index.ts" - }, - "scripts": { - "lint": "eslint . --max-warnings 0", - "generate:component": "turbo gen react-component", - "test": "jest" - }, - "jest": { - "preset": "@scdp/jest-presets/browser" - }, - "devDependencies": { - "@scdp/eslint-config": "*", - "@scdp/jest-presets": "*", - "@scdp/typescript-config": "*", - "@turbo/gen": "^1.13.2", - "@types/eslint": "^8.56.7", - "@types/jest": "^29.5.12", - "@types/node": "^20.12.4", - "@types/react": "^18.2.74", - "@types/react-dom": "^18.2.24", - "@testing-library/jest-dom": "^6.4.2", - "@testing-library/react": "^14.2.2", - "autoprefixer": "^10.4.19", - "eslint": "^8.57.0", - "jest": "^29.7.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "typescript": "^5.4.4" - }, - "dependencies": { - "@chakra-ui/react": "^2.8.2", - "@emotion/react": "^11.11.4", - "@emotion/styled": "^11.11.5", - "@mdi/js": "^7.4.47", - "@mdi/react": "^1.6.1", - "@nikolovlazar/chakra-ui-prose": "^1.2.1", - "@sitecore/blok-theme": "^1.1.11", - "@sitecore/engage": "1.4.3", - "axios": "^1.6.8", - "chakra-react-select": "^4.7.6", - "class-variance-authority": "^0.7.0", - "clsx": "^2.1.0", - "framer-motion": "^11.0.25", - "next-share": "^0.27.0", - "react-select": "^5.8.0", - "react-tweet": "^3.2.0", - "react-lite-youtube-embed": "^2.4.0" - } -} \ No newline at end of file diff --git a/packages/ui/src/components/index.ts b/packages/ui/src/components/index.ts deleted file mode 100644 index 63d5fc880..000000000 --- a/packages/ui/src/components/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -export * from './cards' -export * from './common' -export * from './dropdown' -export * from './helpers' -export * from './hexagons' -export * from './images'; -export * from './integrations'; -export * from './links'; -export * from './lists'; -export * from './logos'; -export * from './newsletter'; -export * from './promos' -export * from './social' -export * from './video' diff --git a/packages/ui/src/data/index.ts b/packages/ui/src/data/index.ts deleted file mode 100644 index 035da9eb6..000000000 --- a/packages/ui/src/data/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './clouds' -export * from './products' \ No newline at end of file diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts deleted file mode 100644 index 13b300e55..000000000 --- a/packages/ui/src/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './lib' -export * from './components' \ No newline at end of file diff --git a/packages/ui/src/lib/index.ts b/packages/ui/src/lib/index.ts deleted file mode 100644 index 58675a39b..000000000 --- a/packages/ui/src/lib/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './assets' -export * from './transition-utils' -export * from './utils' \ No newline at end of file diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json deleted file mode 100644 index 10d39db7e..000000000 --- a/packages/ui/tsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "@scdp/typescript-config/react-library.json", - "compilerOptions": { - "lib": ["dom", "ES2015"], - "types": ["jest", "node"], - "outDir": "dist", - "rootDir": "./" - }, - "include": ["src","turbo","globals.d.ts"], - "exclude": ["node_modules", "dist", "build"] -} diff --git a/packages/ui/tsconfig.lint.json b/packages/ui/tsconfig.lint.json deleted file mode 100644 index e36205006..000000000 --- a/packages/ui/tsconfig.lint.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "@scdp/typescript-config/react-library.json", - "compilerOptions": { - "outDir": "dist", - }, - "include": ["src", "turbo", "globals.d.ts"], - "exclude": ["node_modules", "dist"] -} diff --git a/packages/ui/turbo.json b/packages/ui/turbo.json deleted file mode 100644 index 744eb53e2..000000000 --- a/packages/ui/turbo.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "extends": ["//"], - "pipeline": { - "build": { - "outputs": ["dist/**"], - "env": [ - "NEXT_PUBLIC_YOUTUBE_API_KEY", - "NEXT_PUBLIC_TWITTER_BEARER_TOKEN", - "NEXT_PUBLIC_COOKIE_CONSENT_URL", - "NEXT_PUBLIC_GTM_ID", - "NEXT_PUBLIC_GTM_AUTH", - "NEXT_PUBLIC_GTM_ENVIRONMENT", - "NEXT_PUBLIC_PUBLIC_URL", - "ANALYZE", - "NEXT_PUBLIC_SEARCH_APP_ENV", - "NEXT_PUBLIC_SEARCH_APP_CUSTOMER_KEY", - "NEXT_PUBLIC_SEARCH_APP_API_KEY", - "NEXT_PUBLIC_SEARCH_ENABLE_PREVIEW_SEARCH", - "NEXT_PUBLIC_SEARCH_SOURCES", - "NEXT_PUBLIC_SEARCH_DOMAIN_ID_PREFIX", - "SITECORE_CHONE_ENDPOINT_PREVIEW", - "SITECORE_CHONE_ENDPOINT_DELIVERY", - "SITECORE_CHONE_AUTH_TOKEN_PREVIEW", - "SITECORE_CHONE_AUTH_TOKEN_DELIVERY", - "NEXT_PUBLIC_SITECORE_CDP_CLIENT_KEY", - "NEXT_PUBLIC_SITECORE_CDP_TARGETURL", - "NEXT_PUBLIC_SITECORE_CDP_COOKIE_DOMAIN", - "NEXT_PUBLIC_SITECORE_CDP_POS", - "NEXT_PUBLIC_SITECORE_CHONE_ORGANIZATION", - "NEXT_PUBLIC_SITECORE_CHONE_TENANT", - "NEXT_PUBLIC_PREVIEW_HOSTNAME", - "PREVIEW_SECRET", - "NODE_ENV" - ] - } - } - } \ No newline at end of file diff --git a/packages/ui/turbo/generators/config.ts b/packages/ui/turbo/generators/config.ts deleted file mode 100644 index b3facf1f0..000000000 --- a/packages/ui/turbo/generators/config.ts +++ /dev/null @@ -1,30 +0,0 @@ -import type { PlopTypes } from "@turbo/gen"; - -// Learn more about Turborepo Generators at https://turbo.build/repo/docs/core-concepts/monorepos/code-generation - -export default function generator(plop: PlopTypes.NodePlopAPI): void { - // A simple generator to add a new React component to the internal UI library - plop.setGenerator("react-component", { - description: "Adds a new react component", - prompts: [ - { - type: "input", - name: "name", - message: "What is the name of the component?", - }, - ], - actions: [ - { - type: "add", - path: "src/{{kebabCase name}}.tsx", - templateFile: "templates/component.hbs", - }, - { - type: "append", - path: "package.json", - pattern: /"exports": {(?)/g, - template: '"./{{kebabCase name}}": "./src/{{kebabCase name}}.tsx",', - }, - ], - }); -} diff --git a/packages/ui/turbo/generators/templates/component.hbs b/packages/ui/turbo/generators/templates/component.hbs deleted file mode 100644 index d968b9e3a..000000000 --- a/packages/ui/turbo/generators/templates/component.hbs +++ /dev/null @@ -1,8 +0,0 @@ -export const {{ pascalCase name }} = ({ children }: { children: React.ReactNode }) => { - return ( -
-

{{ pascalCase name }} Component

- {children} -
- ); -}; From 7f287838fb9aa7910e35f7ea8222643f5127d4e7 Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Thu, 11 Jul 2024 13:47:25 +0200 Subject: [PATCH 05/15] remove jest --- apps/devportal/tsconfig.json | 35 +- package-lock.json | 446 +++++++++++++++++-- package.json | 1 - packages/jest-presets/browser/jest-preset.js | 15 - packages/jest-presets/jest.setup.js | 2 - packages/jest-presets/node/jest-preset.js | 13 - packages/jest-presets/package.json | 19 - 7 files changed, 429 insertions(+), 102 deletions(-) delete mode 100644 packages/jest-presets/browser/jest-preset.js delete mode 100644 packages/jest-presets/jest.setup.js delete mode 100644 packages/jest-presets/node/jest-preset.js delete mode 100644 packages/jest-presets/package.json diff --git a/apps/devportal/tsconfig.json b/apps/devportal/tsconfig.json index 3fea73527..f397d1462 100644 --- a/apps/devportal/tsconfig.json +++ b/apps/devportal/tsconfig.json @@ -1,34 +1,17 @@ { "extends": "@scdp/typescript-config/nextjs.json", "compilerOptions": { - "typeRoots": [ - "./types", - "src/common/types", - "./node_modules/@types" - ], + "typeRoots": ["./types", "src/common/types", "./node_modules/@types"], + "types": ["jest", "node"], "baseUrl": ".", "paths": { - "@/*": [ - "./*" - ], - "@components/*": [ - "./src/components/*" - ], - "@lib/*": [ - "./src/lib/*" - ], - "@data/*": [ - "./data/*" - ], - "@src/*": [ - "./src/*" - ] + "@/*": ["./*"], + "@components/*": ["./src/components/*"], + "@lib/*": ["./src/lib/*"], + "@data/*": ["./data/*"], + "@src/*": ["./src/*"] }, - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "lib": ["dom", "dom.iterable", "esnext"], "incremental": true, "resolveJsonModule": true }, @@ -42,4 +25,4 @@ "exclude": [ "node_modules" ] -} +} diff --git a/package-lock.json b/package-lock.json index 69c596028..bb11a86e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -93,10 +93,12 @@ }, "node_modules/@adobe/css-tools": { "version": "4.3.3", + "dev": true, "license": "MIT" }, "node_modules/@ampproject/remapping": { "version": "2.3.0", + "dev": true, "license": "Apache-2.0", "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", @@ -119,6 +121,7 @@ }, "node_modules/@babel/compat-data": { "version": "7.24.1", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -128,6 +131,7 @@ "version": "7.24.4", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.4.tgz", "integrity": "sha512-MBVlMXP+kkl5394RBLSxxk/iLTeVGuXTV3cIDXavPpMMqnSnt6apKgan/U8O3USWZCWZT/TbgfEpKa4uMgN4Dg==", + "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.24.2", @@ -155,6 +159,7 @@ }, "node_modules/@babel/core/node_modules/semver": { "version": "6.3.1", + "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -164,6 +169,7 @@ "version": "7.24.4", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.4.tgz", "integrity": "sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw==", + "dev": true, "dependencies": { "@babel/types": "^7.24.0", "@jridgewell/gen-mapping": "^0.3.5", @@ -176,6 +182,7 @@ }, "node_modules/@babel/helper-compilation-targets": { "version": "7.23.6", + "dev": true, "license": "MIT", "dependencies": { "@babel/compat-data": "^7.23.5", @@ -190,6 +197,7 @@ }, "node_modules/@babel/helper-compilation-targets/node_modules/semver": { "version": "6.3.1", + "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -197,6 +205,7 @@ }, "node_modules/@babel/helper-environment-visitor": { "version": "7.22.20", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -206,6 +215,7 @@ "version": "7.23.0", "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "dev": true, "dependencies": { "@babel/template": "^7.22.15", "@babel/types": "^7.23.0" @@ -218,6 +228,7 @@ "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "dev": true, "dependencies": { "@babel/types": "^7.22.5" }, @@ -237,6 +248,7 @@ }, "node_modules/@babel/helper-module-transforms": { "version": "7.23.3", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-environment-visitor": "^7.22.20", @@ -254,6 +266,7 @@ }, "node_modules/@babel/helper-plugin-utils": { "version": "7.24.0", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -261,6 +274,7 @@ }, "node_modules/@babel/helper-simple-access": { "version": "7.22.5", + "dev": true, "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" @@ -271,6 +285,7 @@ }, "node_modules/@babel/helper-split-export-declaration": { "version": "7.22.6", + "dev": true, "license": "MIT", "dependencies": { "@babel/types": "^7.22.5" @@ -295,6 +310,7 @@ }, "node_modules/@babel/helper-validator-option": { "version": "7.23.5", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -304,6 +320,7 @@ "version": "7.24.4", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.4.tgz", "integrity": "sha512-FewdlZbSiwaVGlgT1DPANDuCHaDMiOo+D/IDYRFYjHOuv66xMSJ7fQwwODwRNAPkADIO/z1EoF/l2BCWlWABDw==", + "dev": true, "dependencies": { "@babel/template": "^7.24.0", "@babel/traverse": "^7.24.1", @@ -330,6 +347,7 @@ "version": "7.24.4", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz", "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==", + "dev": true, "bin": { "parser": "bin/babel-parser.js" }, @@ -339,6 +357,7 @@ }, "node_modules/@babel/plugin-syntax-async-generators": { "version": "7.8.4", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" @@ -349,6 +368,7 @@ }, "node_modules/@babel/plugin-syntax-bigint": { "version": "7.8.3", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" @@ -359,6 +379,7 @@ }, "node_modules/@babel/plugin-syntax-class-properties": { "version": "7.12.13", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.12.13" @@ -369,6 +390,7 @@ }, "node_modules/@babel/plugin-syntax-import-meta": { "version": "7.10.4", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" @@ -379,6 +401,7 @@ }, "node_modules/@babel/plugin-syntax-json-strings": { "version": "7.8.3", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" @@ -389,6 +412,7 @@ }, "node_modules/@babel/plugin-syntax-jsx": { "version": "7.24.1", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.24.0" @@ -402,6 +426,7 @@ }, "node_modules/@babel/plugin-syntax-logical-assignment-operators": { "version": "7.10.4", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" @@ -412,6 +437,7 @@ }, "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { "version": "7.8.3", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" @@ -422,6 +448,7 @@ }, "node_modules/@babel/plugin-syntax-numeric-separator": { "version": "7.10.4", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" @@ -432,6 +459,7 @@ }, "node_modules/@babel/plugin-syntax-object-rest-spread": { "version": "7.8.3", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" @@ -442,6 +470,7 @@ }, "node_modules/@babel/plugin-syntax-optional-catch-binding": { "version": "7.8.3", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" @@ -452,6 +481,7 @@ }, "node_modules/@babel/plugin-syntax-optional-chaining": { "version": "7.8.3", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" @@ -462,6 +492,7 @@ }, "node_modules/@babel/plugin-syntax-top-level-await": { "version": "7.14.5", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" @@ -475,6 +506,7 @@ }, "node_modules/@babel/plugin-syntax-typescript": { "version": "7.24.1", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.24.0" @@ -510,6 +542,7 @@ }, "node_modules/@babel/template": { "version": "7.24.0", + "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.23.5", @@ -524,6 +557,7 @@ "version": "7.24.1", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.1.tgz", "integrity": "sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ==", + "dev": true, "dependencies": { "@babel/code-frame": "^7.24.1", "@babel/generator": "^7.24.1", @@ -554,6 +588,7 @@ }, "node_modules/@bcoe/v8-coverage": { "version": "0.2.3", + "dev": true, "license": "MIT" }, "node_modules/@chakra-ui/accordion": { @@ -1694,7 +1729,7 @@ }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "0.3.9" @@ -1705,7 +1740,7 @@ }, "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { "version": "0.3.9", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", @@ -2525,6 +2560,7 @@ }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", + "dev": true, "license": "ISC", "dependencies": { "camelcase": "^5.3.1", @@ -2539,6 +2575,7 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { "version": "1.0.10", + "dev": true, "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" @@ -2546,6 +2583,7 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { "version": "4.1.0", + "dev": true, "license": "MIT", "dependencies": { "locate-path": "^5.0.0", @@ -2557,6 +2595,7 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { "version": "3.14.1", + "dev": true, "license": "MIT", "dependencies": { "argparse": "^1.0.7", @@ -2568,6 +2607,7 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { "version": "5.0.0", + "dev": true, "license": "MIT", "dependencies": { "p-locate": "^4.1.0" @@ -2578,6 +2618,7 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { "version": "2.3.0", + "dev": true, "license": "MIT", "dependencies": { "p-try": "^2.0.0" @@ -2591,6 +2632,7 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { "version": "4.1.0", + "dev": true, "license": "MIT", "dependencies": { "p-limit": "^2.2.0" @@ -2601,6 +2643,7 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { "version": "5.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -2608,10 +2651,12 @@ }, "node_modules/@istanbuljs/load-nyc-config/node_modules/sprintf-js": { "version": "1.0.3", + "dev": true, "license": "BSD-3-Clause" }, "node_modules/@istanbuljs/schema": { "version": "0.1.3", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -2619,6 +2664,7 @@ }, "node_modules/@jest/console": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -2634,6 +2680,7 @@ }, "node_modules/@jest/console/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -2647,6 +2694,7 @@ }, "node_modules/@jest/console/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -2661,6 +2709,7 @@ }, "node_modules/@jest/console/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -2671,10 +2720,12 @@ }, "node_modules/@jest/console/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/@jest/console/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -2682,6 +2733,7 @@ }, "node_modules/@jest/console/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -2692,6 +2744,7 @@ }, "node_modules/@jest/core": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/console": "^29.7.0", @@ -2737,6 +2790,7 @@ }, "node_modules/@jest/core/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -2750,6 +2804,7 @@ }, "node_modules/@jest/core/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -2764,6 +2819,7 @@ }, "node_modules/@jest/core/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -2774,10 +2830,12 @@ }, "node_modules/@jest/core/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/@jest/core/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -2785,6 +2843,7 @@ }, "node_modules/@jest/core/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -2795,6 +2854,7 @@ }, "node_modules/@jest/environment": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/fake-timers": "^29.7.0", @@ -2808,6 +2868,7 @@ }, "node_modules/@jest/expect": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "expect": "^29.7.0", @@ -2819,6 +2880,7 @@ }, "node_modules/@jest/expect-utils": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "jest-get-type": "^29.6.3" @@ -2829,6 +2891,7 @@ }, "node_modules/@jest/fake-timers": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -2844,6 +2907,7 @@ }, "node_modules/@jest/globals": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/environment": "^29.7.0", @@ -2857,6 +2921,7 @@ }, "node_modules/@jest/reporters": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@bcoe/v8-coverage": "^0.2.3", @@ -2898,6 +2963,7 @@ }, "node_modules/@jest/reporters/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -2911,6 +2977,7 @@ }, "node_modules/@jest/reporters/node_modules/brace-expansion": { "version": "1.1.11", + "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -2919,6 +2986,7 @@ }, "node_modules/@jest/reporters/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -2933,6 +3001,7 @@ }, "node_modules/@jest/reporters/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -2943,10 +3012,12 @@ }, "node_modules/@jest/reporters/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/@jest/reporters/node_modules/glob": { "version": "7.2.3", + "dev": true, "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", @@ -2965,6 +3036,7 @@ }, "node_modules/@jest/reporters/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -2972,6 +3044,7 @@ }, "node_modules/@jest/reporters/node_modules/minimatch": { "version": "3.1.2", + "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" @@ -2982,6 +3055,7 @@ }, "node_modules/@jest/reporters/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -2992,6 +3066,7 @@ }, "node_modules/@jest/schemas": { "version": "29.6.3", + "dev": true, "license": "MIT", "dependencies": { "@sinclair/typebox": "^0.27.8" @@ -3002,6 +3077,7 @@ }, "node_modules/@jest/source-map": { "version": "29.6.3", + "dev": true, "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "^0.3.18", @@ -3014,6 +3090,7 @@ }, "node_modules/@jest/test-result": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/console": "^29.7.0", @@ -3027,6 +3104,7 @@ }, "node_modules/@jest/test-sequencer": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/test-result": "^29.7.0", @@ -3040,6 +3118,7 @@ }, "node_modules/@jest/transform": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", @@ -3064,6 +3143,7 @@ }, "node_modules/@jest/transform/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -3077,6 +3157,7 @@ }, "node_modules/@jest/transform/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -3091,6 +3172,7 @@ }, "node_modules/@jest/transform/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -3101,10 +3183,12 @@ }, "node_modules/@jest/transform/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/@jest/transform/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -3112,6 +3196,7 @@ }, "node_modules/@jest/transform/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -3122,6 +3207,7 @@ }, "node_modules/@jest/types": { "version": "29.6.3", + "dev": true, "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -3137,6 +3223,7 @@ }, "node_modules/@jest/types/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -3150,6 +3237,7 @@ }, "node_modules/@jest/types/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -3164,6 +3252,7 @@ }, "node_modules/@jest/types/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -3174,10 +3263,12 @@ }, "node_modules/@jest/types/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/@jest/types/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -3185,6 +3276,7 @@ }, "node_modules/@jest/types/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -3195,6 +3287,7 @@ }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.5", + "dev": true, "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.2.1", @@ -3207,6 +3300,7 @@ }, "node_modules/@jridgewell/resolve-uri": { "version": "3.1.2", + "dev": true, "license": "MIT", "engines": { "node": ">=6.0.0" @@ -3214,6 +3308,7 @@ }, "node_modules/@jridgewell/set-array": { "version": "1.2.1", + "dev": true, "license": "MIT", "engines": { "node": ">=6.0.0" @@ -3221,10 +3316,12 @@ }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.15", + "dev": true, "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.25", + "dev": true, "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -4586,10 +4683,12 @@ }, "node_modules/@sinclair/typebox": { "version": "0.27.8", + "dev": true, "license": "MIT" }, "node_modules/@sinonjs/commons": { "version": "3.0.1", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" @@ -4597,6 +4696,7 @@ }, "node_modules/@sinonjs/fake-timers": { "version": "10.3.0", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.0" @@ -4852,6 +4952,7 @@ }, "node_modules/@testing-library/dom": { "version": "9.3.4", + "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.10.4", @@ -4869,6 +4970,7 @@ }, "node_modules/@testing-library/dom/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -4882,6 +4984,7 @@ }, "node_modules/@testing-library/dom/node_modules/aria-query": { "version": "5.1.3", + "dev": true, "license": "Apache-2.0", "dependencies": { "deep-equal": "^2.0.5" @@ -4889,6 +4992,7 @@ }, "node_modules/@testing-library/dom/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -4903,6 +5007,7 @@ }, "node_modules/@testing-library/dom/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -4913,14 +5018,17 @@ }, "node_modules/@testing-library/dom/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/@testing-library/dom/node_modules/dom-accessibility-api": { "version": "0.5.16", + "dev": true, "license": "MIT" }, "node_modules/@testing-library/dom/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -4928,6 +5036,7 @@ }, "node_modules/@testing-library/dom/node_modules/pretty-format": { "version": "27.5.1", + "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1", @@ -4940,6 +5049,7 @@ }, "node_modules/@testing-library/dom/node_modules/pretty-format/node_modules/ansi-styles": { "version": "5.2.0", + "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -4950,10 +5060,12 @@ }, "node_modules/@testing-library/dom/node_modules/react-is": { "version": "17.0.2", + "dev": true, "license": "MIT" }, "node_modules/@testing-library/dom/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -4964,6 +5076,7 @@ }, "node_modules/@testing-library/jest-dom": { "version": "6.4.2", + "dev": true, "license": "MIT", "dependencies": { "@adobe/css-tools": "^4.3.2", @@ -5007,6 +5120,7 @@ }, "node_modules/@testing-library/jest-dom/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -5020,6 +5134,7 @@ }, "node_modules/@testing-library/jest-dom/node_modules/chalk": { "version": "3.0.0", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -5031,6 +5146,7 @@ }, "node_modules/@testing-library/jest-dom/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -5041,10 +5157,12 @@ }, "node_modules/@testing-library/jest-dom/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/@testing-library/jest-dom/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -5052,6 +5170,7 @@ }, "node_modules/@testing-library/jest-dom/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -5062,6 +5181,7 @@ }, "node_modules/@testing-library/react": { "version": "14.2.2", + "dev": true, "license": "MIT", "dependencies": { "@babel/runtime": "^7.12.5", @@ -5468,22 +5588,22 @@ }, "node_modules/@tsconfig/node10": { "version": "1.0.11", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/@tsconfig/node12": { "version": "1.0.11", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/@tsconfig/node14": { "version": "1.0.3", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/@tsconfig/node16": { "version": "1.0.4", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/@turbo/gen": { @@ -5540,6 +5660,7 @@ }, "node_modules/@types/aria-query": { "version": "5.0.4", + "dev": true, "license": "MIT" }, "node_modules/@types/axios": { @@ -5551,6 +5672,7 @@ }, "node_modules/@types/babel__core": { "version": "7.20.5", + "dev": true, "license": "MIT", "dependencies": { "@babel/parser": "^7.20.7", @@ -5562,6 +5684,7 @@ }, "node_modules/@types/babel__generator": { "version": "7.6.8", + "dev": true, "license": "MIT", "dependencies": { "@babel/types": "^7.0.0" @@ -5569,6 +5692,7 @@ }, "node_modules/@types/babel__template": { "version": "7.4.4", + "dev": true, "license": "MIT", "dependencies": { "@babel/parser": "^7.1.0", @@ -5577,6 +5701,7 @@ }, "node_modules/@types/babel__traverse": { "version": "7.20.5", + "dev": true, "license": "MIT", "dependencies": { "@babel/types": "^7.20.7" @@ -5621,6 +5746,7 @@ }, "node_modules/@types/graceful-fs": { "version": "4.1.9", + "dev": true, "license": "MIT", "dependencies": { "@types/node": "*" @@ -5660,10 +5786,12 @@ }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", + "dev": true, "license": "MIT" }, "node_modules/@types/istanbul-lib-report": { "version": "3.0.3", + "dev": true, "license": "MIT", "dependencies": { "@types/istanbul-lib-coverage": "*" @@ -5671,6 +5799,7 @@ }, "node_modules/@types/istanbul-reports": { "version": "3.0.4", + "dev": true, "license": "MIT", "dependencies": { "@types/istanbul-lib-report": "*" @@ -5678,8 +5807,9 @@ }, "node_modules/@types/jest": { "version": "29.5.12", - "devOptional": true, - "license": "MIT", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", + "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", + "dev": true, "dependencies": { "expect": "^29.0.0", "pretty-format": "^29.0.0" @@ -5793,6 +5923,7 @@ "version": "18.2.24", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.24.tgz", "integrity": "sha512-cN6upcKd8zkGy4HU9F1+/s98Hrp6D4MOcippK4PoE8OZRngohHZpbJn1GsaDLz87MqvHNoT13nHvNqM9ocRHZg==", + "devOptional": true, "dependencies": { "@types/react": "*" } @@ -5835,6 +5966,7 @@ }, "node_modules/@types/stack-utils": { "version": "2.0.3", + "dev": true, "license": "MIT" }, "node_modules/@types/stylis": { @@ -5876,6 +6008,7 @@ }, "node_modules/@types/yargs": { "version": "17.0.32", + "dev": true, "license": "MIT", "dependencies": { "@types/yargs-parser": "*" @@ -5883,6 +6016,7 @@ }, "node_modules/@types/yargs-parser": { "version": "21.0.3", + "dev": true, "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { @@ -6164,7 +6298,7 @@ }, "node_modules/acorn-walk": { "version": "8.3.2", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=0.4.0" @@ -6314,7 +6448,7 @@ }, "node_modules/arg": { "version": "4.1.3", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/argparse": { @@ -6610,6 +6744,7 @@ }, "node_modules/babel-jest": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/transform": "^29.7.0", @@ -6629,6 +6764,7 @@ }, "node_modules/babel-jest/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -6642,6 +6778,7 @@ }, "node_modules/babel-jest/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -6656,6 +6793,7 @@ }, "node_modules/babel-jest/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -6666,10 +6804,12 @@ }, "node_modules/babel-jest/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/babel-jest/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -6677,6 +6817,7 @@ }, "node_modules/babel-jest/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -6687,6 +6828,7 @@ }, "node_modules/babel-plugin-istanbul": { "version": "6.1.1", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", @@ -6701,6 +6843,7 @@ }, "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { "version": "5.2.1", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@babel/core": "^7.12.3", @@ -6715,6 +6858,7 @@ }, "node_modules/babel-plugin-istanbul/node_modules/semver": { "version": "6.3.1", + "dev": true, "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -6722,6 +6866,7 @@ }, "node_modules/babel-plugin-jest-hoist": { "version": "29.6.3", + "dev": true, "license": "MIT", "dependencies": { "@babel/template": "^7.3.3", @@ -6748,6 +6893,7 @@ }, "node_modules/babel-preset-current-node-syntax": { "version": "1.0.1", + "dev": true, "license": "MIT", "dependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", @@ -6769,6 +6915,7 @@ }, "node_modules/babel-preset-jest": { "version": "29.6.3", + "dev": true, "license": "MIT", "dependencies": { "babel-plugin-jest-hoist": "^29.6.3", @@ -6847,10 +6994,11 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "license": "MIT", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -6858,6 +7006,7 @@ }, "node_modules/browserslist": { "version": "4.23.0", + "dev": true, "funding": [ { "type": "opencollective", @@ -6888,6 +7037,7 @@ }, "node_modules/bs-logger": { "version": "0.2.6", + "dev": true, "license": "MIT", "dependencies": { "fast-json-stable-stringify": "2.x" @@ -6898,6 +7048,7 @@ }, "node_modules/bser": { "version": "2.1.1", + "dev": true, "license": "Apache-2.0", "dependencies": { "node-int64": "^0.4.0" @@ -6927,6 +7078,7 @@ }, "node_modules/buffer-from": { "version": "1.1.2", + "dev": true, "license": "MIT" }, "node_modules/builtins": { @@ -7079,6 +7231,7 @@ }, "node_modules/camelcase": { "version": "5.3.1", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -7194,6 +7347,7 @@ }, "node_modules/char-regex": { "version": "1.0.2", + "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -7279,6 +7433,7 @@ }, "node_modules/ci-info": { "version": "3.9.0", + "dev": true, "funding": [ { "type": "github", @@ -7292,6 +7447,7 @@ }, "node_modules/cjs-module-lexer": { "version": "1.2.3", + "dev": true, "license": "MIT" }, "node_modules/class-variance-authority": { @@ -7590,6 +7746,7 @@ }, "node_modules/cliui": { "version": "8.0.1", + "dev": true, "license": "ISC", "dependencies": { "string-width": "^4.2.0", @@ -7602,6 +7759,7 @@ }, "node_modules/cliui/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -7615,6 +7773,7 @@ }, "node_modules/cliui/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -7625,10 +7784,12 @@ }, "node_modules/cliui/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/cliui/node_modules/wrap-ansi": { "version": "7.0.0", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", @@ -7658,6 +7819,7 @@ }, "node_modules/co": { "version": "4.6.0", + "dev": true, "license": "MIT", "engines": { "iojs": ">= 1.0.0", @@ -7666,6 +7828,7 @@ }, "node_modules/collect-v8-coverage": { "version": "1.0.2", + "dev": true, "license": "MIT" }, "node_modules/color": { @@ -7803,6 +7966,7 @@ }, "node_modules/convert-source-map": { "version": "2.0.0", + "dev": true, "license": "MIT" }, "node_modules/copy-to-clipboard": { @@ -7838,6 +8002,7 @@ }, "node_modules/create-jest": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -7857,6 +8022,7 @@ }, "node_modules/create-jest/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -7870,6 +8036,7 @@ }, "node_modules/create-jest/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -7884,6 +8051,7 @@ }, "node_modules/create-jest/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -7894,10 +8062,12 @@ }, "node_modules/create-jest/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/create-jest/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -7905,6 +8075,7 @@ }, "node_modules/create-jest/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -7915,7 +8086,7 @@ }, "node_modules/create-require": { "version": "1.1.1", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/crelt": { @@ -7999,6 +8170,7 @@ }, "node_modules/css.escape": { "version": "1.5.1", + "dev": true, "license": "MIT" }, "node_modules/cssom": { @@ -8179,6 +8351,7 @@ }, "node_modules/dedent": { "version": "1.5.1", + "dev": true, "license": "MIT", "peerDependencies": { "babel-plugin-macros": "^3.1.0" @@ -8191,6 +8364,7 @@ }, "node_modules/deep-equal": { "version": "2.2.3", + "dev": true, "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.0", @@ -8234,6 +8408,7 @@ }, "node_modules/deepmerge": { "version": "4.3.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -8410,7 +8585,7 @@ }, "node_modules/diff": { "version": "4.0.2", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" @@ -8418,6 +8593,7 @@ }, "node_modules/diff-sequences": { "version": "29.6.3", + "dev": true, "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -8445,6 +8621,7 @@ }, "node_modules/dom-accessibility-api": { "version": "0.6.3", + "dev": true, "license": "MIT" }, "node_modules/dom-helpers": { @@ -8533,10 +8710,12 @@ }, "node_modules/electron-to-chromium": { "version": "1.4.718", + "dev": true, "license": "ISC" }, "node_modules/emittery": { "version": "0.13.1", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -8690,6 +8869,7 @@ }, "node_modules/es-get-iterator": { "version": "1.1.3", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -8811,6 +8991,7 @@ }, "node_modules/escalade": { "version": "3.1.2", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -9761,12 +9942,14 @@ }, "node_modules/exit": { "version": "0.1.2", + "dev": true, "engines": { "node": ">= 0.8.0" } }, "node_modules/expect": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/expect-utils": "^29.7.0", @@ -9862,6 +10045,7 @@ }, "node_modules/fb-watchman": { "version": "2.0.2", + "dev": true, "license": "Apache-2.0", "dependencies": { "bser": "2.1.1" @@ -9910,8 +10094,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "license": "MIT", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -10134,6 +10319,20 @@ "version": "1.0.0", "license": "ISC" }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "peer": true, + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "license": "MIT", @@ -10166,6 +10365,7 @@ }, "node_modules/gensync": { "version": "1.0.0-beta.2", + "dev": true, "license": "MIT", "engines": { "node": ">=6.9.0" @@ -10173,6 +10373,7 @@ }, "node_modules/get-caller-file": { "version": "2.0.5", + "dev": true, "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" @@ -10215,6 +10416,7 @@ }, "node_modules/get-package-type": { "version": "0.1.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8.0.0" @@ -10320,6 +10522,7 @@ "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, "engines": { "node": ">=4" } @@ -10812,6 +11015,7 @@ }, "node_modules/html-escaper": { "version": "2.0.2", + "dev": true, "license": "MIT" }, "node_modules/http-cache-semantics": { @@ -10922,6 +11126,7 @@ }, "node_modules/import-local": { "version": "3.1.0", + "dev": true, "license": "MIT", "dependencies": { "pkg-dir": "^4.2.0", @@ -11176,6 +11381,7 @@ }, "node_modules/is-arguments": { "version": "1.1.1", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -11376,6 +11582,7 @@ }, "node_modules/is-generator-fn": { "version": "2.1.0", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -11453,7 +11660,8 @@ }, "node_modules/is-number": { "version": "7.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "engines": { "node": ">=0.12.0" } @@ -11701,6 +11909,7 @@ }, "node_modules/istanbul-lib-coverage": { "version": "3.2.2", + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=8" @@ -11708,6 +11917,7 @@ }, "node_modules/istanbul-lib-instrument": { "version": "6.0.2", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@babel/core": "^7.23.9", @@ -11722,6 +11932,7 @@ }, "node_modules/istanbul-lib-report": { "version": "3.0.1", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "istanbul-lib-coverage": "^3.0.0", @@ -11734,6 +11945,7 @@ }, "node_modules/istanbul-lib-report/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -11741,6 +11953,7 @@ }, "node_modules/istanbul-lib-report/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -11751,6 +11964,7 @@ }, "node_modules/istanbul-lib-source-maps": { "version": "4.0.1", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "debug": "^4.1.1", @@ -11763,6 +11977,7 @@ }, "node_modules/istanbul-reports": { "version": "3.1.7", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "html-escaper": "^2.0.0", @@ -11801,6 +12016,7 @@ }, "node_modules/jest": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/core": "^29.7.0", @@ -11825,6 +12041,7 @@ }, "node_modules/jest-changed-files": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "execa": "^5.0.0", @@ -11837,6 +12054,7 @@ }, "node_modules/jest-circus": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/environment": "^29.7.0", @@ -11866,6 +12084,7 @@ }, "node_modules/jest-circus/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -11879,6 +12098,7 @@ }, "node_modules/jest-circus/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -11893,6 +12113,7 @@ }, "node_modules/jest-circus/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -11903,10 +12124,12 @@ }, "node_modules/jest-circus/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-circus/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -11914,6 +12137,7 @@ }, "node_modules/jest-circus/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -11924,6 +12148,7 @@ }, "node_modules/jest-cli": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/core": "^29.7.0", @@ -11955,6 +12180,7 @@ }, "node_modules/jest-cli/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -11968,6 +12194,7 @@ }, "node_modules/jest-cli/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -11982,6 +12209,7 @@ }, "node_modules/jest-cli/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -11992,10 +12220,12 @@ }, "node_modules/jest-cli/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-cli/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12003,6 +12233,7 @@ }, "node_modules/jest-cli/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12013,6 +12244,7 @@ }, "node_modules/jest-config": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", @@ -12056,6 +12288,7 @@ }, "node_modules/jest-config/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -12069,6 +12302,7 @@ }, "node_modules/jest-config/node_modules/brace-expansion": { "version": "1.1.11", + "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -12077,6 +12311,7 @@ }, "node_modules/jest-config/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -12091,6 +12326,7 @@ }, "node_modules/jest-config/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -12101,10 +12337,12 @@ }, "node_modules/jest-config/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-config/node_modules/glob": { "version": "7.2.3", + "dev": true, "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", @@ -12123,6 +12361,7 @@ }, "node_modules/jest-config/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12130,6 +12369,7 @@ }, "node_modules/jest-config/node_modules/minimatch": { "version": "3.1.2", + "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" @@ -12140,6 +12380,7 @@ }, "node_modules/jest-config/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12150,6 +12391,7 @@ }, "node_modules/jest-diff": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "chalk": "^4.0.0", @@ -12163,6 +12405,7 @@ }, "node_modules/jest-diff/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -12176,6 +12419,7 @@ }, "node_modules/jest-diff/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -12190,6 +12434,7 @@ }, "node_modules/jest-diff/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -12200,10 +12445,12 @@ }, "node_modules/jest-diff/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-diff/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12211,6 +12458,7 @@ }, "node_modules/jest-diff/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12221,6 +12469,7 @@ }, "node_modules/jest-docblock": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "detect-newline": "^3.0.0" @@ -12231,6 +12480,7 @@ }, "node_modules/jest-docblock/node_modules/detect-newline": { "version": "3.1.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12238,6 +12488,7 @@ }, "node_modules/jest-each": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -12252,6 +12503,7 @@ }, "node_modules/jest-each/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -12265,6 +12517,7 @@ }, "node_modules/jest-each/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -12279,6 +12532,7 @@ }, "node_modules/jest-each/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -12289,10 +12543,12 @@ }, "node_modules/jest-each/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-each/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12300,6 +12556,7 @@ }, "node_modules/jest-each/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12336,6 +12593,7 @@ }, "node_modules/jest-environment-node": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/environment": "^29.7.0", @@ -12351,6 +12609,7 @@ }, "node_modules/jest-get-type": { "version": "29.6.3", + "dev": true, "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -12358,6 +12617,7 @@ }, "node_modules/jest-haste-map": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -12381,6 +12641,7 @@ }, "node_modules/jest-leak-detector": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "jest-get-type": "^29.6.3", @@ -12392,6 +12653,7 @@ }, "node_modules/jest-matcher-utils": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "chalk": "^4.0.0", @@ -12405,6 +12667,7 @@ }, "node_modules/jest-matcher-utils/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -12418,6 +12681,7 @@ }, "node_modules/jest-matcher-utils/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -12432,6 +12696,7 @@ }, "node_modules/jest-matcher-utils/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -12442,10 +12707,12 @@ }, "node_modules/jest-matcher-utils/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-matcher-utils/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12453,6 +12720,7 @@ }, "node_modules/jest-matcher-utils/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12463,6 +12731,7 @@ }, "node_modules/jest-message-util": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.12.13", @@ -12481,6 +12750,7 @@ }, "node_modules/jest-message-util/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -12494,6 +12764,7 @@ }, "node_modules/jest-message-util/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -12508,6 +12779,7 @@ }, "node_modules/jest-message-util/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -12518,10 +12790,12 @@ }, "node_modules/jest-message-util/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-message-util/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12529,6 +12803,7 @@ }, "node_modules/jest-message-util/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12539,6 +12814,7 @@ }, "node_modules/jest-mock": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -12551,6 +12827,7 @@ }, "node_modules/jest-pnp-resolver": { "version": "1.2.3", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -12566,6 +12843,7 @@ }, "node_modules/jest-regex-util": { "version": "29.6.3", + "dev": true, "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -12573,6 +12851,7 @@ }, "node_modules/jest-resolve": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "chalk": "^4.0.0", @@ -12591,6 +12870,7 @@ }, "node_modules/jest-resolve-dependencies": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "jest-regex-util": "^29.6.3", @@ -12602,6 +12882,7 @@ }, "node_modules/jest-resolve/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -12615,6 +12896,7 @@ }, "node_modules/jest-resolve/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -12629,6 +12911,7 @@ }, "node_modules/jest-resolve/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -12639,10 +12922,12 @@ }, "node_modules/jest-resolve/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-resolve/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12650,6 +12935,7 @@ }, "node_modules/jest-resolve/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12660,6 +12946,7 @@ }, "node_modules/jest-runner": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/console": "^29.7.0", @@ -12690,6 +12977,7 @@ }, "node_modules/jest-runner/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -12703,6 +12991,7 @@ }, "node_modules/jest-runner/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -12717,6 +13006,7 @@ }, "node_modules/jest-runner/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -12727,10 +13017,12 @@ }, "node_modules/jest-runner/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-runner/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12738,6 +13030,7 @@ }, "node_modules/jest-runner/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12748,6 +13041,7 @@ }, "node_modules/jest-runtime": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/environment": "^29.7.0", @@ -12779,6 +13073,7 @@ }, "node_modules/jest-runtime/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -12792,6 +13087,7 @@ }, "node_modules/jest-runtime/node_modules/brace-expansion": { "version": "1.1.11", + "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -12800,6 +13096,7 @@ }, "node_modules/jest-runtime/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -12814,6 +13111,7 @@ }, "node_modules/jest-runtime/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -12824,10 +13122,12 @@ }, "node_modules/jest-runtime/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-runtime/node_modules/glob": { "version": "7.2.3", + "dev": true, "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", @@ -12846,6 +13146,7 @@ }, "node_modules/jest-runtime/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12853,6 +13154,7 @@ }, "node_modules/jest-runtime/node_modules/minimatch": { "version": "3.1.2", + "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" @@ -12863,6 +13165,7 @@ }, "node_modules/jest-runtime/node_modules/strip-bom": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12870,6 +13173,7 @@ }, "node_modules/jest-runtime/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12880,6 +13184,7 @@ }, "node_modules/jest-snapshot": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", @@ -12909,6 +13214,7 @@ }, "node_modules/jest-snapshot/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -12922,6 +13228,7 @@ }, "node_modules/jest-snapshot/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -12936,6 +13243,7 @@ }, "node_modules/jest-snapshot/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -12946,10 +13254,12 @@ }, "node_modules/jest-snapshot/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-snapshot/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -12957,6 +13267,7 @@ }, "node_modules/jest-snapshot/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -12967,6 +13278,7 @@ }, "node_modules/jest-util": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -12982,6 +13294,7 @@ }, "node_modules/jest-util/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -12995,6 +13308,7 @@ }, "node_modules/jest-util/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -13009,6 +13323,7 @@ }, "node_modules/jest-util/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -13019,10 +13334,12 @@ }, "node_modules/jest-util/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-util/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -13030,6 +13347,7 @@ }, "node_modules/jest-util/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -13040,6 +13358,7 @@ }, "node_modules/jest-validate": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", @@ -13055,6 +13374,7 @@ }, "node_modules/jest-validate/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -13068,6 +13388,7 @@ }, "node_modules/jest-validate/node_modules/camelcase": { "version": "6.3.0", + "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -13078,6 +13399,7 @@ }, "node_modules/jest-validate/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -13092,6 +13414,7 @@ }, "node_modules/jest-validate/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -13102,10 +13425,12 @@ }, "node_modules/jest-validate/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-validate/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -13113,6 +13438,7 @@ }, "node_modules/jest-validate/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -13123,6 +13449,7 @@ }, "node_modules/jest-watcher": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/test-result": "^29.7.0", @@ -13140,6 +13467,7 @@ }, "node_modules/jest-watcher/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -13153,6 +13481,7 @@ }, "node_modules/jest-watcher/node_modules/chalk": { "version": "4.1.2", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", @@ -13167,6 +13496,7 @@ }, "node_modules/jest-watcher/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -13177,10 +13507,12 @@ }, "node_modules/jest-watcher/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/jest-watcher/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -13188,6 +13520,7 @@ }, "node_modules/jest-watcher/node_modules/supports-color": { "version": "7.2.0", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -13198,6 +13531,7 @@ }, "node_modules/jest-worker": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@types/node": "*", @@ -13211,6 +13545,7 @@ }, "node_modules/jest-worker/node_modules/has-flag": { "version": "4.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -13218,6 +13553,7 @@ }, "node_modules/jest-worker/node_modules/supports-color": { "version": "8.1.1", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -13333,6 +13669,7 @@ }, "node_modules/jsesc": { "version": "2.5.2", + "dev": true, "license": "MIT", "bin": { "jsesc": "bin/jsesc" @@ -13364,6 +13701,7 @@ }, "node_modules/json5": { "version": "2.2.3", + "dev": true, "license": "MIT", "bin": { "json5": "lib/cli.js" @@ -13429,6 +13767,7 @@ }, "node_modules/kleur": { "version": "3.0.3", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -13455,6 +13794,7 @@ }, "node_modules/leven": { "version": "3.1.0", + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -13791,6 +14131,7 @@ }, "node_modules/lodash": { "version": "4.17.21", + "dev": true, "license": "MIT" }, "node_modules/lodash.get": { @@ -13800,6 +14141,7 @@ }, "node_modules/lodash.memoize": { "version": "4.1.2", + "dev": true, "license": "MIT" }, "node_modules/lodash.merge": { @@ -14041,6 +14383,7 @@ }, "node_modules/lru-cache": { "version": "5.1.1", + "dev": true, "license": "ISC", "dependencies": { "yallist": "^3.0.2" @@ -14048,6 +14391,7 @@ }, "node_modules/lz-string": { "version": "1.5.0", + "dev": true, "license": "MIT", "bin": { "lz-string": "bin/bin.js" @@ -14055,6 +14399,7 @@ }, "node_modules/make-dir": { "version": "4.0.0", + "dev": true, "license": "MIT", "dependencies": { "semver": "^7.5.3" @@ -14068,6 +14413,7 @@ }, "node_modules/make-error": { "version": "1.3.6", + "dev": true, "license": "ISC" }, "node_modules/make-fetch-happen": { @@ -14163,6 +14509,7 @@ }, "node_modules/makeerror": { "version": "1.0.12", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "tmpl": "1.0.5" @@ -15308,6 +15655,7 @@ }, "node_modules/min-indent": { "version": "1.0.1", + "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -15687,6 +16035,7 @@ }, "node_modules/node-int64": { "version": "0.4.0", + "dev": true, "license": "MIT" }, "node_modules/node-plop": { @@ -15872,6 +16221,7 @@ }, "node_modules/node-releases": { "version": "2.0.14", + "dev": true, "license": "MIT" }, "node_modules/normalize-path": { @@ -15920,6 +16270,7 @@ }, "node_modules/object-is": { "version": "1.1.6", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.7", @@ -16476,6 +16827,7 @@ }, "node_modules/pirates": { "version": "4.0.6", + "dev": true, "license": "MIT", "engines": { "node": ">= 6" @@ -16483,6 +16835,7 @@ }, "node_modules/pkg-dir": { "version": "4.2.0", + "dev": true, "license": "MIT", "dependencies": { "find-up": "^4.0.0" @@ -16493,6 +16846,7 @@ }, "node_modules/pkg-dir/node_modules/find-up": { "version": "4.1.0", + "dev": true, "license": "MIT", "dependencies": { "locate-path": "^5.0.0", @@ -16504,6 +16858,7 @@ }, "node_modules/pkg-dir/node_modules/locate-path": { "version": "5.0.0", + "dev": true, "license": "MIT", "dependencies": { "p-locate": "^4.1.0" @@ -16514,6 +16869,7 @@ }, "node_modules/pkg-dir/node_modules/p-limit": { "version": "2.3.0", + "dev": true, "license": "MIT", "dependencies": { "p-try": "^2.0.0" @@ -16527,6 +16883,7 @@ }, "node_modules/pkg-dir/node_modules/p-locate": { "version": "4.1.0", + "dev": true, "license": "MIT", "dependencies": { "p-limit": "^2.2.0" @@ -16662,6 +17019,7 @@ }, "node_modules/pretty-format": { "version": "29.7.0", + "dev": true, "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", @@ -16674,6 +17032,7 @@ }, "node_modules/pretty-format/node_modules/ansi-styles": { "version": "5.2.0", + "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -16684,6 +17043,7 @@ }, "node_modules/pretty-format/node_modules/react-is": { "version": "18.2.0", + "dev": true, "license": "MIT" }, "node_modules/prismjs": { @@ -16714,6 +17074,7 @@ }, "node_modules/prompts": { "version": "2.4.2", + "dev": true, "license": "MIT", "dependencies": { "kleur": "^3.0.3", @@ -16983,6 +17344,7 @@ }, "node_modules/pure-rand": { "version": "6.1.0", + "dev": true, "funding": [ { "type": "individual", @@ -17306,6 +17668,7 @@ }, "node_modules/redent": { "version": "3.0.0", + "dev": true, "license": "MIT", "dependencies": { "indent-string": "^4.0.0", @@ -17626,6 +17989,7 @@ }, "node_modules/require-directory": { "version": "2.1.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -17661,6 +18025,7 @@ }, "node_modules/resolve-cwd": { "version": "3.0.0", + "dev": true, "license": "MIT", "dependencies": { "resolve-from": "^5.0.0" @@ -17671,6 +18036,7 @@ }, "node_modules/resolve-cwd/node_modules/resolve-from": { "version": "5.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -17692,6 +18058,7 @@ }, "node_modules/resolve.exports": { "version": "2.0.2", + "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -18149,6 +18516,7 @@ }, "node_modules/sisteransi": { "version": "1.0.5", + "dev": true, "license": "MIT" }, "node_modules/slash": { @@ -18242,6 +18610,7 @@ }, "node_modules/source-map": { "version": "0.6.1", + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -18256,6 +18625,7 @@ }, "node_modules/source-map-support": { "version": "0.5.13", + "dev": true, "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", @@ -18308,6 +18678,7 @@ }, "node_modules/stack-utils": { "version": "2.0.6", + "dev": true, "license": "MIT", "dependencies": { "escape-string-regexp": "^2.0.0" @@ -18318,6 +18689,7 @@ }, "node_modules/stack-utils/node_modules/escape-string-regexp": { "version": "2.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -18325,6 +18697,7 @@ }, "node_modules/stop-iteration-iterator": { "version": "1.0.0", + "dev": true, "license": "MIT", "dependencies": { "internal-slot": "^1.0.4" @@ -18356,6 +18729,7 @@ }, "node_modules/string-length": { "version": "4.0.2", + "dev": true, "license": "MIT", "dependencies": { "char-regex": "^1.0.2", @@ -18533,6 +18907,7 @@ }, "node_modules/strip-indent": { "version": "3.0.0", + "dev": true, "license": "MIT", "dependencies": { "min-indent": "^1.0.0" @@ -18722,6 +19097,7 @@ }, "node_modules/test-exclude": { "version": "6.0.0", + "dev": true, "license": "ISC", "dependencies": { "@istanbuljs/schema": "^0.1.2", @@ -18734,6 +19110,7 @@ }, "node_modules/test-exclude/node_modules/brace-expansion": { "version": "1.1.11", + "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -18742,6 +19119,7 @@ }, "node_modules/test-exclude/node_modules/glob": { "version": "7.2.3", + "dev": true, "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", @@ -18760,6 +19138,7 @@ }, "node_modules/test-exclude/node_modules/minimatch": { "version": "3.1.2", + "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" @@ -18835,6 +19214,7 @@ }, "node_modules/tmpl": { "version": "1.0.5", + "dev": true, "license": "BSD-3-Clause" }, "node_modules/to-fast-properties": { @@ -18846,7 +19226,8 @@ }, "node_modules/to-regex-range": { "version": "5.0.1", - "license": "MIT", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dependencies": { "is-number": "^7.0.0" }, @@ -18952,6 +19333,7 @@ }, "node_modules/ts-jest": { "version": "29.1.2", + "dev": true, "license": "MIT", "dependencies": { "bs-logger": "0.x", @@ -18993,7 +19375,7 @@ }, "node_modules/ts-node": { "version": "10.9.2", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "@cspotcode/source-map-support": "^0.8.0", @@ -19183,6 +19565,7 @@ }, "node_modules/type-detect": { "version": "4.0.8", + "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -19504,6 +19887,7 @@ }, "node_modules/update-browserslist-db": { "version": "1.0.13", + "dev": true, "funding": [ { "type": "opencollective", @@ -19663,11 +20047,12 @@ }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/v8-to-istanbul": { "version": "9.2.0", + "dev": true, "license": "ISC", "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", @@ -19785,6 +20170,7 @@ }, "node_modules/walker": { "version": "1.0.8", + "dev": true, "license": "Apache-2.0", "dependencies": { "makeerror": "1.0.12" @@ -19859,9 +20245,10 @@ } }, "node_modules/webpack-bundle-analyzer/node_modules/ws": { - "version": "7.5.9", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "dev": true, - "license": "MIT", "engines": { "node": ">=8.3.0" }, @@ -20131,6 +20518,7 @@ }, "node_modules/write-file-atomic": { "version": "4.0.2", + "dev": true, "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", @@ -20141,9 +20529,10 @@ } }, "node_modules/ws": { - "version": "8.16.0", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", "dev": true, - "license": "MIT", "engines": { "node": ">=10.0.0" }, @@ -20200,6 +20589,7 @@ }, "node_modules/y18n": { "version": "5.0.8", + "dev": true, "license": "ISC", "engines": { "node": ">=10" @@ -20207,6 +20597,7 @@ }, "node_modules/yallist": { "version": "3.1.1", + "dev": true, "license": "ISC" }, "node_modules/yaml": { @@ -20218,6 +20609,7 @@ }, "node_modules/yargs": { "version": "17.7.2", + "dev": true, "license": "MIT", "dependencies": { "cliui": "^8.0.1", @@ -20234,6 +20626,7 @@ }, "node_modules/yargs-parser": { "version": "21.1.1", + "dev": true, "license": "ISC", "engines": { "node": ">=12" @@ -20241,7 +20634,7 @@ }, "node_modules/yn": { "version": "3.1.1", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -20349,6 +20742,7 @@ "packages/jest-presets": { "name": "@scdp/jest-presets", "version": "0.0.0", + "dev": true, "license": "MIT", "dependencies": { "@testing-library/jest-dom": "^6.4.2", diff --git a/package.json b/package.json index 2ea9b5bf1..e4cc7c6d8 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "start": "dotenvx run --env-file=.env --env-file=.env.local -q -- turbo start", "lint": "turbo lint", "format": "prettier --write \"**/*.{ts,tsx,md}\"", - "test": "turbo run test", "clean": "npm exec --workspaces -- shx rm -rf node_modules .next .turbo coverage dist compiled build-next-static build-storybook-static && shx rm -rf node_modules && shx echo Done!", "remove-turbo-cache": "shx rm -rf ./node_modules/.cache/turbo", "update-dependencies": "turbo update-dependencies && npx npm-check-updates -u" diff --git a/packages/jest-presets/browser/jest-preset.js b/packages/jest-presets/browser/jest-preset.js deleted file mode 100644 index c8c926630..000000000 --- a/packages/jest-presets/browser/jest-preset.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = { - roots: [""], - testEnvironment: "jsdom", - transform: { - "^.+\\.tsx?$": "ts-jest", - }, - moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], - modulePathIgnorePatterns: [ - "/test/__fixtures__", - "/node_modules", - "/dist", - ], - preset: "ts-jest", - -}; diff --git a/packages/jest-presets/jest.setup.js b/packages/jest-presets/jest.setup.js deleted file mode 100644 index 0f4bb2cf7..000000000 --- a/packages/jest-presets/jest.setup.js +++ /dev/null @@ -1,2 +0,0 @@ -import '@testing-library/jest-dom' -import '@testing-library/react' \ No newline at end of file diff --git a/packages/jest-presets/node/jest-preset.js b/packages/jest-presets/node/jest-preset.js deleted file mode 100644 index b6c259304..000000000 --- a/packages/jest-presets/node/jest-preset.js +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = { - roots: [""], - transform: { - "^.+\\.tsx?$": "ts-jest", - }, - moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], - modulePathIgnorePatterns: [ - "/test/__fixtures__", - "/node_modules", - "/dist", - ], - preset: "ts-jest", -}; diff --git a/packages/jest-presets/package.json b/packages/jest-presets/package.json deleted file mode 100644 index d3343ff31..000000000 --- a/packages/jest-presets/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "@scdp/jest-presets", - "version": "0.0.0", - "private": true, - "license": "MIT", - "files": [ - "browser/jest-preset.js", - "node/jest-preset.js" - ], - "dependencies": { - "ts-jest": "^29.1.2", - "@testing-library/jest-dom": "^6.4.2", - "@testing-library/react": "^14.2.2" - }, - "devDependencies": { - "jest-environment-jsdom": "^29.7.0" - - } -} From 04ed7e1cd4b4fc5badb1c210bc3ffbbe71db320a Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Thu, 11 Jul 2024 16:25:17 +0200 Subject: [PATCH 06/15] chore: Update npm dependencies to latest versions --- apps/devportal/package.json | 1 - package-lock.json | 16 ++++++++-------- packages/changelog/package.json | 1 - packages/eslint-config/package.json | 2 +- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/apps/devportal/package.json b/apps/devportal/package.json index aa074172e..b270dd934 100644 --- a/apps/devportal/package.json +++ b/apps/devportal/package.json @@ -35,7 +35,6 @@ "@nikolovlazar/chakra-ui-prose": "^1.2.1", "@remark-embedder/core": "^3.0.2", "@remark-embedder/transformer-oembed": "^3.0.0", - "@scdp/ui": "*", "@sitecore-search/react": "^2.5.2", "@sitecore-search/ui": "^2.5.2", "@sitecore/engage": "^1.4.3", diff --git a/package-lock.json b/package-lock.json index 73b148cea..c8ea475d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,6 @@ "@nikolovlazar/chakra-ui-prose": "^1.2.1", "@remark-embedder/core": "^3.0.2", "@remark-embedder/transformer-oembed": "^3.0.0", - "@scdp/ui": "*", "@sitecore-search/react": "^2.5.2", "@sitecore-search/ui": "^2.5.2", "@sitecore/blok-theme": "^1.1.11", @@ -11469,11 +11468,12 @@ } }, "node_modules/eslint-config-turbo": { - "version": "1.13.2", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/eslint-config-turbo/-/eslint-config-turbo-2.0.6.tgz", + "integrity": "sha512-PkRjFnZUZWPcrYT4Xoi5OWOUtnn6xVGh88I6TsayiH4AQZuLs/MDmzfJRK+PiWIrI7Q7sbsVEQP+nUyyRE3uAw==", "dev": true, - "license": "MPL-2.0", "dependencies": { - "eslint-plugin-turbo": "1.13.2" + "eslint-plugin-turbo": "2.0.6" }, "peerDependencies": { "eslint": ">6.6.0" @@ -11875,9 +11875,10 @@ } }, "node_modules/eslint-plugin-turbo": { - "version": "1.13.2", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/eslint-plugin-turbo/-/eslint-plugin-turbo-2.0.6.tgz", + "integrity": "sha512-yGnpMvyBxI09ZrF5bGpaniBz57MiExTCsRnNxP+JnbMFD+xU3jG3ukRzehVol8LYNdC/G7E4HoH+x7OEpoSGAQ==", "dev": true, - "license": "MPL-2.0", "dependencies": { "dotenv": "16.0.3" }, @@ -23426,7 +23427,6 @@ "@graphql-codegen/client-preset": "^4.3.2", "@parcel/watcher": "^2.4.1", "@scdp/eslint-config": "*", - "@scdp/jest-presets": "*", "@scdp/typescript-config": "*", "@tiptap/core": "latest", "@turbo/gen": "^1.13.2", @@ -23495,7 +23495,7 @@ "@typescript-eslint/parser": "^7.5.0", "eslint-config-next": "latest", "eslint-config-prettier": "^9.1.0", - "eslint-config-turbo": "^1.13.2", + "eslint-config-turbo": "latest", "eslint-plugin-jest": "^27.9.0", "eslint-plugin-only-warn": "^1.1.0", "eslint-plugin-react": "^7.34.1", diff --git a/packages/changelog/package.json b/packages/changelog/package.json index 819984dc2..82991f6a5 100644 --- a/packages/changelog/package.json +++ b/packages/changelog/package.json @@ -19,7 +19,6 @@ "@graphql-codegen/client-preset": "^4.3.2", "@parcel/watcher": "^2.4.1", "@scdp/eslint-config": "*", - "@scdp/jest-presets": "*", "@scdp/typescript-config": "*", "@tiptap/core": "latest", "@turbo/gen": "^1.13.2", diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 0fcd59a5d..f1ee2c1f0 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -8,7 +8,7 @@ "react-internal.js" ], "devDependencies": { - "eslint-config-turbo": "^1.13.2", + "eslint-config-turbo": "latest", "eslint-config-prettier": "^9.1.0", "eslint-plugin-only-warn": "^1.1.0", "eslint-plugin-jest": "^27.9.0", From 66f388fe2ed0e857cb69d1ca457efcfd79b3bb3f Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Fri, 12 Jul 2024 00:21:55 +0200 Subject: [PATCH 07/15] handle env vars for changelog --- apps/devportal/src/lib/changelog/changelog.ts | 8 ++++---- apps/devportal/src/lib/page-info.ts | 5 ++++- apps/devportal/turbo.json | 8 ++++---- packages/changelog/src/changelog.ts | 2 ++ packages/changelog/src/types/changeLogEntry.ts | 4 ++-- 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/apps/devportal/src/lib/changelog/changelog.ts b/apps/devportal/src/lib/changelog/changelog.ts index aa6df1781..8cc0dbb20 100644 --- a/apps/devportal/src/lib/changelog/changelog.ts +++ b/apps/devportal/src/lib/changelog/changelog.ts @@ -8,12 +8,12 @@ export const entriesApiUrl = '/api/changelog/v1'; export function getChangelogCredentials(): ChangelogCredentials { return { production: { - endpoint: process.env.SITECORE_CHONE_ENDPOINT_DELIVERY as string, - token: process.env.SITECORE_CHONE_AUTH_TOKEN_DELIVERY as string, + endpoint: process.env.NEXT_PUBLIC_SITECORE_CHONE_ENDPOINT_DELIVERY as string, + token: process.env.NEXT_PUBLIC_SITECORE_CHONE_AUTH_TOKEN_DELIVERY as string, }, preview: { - endpoint: process.env.SITECORE_CHONE_ENDPOINT_PREVIEW as string, - token: process.env.SITECORE_CHONE_AUTH_TOKEN_PREVIEW as string, + endpoint: process.env.NEXT_PUBLIC_SITECORE_CHONE_ENDPOINT_PREVIEW as string, + token: process.env.NEXT_PUBLIC_SITECORE_CHONE_AUTH_TOKEN_PREVIEW as string, }, }; } diff --git a/apps/devportal/src/lib/page-info.ts b/apps/devportal/src/lib/page-info.ts index d3d215309..90f902c1e 100644 --- a/apps/devportal/src/lib/page-info.ts +++ b/apps/devportal/src/lib/page-info.ts @@ -111,7 +111,10 @@ export const getPageInfo = async (params: string | string[]): Promise { - if (!data.changelog?.results) +export function ParseRawData(data: GetLatestEntriesQuery | null): ChangelogEntryList { + if (data == null || !data.changelog?.results) return { endCursor: '', hasNext: false, From 0f479ecf43a1c4053217973ac76e61fb207a4638 Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Fri, 12 Jul 2024 13:39:30 +0200 Subject: [PATCH 08/15] feat: Add UI for scheduled and in-progress entries --- .../src/components/changelog/ChangeLogItem.tsx | 1 + .../components/changelog/ChangelogItemMeta.tsx | 8 +++----- .../src/pages/changelog/[product]/[entry].tsx | 15 +++++++++++++++ packages/changelog/src/types/changeLogEntry.ts | 2 +- 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/apps/devportal/src/components/changelog/ChangeLogItem.tsx b/apps/devportal/src/components/changelog/ChangeLogItem.tsx index e69f6af83..5d6906e0c 100644 --- a/apps/devportal/src/components/changelog/ChangeLogItem.tsx +++ b/apps/devportal/src/components/changelog/ChangeLogItem.tsx @@ -71,6 +71,7 @@ const ChangeLogItem = ({ item, loading, loadEntries, isLast, isMore }: ChangeLog )} + diff --git a/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx b/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx index e70107172..9e36fbd34 100644 --- a/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx +++ b/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx @@ -2,7 +2,7 @@ import { usePreview } from '@/src/context/PreviewContext'; import { getStatusBadgeColor } from '@/src/lib/changelog/changelog'; import { BoxProps, Button, HStack, Hide, Icon, Link, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, Stack, Tag, Text, Tooltip, chakra, useColorModeValue } from '@chakra-ui/react'; -import { mdiClockOutline, mdiSquareEditOutline } from '@mdi/js'; +import { mdiSquareEditOutline } from '@mdi/js'; import { ChangelogEntry } from '@scdp/changelog/types'; import { getSlug } from '@scdp/changelog/utils'; import Image from 'next/image'; @@ -86,10 +86,8 @@ export const ChangelogItemMeta = ({ item, ...rest }: ChangelogItemMetaProps) => )} {item.scheduled && ( - - - - + + Scheduled )} {!item.scheduled && item.status && item.status.identifier == 'in-progress' && ( diff --git a/apps/devportal/src/pages/changelog/[product]/[entry].tsx b/apps/devportal/src/pages/changelog/[product]/[entry].tsx index 7e43f703a..e03a4ed60 100644 --- a/apps/devportal/src/pages/changelog/[product]/[entry].tsx +++ b/apps/devportal/src/pages/changelog/[product]/[entry].tsx @@ -5,6 +5,9 @@ import { ButtonLink } from '@/src/components/links'; import { SocialShare } from '@/src/components/social'; import { getChangelogCredentials } from '@/src/lib/changelog/changelog'; import { + Alert, + AlertDescription, + AlertIcon, Breadcrumb, BreadcrumbItem, BreadcrumbLink, @@ -115,6 +118,18 @@ const ChangelogProduct = ({ currentProduct, changelogEntry }: ChangelogProps) => + {changelogEntry.scheduled && ( + + + This functionality has not been released yet + + )} + {!changelogEntry.scheduled && changelogEntry.status && changelogEntry.status.identifier == 'in-progress' && ( + + + This functionality currently being deployed and might not be available to all customers yet + + )} {changelogEntry.image.length > 0 && ( diff --git a/packages/changelog/src/types/changeLogEntry.ts b/packages/changelog/src/types/changeLogEntry.ts index cf42b7e05..26a802151 100644 --- a/packages/changelog/src/types/changeLogEntry.ts +++ b/packages/changelog/src/types/changeLogEntry.ts @@ -78,7 +78,7 @@ export function parseChangeLogItem(changelog: any): ChangelogEntry { darkIcon: changelog.sitecoreProduct.results[0]?.darkIcon, productName: changelog.sitecoreProduct.results[0]?.productName ?? null, products: changelog.sitecoreProduct.results ?? null, - status: changelog.status.results[0] ? changelog.status.results[0] : DefaultStatus, + status: changelog.scheduled == true ? null : changelog.status.results[0] ? changelog.status.results[0] : DefaultStatus, changeTypeName: changelog.changeType.results[0]?.changeType ?? null, }; } From a3136771a618bed13d9e2a79e45e3efddf6acd1a Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Fri, 12 Jul 2024 15:53:06 +0200 Subject: [PATCH 09/15] Add date to the URL to prevent conflicts with changelog entries with the same title --- apps/devportal/src/lib/utils/dateUtil.ts | 15 ++ apps/devportal/src/lib/utils/urlUtil.ts | 4 +- .../[product]/{[entry].tsx => [...entry].tsx} | 8 +- packages/changelog/src/changelog.ts | 28 +++- .../getCustomEntryByTitleAndDateQuery.ts | 148 ++++++++++++++++++ ...eries.ts => getCustomEntryByTitleQuery.ts} | 0 6 files changed, 196 insertions(+), 7 deletions(-) rename apps/devportal/src/pages/changelog/[product]/{[entry].tsx => [...entry].tsx} (93%) create mode 100644 packages/changelog/src/gql/custom/getCustomEntryByTitleAndDateQuery.ts rename packages/changelog/src/gql/custom/{queries.ts => getCustomEntryByTitleQuery.ts} (100%) diff --git a/apps/devportal/src/lib/utils/dateUtil.ts b/apps/devportal/src/lib/utils/dateUtil.ts index e0dbc6ef5..d499ac092 100644 --- a/apps/devportal/src/lib/utils/dateUtil.ts +++ b/apps/devportal/src/lib/utils/dateUtil.ts @@ -16,3 +16,18 @@ export const translateDateAsYearMonth = (dateString: string): string => { year: 'numeric', }).format(date); }; + +function padTo2Digits(num: number): string { + return num.toString().padStart(2, '0'); +} + +export function formatDate(date: Date | string): string { + if (typeof date === 'string') { + date = new Date(date); + } + const day = padTo2Digits(date.getDate()); + const month = padTo2Digits(date.getMonth() + 1); // Months are zero-indexed + const year = date.getFullYear(); + + return `${day}${month}${year}`; +} \ No newline at end of file diff --git a/apps/devportal/src/lib/utils/urlUtil.ts b/apps/devportal/src/lib/utils/urlUtil.ts index 67f49bf48..efd2f25fc 100644 --- a/apps/devportal/src/lib/utils/urlUtil.ts +++ b/apps/devportal/src/lib/utils/urlUtil.ts @@ -1,5 +1,6 @@ import { ChangelogEntry, ChangelogEntrySummary } from '@scdp/changelog/types'; import { slugify } from '@scdp/changelog/utils'; +import { formatDate } from './dateUtil'; const publicUrl = process.env.NEXT_PUBLIC_PUBLIC_URL ? process.env.NEXT_PUBLIC_PUBLIC_URL : ''; @@ -7,7 +8,8 @@ export function getChangelogEntryUrlSegments(entry: ChangelogEntry | ChangelogEn const segments: string[] = []; segments.push(slugify(entry.productName ?? entry.title)); - //segments.push(slugify(entry.changeTypeName)); + // Add date to the URL to prevent conflicts with entries with the same title + segments.push(formatDate(entry.releaseDate)); segments.push(`${slugify(entry.title)}`); return segments; diff --git a/apps/devportal/src/pages/changelog/[product]/[entry].tsx b/apps/devportal/src/pages/changelog/[product]/[...entry].tsx similarity index 93% rename from apps/devportal/src/pages/changelog/[product]/[entry].tsx rename to apps/devportal/src/pages/changelog/[product]/[...entry].tsx index e03a4ed60..651f949b3 100644 --- a/apps/devportal/src/pages/changelog/[product]/[entry].tsx +++ b/apps/devportal/src/pages/changelog/[product]/[...entry].tsx @@ -36,7 +36,7 @@ import { import { Prose } from '@nikolovlazar/chakra-ui-prose'; import { Changelog } from '@scdp/changelog'; import { ChangelogEntry, Product } from '@scdp/changelog/types'; -import { getChangelogEntryUrl, getSlug, slugify } from '@scdp/changelog/utils'; +import { getChangelogEntryUrl, getQueryArray, getSlug, slugify } from '@scdp/changelog/utils'; import ChangelogByMonth from '@src/components/changelog/ChangelogByMonth'; import { ChangelogItemMeta } from '@src/components/changelog/ChangelogItemMeta'; import Layout from '@src/layouts/Layout'; @@ -49,7 +49,8 @@ type ChangelogProps = { export async function getServerSideProps(context: any) { const product = context.params.product; - const entry = context.params.entry; + const entry = getQueryArray(context.params.entry); + const isPreview = context.preview || false; const changelog = new Changelog(getChangelogCredentials(), isPreview); @@ -58,9 +59,8 @@ export async function getServerSideProps(context: any) { }); let changelogEntry; const currentProduct: Product | undefined = products.find((p) => slugify(p.name) == product); - try { - changelogEntry = await changelog.getEntryByTitle(entry, currentProduct?.id); + changelogEntry = entry.length == 2 ? await changelog.getEntryByTitleAndDate(entry[1], entry[0], currentProduct?.id) : await changelog.getEntryByTitle(entry[0], currentProduct?.id); } catch { return { notFound: true, diff --git a/packages/changelog/src/changelog.ts b/packages/changelog/src/changelog.ts index 09e06a6c5..38aea8d1d 100644 --- a/packages/changelog/src/changelog.ts +++ b/packages/changelog/src/changelog.ts @@ -1,4 +1,5 @@ -import { getCustomEntryByTitleQuery } from './gql/custom/queries'; +import { getCustomEntryByTitleAndDateQuery, SearchByTitleAndDateQuery, SearchByTitleAndDateQueryVariables } from './gql/custom/getCustomEntryByTitleAndDateQuery'; +import { getCustomEntryByTitleQuery } from './gql/custom/getCustomEntryByTitleQuery'; import { GetAllChangetypesDocument, GetAllChangetypesQuery, @@ -26,7 +27,7 @@ import { } from './gql/generated/graphql'; import { fetchGraphQL } from './lib/common/fetch'; import { ParseStatus, Status } from './types'; -import { ChangelogEntry, ChangelogEntryList, ParseRawData, parseChangeLogItem } from './types/changeLogEntry'; +import { ChangelogEntry, ChangelogEntryList, parseChangeLogItem, ParseRawData } from './types/changeLogEntry'; import { ChangeType, ParseChangeType } from './types/changeType'; import { ChangelogCredentials } from './types/changelog'; import { ParseProduct, Product } from './types/product'; @@ -44,6 +45,29 @@ export class Changelog { return this.getEntries({ pageSize: 10 }); } + async getEntryByTitleAndDate(entryTitle: string, date: string, productId?: string): Promise { + const day = parseInt(date.substring(0, 2), 10); + const month = parseInt(date.substring(2, 4), 10) - 1; + const year = parseInt(date.substring(4), 10); + + const parsedDate = new Date(year, month, day); + + const _startDate = new Date(parsedDate); + _startDate.setDate(parsedDate.getDate() - 1); + + const _endDate = new Date(parsedDate); + _endDate.setDate(parsedDate.getDate() + 1); + + const CustomEntryByTitleDocument = getCustomEntryByTitleAndDateQuery(entryTitle); + const response = await fetchGraphQL(CustomEntryByTitleDocument, this.credentials, this.isPreview, { + startDate: _startDate, + endDate: _endDate, + productId: productId ? [productId] : [], + }); + console.log(productId); + return parseChangeLogItem(response.data.data.results[0]); + } + async getEntryByTitle(entryTitle: string, productId?: string): Promise { const CustomEntryByTitleDocument = getCustomEntryByTitleQuery(entryTitle); const response = await fetchGraphQL(CustomEntryByTitleDocument, this.credentials, this.isPreview, { diff --git a/packages/changelog/src/gql/custom/getCustomEntryByTitleAndDateQuery.ts b/packages/changelog/src/gql/custom/getCustomEntryByTitleAndDateQuery.ts new file mode 100644 index 000000000..5148166c6 --- /dev/null +++ b/packages/changelog/src/gql/custom/getCustomEntryByTitleAndDateQuery.ts @@ -0,0 +1,148 @@ +import { Exact, InputMaybe, Scalars, TypedDocumentString } from '../generated/graphql'; + +export function getCustomEntryByTitleAndDateQuery(entryTitle: string): TypedDocumentString { + let whereClauseSearchTerm = ''; + + const searchArray = entryTitle.split('-'); + + if (searchArray.length > 0) { + whereClauseSearchTerm += `AND: [`; + searchArray.forEach((term: string) => { + whereClauseSearchTerm += `{title_contains: "${term}"}`; + }); + whereClauseSearchTerm += `]`; + } + + const query = new TypedDocumentString(` + query searchByTitle($startDate: DateTime!, $endDate: DateTime!, $productId: [ID]) { + data: allChangelog( + first: 1 + where: { + releaseDate_between: [$startDate, $endDate] + sitecoreProduct: { changelog_ids: $productId } + ${whereClauseSearchTerm} + } + ) { + pageInfo { + hasNext + endCursor + } + total + results { + ...changelogEntry + } + } +} + fragment changeType on Changetype { + id + name + changeType +} +fragment changelogEntry on Changelog { + id + name + title + description + fullArticle + readMoreLink + breakingChange + version + releaseDate + scheduled + image { + total + results { + ...media + } + } + sitecoreProduct { + total + results { + ...product + } + } + changeType { + total + results { + ...changeType + } + } + status { + total + results { + ...status + } + } +} +fragment media on Media { + id + name + fileName + fileUrl + description + fileWidth + fileHeight + fileId + fileSize + fileType +} +fragment product on SitecoreProduct { + id + name + productName + productDescription + darkIcon: productIconDark + lightIcon: productIconLight +} +fragment status on Status { + id + name + description + identifier +}`) as unknown as TypedDocumentString; + + return query; +} + +export type SearchByTitleAndDateQueryVariables = Exact<{ + startDate: InputMaybe; + endDate: InputMaybe; + productId: InputMaybe> | InputMaybe>; +}>; + +export type SearchByTitleAndDateQuery = { + data: { + total: number | null; + pageInfo: { hasNext: boolean | null; endCursor: string | null } | null; + results: Array<{ + id: string | null; + name: string | null; + title: string | null; + description: any | null; + fullArticle: any | null; + readMoreLink: string | null; + breakingChange: boolean | null; + version: string | null; + releaseDate: Date | null; + scheduled: boolean | null; + image: { + total: number | null; + results: Array<{ + id: string | null; + name: string | null; + fileName: string | null; + fileUrl: string | null; + description: string | null; + fileWidth: any | null; + fileHeight: any | null; + fileId: string | null; + fileSize: any | null; + fileType: string | null; + } | null> | null; + }; + sitecoreProduct: { total: number | null; results: Array<{ id: string | null; name: string | null; productName: string | null; productDescription: string | null; darkIcon: string | null; lightIcon: string | null } | {} | null> | null }; + changeType: { total: number | null; results: Array<{ id: string | null; name: string | null; changeType: string | null } | {} | null> | null }; + status: { total: number | null; results: Array<{ id: string | null; name: string | null; description: string | null; identifier: string | null } | null> | null }; + } | null> | null; + } | null; +}; diff --git a/packages/changelog/src/gql/custom/queries.ts b/packages/changelog/src/gql/custom/getCustomEntryByTitleQuery.ts similarity index 100% rename from packages/changelog/src/gql/custom/queries.ts rename to packages/changelog/src/gql/custom/getCustomEntryByTitleQuery.ts From 9ef81dc044887021d3190ff0307c98ec21edb8d1 Mon Sep 17 00:00:00 2001 From: Mark van Aalst Date: Fri, 12 Jul 2024 16:43:47 +0200 Subject: [PATCH 10/15] chore: Refactor ChangelogItemMeta and SocialShare components to fix hydration issues --- .../components/changelog/ChangelogItemMeta.tsx | 14 ++------------ .../src/components/social/SocialShare.tsx | 15 ++++++++------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx b/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx index 9e36fbd34..8cc5b9daf 100644 --- a/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx +++ b/apps/devportal/src/components/changelog/ChangelogItemMeta.tsx @@ -36,13 +36,7 @@ export const ChangelogItemMeta = ({ item, ...rest }: ChangelogItemMetaProps) => {item.products != null && item.products?.length > 1 ? ( - - {item.products != null && ( - - - - )} - + {item.products != null && }