diff --git a/.vscode/settings.json b/.vscode/settings.json index 0b3f03a..845d0dc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -48,5 +48,10 @@ "tailwindCSS.experimental.classRegex": [ ["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], ["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] - ] + ], + + // Typescript settings + // https://gql-tada.0no.co/get-started/installation#vscode-setup + "typescript.tsdk": "node_modules/typescript/lib", + "typescript.enablePromptUseWorkspaceTsdk": true } diff --git a/apps/sfy-chrome-extension/package.json b/apps/sfy-chrome-extension/package.json index 860d018..e4c59f2 100644 --- a/apps/sfy-chrome-extension/package.json +++ b/apps/sfy-chrome-extension/package.json @@ -20,7 +20,7 @@ "dependencies": { "@blgc/utils": "^0.0.18", "@repo/ui": "workspace:*", - "feature-fetch": "^0.0.22", + "feature-fetch": "^0.0.25", "react": "^18.3.1", "react-dom": "^18.3.1" }, diff --git a/apps/sfy-eu-blocks-app/admin-block-extension/package.json b/apps/sfy-eu-blocks-app/admin-block-extension/package.json index 0c01211..faf55f7 100644 --- a/apps/sfy-eu-blocks-app/admin-block-extension/package.json +++ b/apps/sfy-eu-blocks-app/admin-block-extension/package.json @@ -15,7 +15,7 @@ "@shopify/ui-extensions": "2024.7.0", "@shopify/ui-extensions-react": "2024.7.0", "eprel-client": "^0.0.16", - "feature-fetch": "^0.0.22", + "feature-fetch": "^0.0.25", "feature-form": "^0.0.27", "feature-react": "^0.0.23", "react": "^18.3.1", diff --git a/apps/sfy-eu-blocks-app/admin-block-extension/src/environment/config/core-api.config.ts b/apps/sfy-eu-blocks-app/admin-block-extension/src/environment/config/core-api.config.ts index 5be8f2c..a45c49e 100644 --- a/apps/sfy-eu-blocks-app/admin-block-extension/src/environment/config/core-api.config.ts +++ b/apps/sfy-eu-blocks-app/admin-block-extension/src/environment/config/core-api.config.ts @@ -1,3 +1,3 @@ export const coreApiConfig = { - baseUrl: 'https://vip-entering-depot-colorado.trycloudflare.com' // TODO: Find way to sync url from api-core-node + baseUrl: 'https://miracle-translate-contributor-cartridge.trycloudflare.com' // TODO: Find way to sync url from api-core-node }; diff --git a/apps/sfy-eu-blocks-app/admin-block-extension/src/environment/extension/query.ts b/apps/sfy-eu-blocks-app/admin-block-extension/src/environment/extension/query.ts index fb6febc..7584736 100644 --- a/apps/sfy-eu-blocks-app/admin-block-extension/src/environment/extension/query.ts +++ b/apps/sfy-eu-blocks-app/admin-block-extension/src/environment/extension/query.ts @@ -1,12 +1,20 @@ -import { Err, FetchError, Ok, TResult } from 'feature-fetch'; +import { Err, FetchError, getQueryString, Ok, TDocumentInput, TResult } from 'feature-fetch'; import { cx } from './context'; export async function q< - GVariables extends Record, - GSucessResponseData extends Record ->(query: string, variables: GVariables): Promise> { - const result = await cx().query(query, { + GSucessResponseData extends Record, + GVariables extends Record +>( + query: TDocumentInput, + variables: GVariables +): Promise> { + const maybeQueryString = getQueryString(query); + if (maybeQueryString.isErr()) { + return Err(maybeQueryString.error); + } + + const result = await cx().query(maybeQueryString.value, { variables }); diff --git a/apps/sfy-eu-blocks-app/app/shopify.app.toml b/apps/sfy-eu-blocks-app/app/shopify.app.toml index f8c5011..a15c5f0 100644 --- a/apps/sfy-eu-blocks-app/app/shopify.app.toml +++ b/apps/sfy-eu-blocks-app/app/shopify.app.toml @@ -8,7 +8,7 @@ extension_directories = [ ] name = "eu-blocks" handle = "eu-blocks" -application_url = "https://indices-gadgets-seniors-app.trycloudflare.com" +application_url = "https://canon-formed-betting-employees.trycloudflare.com" embedded = true [build] @@ -22,9 +22,9 @@ scopes = "read_files,read_locales,read_products,read_themes,write_files,write_pr [auth] redirect_urls = [ - "https://indices-gadgets-seniors-app.trycloudflare.com/auth/callback", - "https://indices-gadgets-seniors-app.trycloudflare.com/auth/shopify/callback", - "https://indices-gadgets-seniors-app.trycloudflare.com/api/auth/callback" + "https://canon-formed-betting-employees.trycloudflare.com/auth/callback", + "https://canon-formed-betting-employees.trycloudflare.com/auth/shopify/callback", + "https://canon-formed-betting-employees.trycloudflare.com/api/auth/callback" ] [webhooks] diff --git a/apps/sfy-eu-blocks-app/checkout-ui-extension/package.json b/apps/sfy-eu-blocks-app/checkout-ui-extension/package.json index d3d399f..30b31cb 100644 --- a/apps/sfy-eu-blocks-app/checkout-ui-extension/package.json +++ b/apps/sfy-eu-blocks-app/checkout-ui-extension/package.json @@ -14,7 +14,7 @@ "@shopify/ui-extensions": "2024.7.0", "@shopify/ui-extensions-react": "2024.7.0", "eprel-client": "^0.0.16", - "feature-fetch": "^0.0.22", + "feature-fetch": "^0.0.25", "feature-react": "^0.0.23", "feature-state": "^0.0.23", "react": "^18.3.1" diff --git a/apps/sfy-eu-blocks-app/checkout-ui-extension/src/environment/config/core-api.config.ts b/apps/sfy-eu-blocks-app/checkout-ui-extension/src/environment/config/core-api.config.ts index 5be8f2c..a45c49e 100644 --- a/apps/sfy-eu-blocks-app/checkout-ui-extension/src/environment/config/core-api.config.ts +++ b/apps/sfy-eu-blocks-app/checkout-ui-extension/src/environment/config/core-api.config.ts @@ -1,3 +1,3 @@ export const coreApiConfig = { - baseUrl: 'https://vip-entering-depot-colorado.trycloudflare.com' // TODO: Find way to sync url from api-core-node + baseUrl: 'https://miracle-translate-contributor-cartridge.trycloudflare.com' // TODO: Find way to sync url from api-core-node }; diff --git a/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/CheckoutCartLineItem/environment/extension/query.ts b/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/CheckoutCartLineItem/environment/extension/query.ts index fb6febc..7584736 100644 --- a/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/CheckoutCartLineItem/environment/extension/query.ts +++ b/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/CheckoutCartLineItem/environment/extension/query.ts @@ -1,12 +1,20 @@ -import { Err, FetchError, Ok, TResult } from 'feature-fetch'; +import { Err, FetchError, getQueryString, Ok, TDocumentInput, TResult } from 'feature-fetch'; import { cx } from './context'; export async function q< - GVariables extends Record, - GSucessResponseData extends Record ->(query: string, variables: GVariables): Promise> { - const result = await cx().query(query, { + GSucessResponseData extends Record, + GVariables extends Record +>( + query: TDocumentInput, + variables: GVariables +): Promise> { + const maybeQueryString = getQueryString(query); + if (maybeQueryString.isErr()) { + return Err(maybeQueryString.error); + } + + const result = await cx().query(maybeQueryString.value, { variables }); diff --git a/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/OrderSummaryCartLineItem/environment/extension/query.ts b/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/OrderSummaryCartLineItem/environment/extension/query.ts index fb6febc..7584736 100644 --- a/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/OrderSummaryCartLineItem/environment/extension/query.ts +++ b/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/OrderSummaryCartLineItem/environment/extension/query.ts @@ -1,12 +1,20 @@ -import { Err, FetchError, Ok, TResult } from 'feature-fetch'; +import { Err, FetchError, getQueryString, Ok, TDocumentInput, TResult } from 'feature-fetch'; import { cx } from './context'; export async function q< - GVariables extends Record, - GSucessResponseData extends Record ->(query: string, variables: GVariables): Promise> { - const result = await cx().query(query, { + GSucessResponseData extends Record, + GVariables extends Record +>( + query: TDocumentInput, + variables: GVariables +): Promise> { + const maybeQueryString = getQueryString(query); + if (maybeQueryString.isErr()) { + return Err(maybeQueryString.error); + } + + const result = await cx().query(maybeQueryString.value, { variables }); diff --git a/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/ThankYouCartLineItem/environment/extension/query.ts b/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/ThankYouCartLineItem/environment/extension/query.ts index fb6febc..7584736 100644 --- a/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/ThankYouCartLineItem/environment/extension/query.ts +++ b/apps/sfy-eu-blocks-app/checkout-ui-extension/src/extensions/ThankYouCartLineItem/environment/extension/query.ts @@ -1,12 +1,20 @@ -import { Err, FetchError, Ok, TResult } from 'feature-fetch'; +import { Err, FetchError, getQueryString, Ok, TDocumentInput, TResult } from 'feature-fetch'; import { cx } from './context'; export async function q< - GVariables extends Record, - GSucessResponseData extends Record ->(query: string, variables: GVariables): Promise> { - const result = await cx().query(query, { + GSucessResponseData extends Record, + GVariables extends Record +>( + query: TDocumentInput, + variables: GVariables +): Promise> { + const maybeQueryString = getQueryString(query); + if (maybeQueryString.isErr()) { + return Err(maybeQueryString.error); + } + + const result = await cx().query(maybeQueryString.value, { variables }); diff --git a/packages/api-core-client/package.json b/packages/api-core-client/package.json index c136d08..db4aa2a 100644 --- a/packages/api-core-client/package.json +++ b/packages/api-core-client/package.json @@ -27,7 +27,7 @@ }, "homepage": "", "dependencies": { - "feature-fetch": "^0.0.22" + "feature-fetch": "^0.0.25" }, "devDependencies": { "@blgc/config": "^0.0.23", diff --git a/packages/sfy-app-session-storage-api/package.json b/packages/sfy-app-session-storage-api/package.json index 2fe7082..318613c 100644 --- a/packages/sfy-app-session-storage-api/package.json +++ b/packages/sfy-app-session-storage-api/package.json @@ -27,7 +27,7 @@ }, "homepage": "", "dependencies": { - "feature-fetch": "^0.0.22" + "feature-fetch": "^0.0.25" }, "peerDependencies": { "@shopify/shopify-api": "^11.0.0", diff --git a/packages/sfy-utils/.gitignore b/packages/sfy-utils/.gitignore new file mode 100644 index 0000000..b79037c --- /dev/null +++ b/packages/sfy-utils/.gitignore @@ -0,0 +1 @@ +graphql-env.d.ts diff --git a/packages/sfy-utils/package.json b/packages/sfy-utils/package.json index 0d74c1e..e0ee80f 100644 --- a/packages/sfy-utils/package.json +++ b/packages/sfy-utils/package.json @@ -29,7 +29,8 @@ "dependencies": { "@shopify/liquid-html-parser": "^2.0.3", "@shopify/prettier-plugin-liquid": "^1.5.0", - "feature-fetch": "^0.0.22", + "feature-fetch": "^0.0.25", + "gql.tada": "^1.8.7", "prettier": "^3.3.3" }, "devDependencies": { diff --git a/packages/sfy-utils/src/graphql/mutations/create-file.mutation.ts b/packages/sfy-utils/src/graphql/mutations/create-file.mutation.ts index 2e05610..c974e8c 100644 --- a/packages/sfy-utils/src/graphql/mutations/create-file.mutation.ts +++ b/packages/sfy-utils/src/graphql/mutations/create-file.mutation.ts @@ -6,7 +6,7 @@ export async function createFileMutation( variables: TCreateFileMutationVariables, query: TQuery ): Promise> { - return query( + return query( gql` mutation CreateFile($files: [FileCreateInput!]!) { fileCreate(files: $files) { diff --git a/packages/sfy-utils/src/graphql/mutations/delete-metafield.mutation.ts b/packages/sfy-utils/src/graphql/mutations/delete-metafield.mutation.ts index e9758fa..3e8a228 100644 --- a/packages/sfy-utils/src/graphql/mutations/delete-metafield.mutation.ts +++ b/packages/sfy-utils/src/graphql/mutations/delete-metafield.mutation.ts @@ -6,7 +6,7 @@ export async function deleteMetafieldMutation( variables: TDeleteMetafieldMutationVariables, query: TQuery ): Promise> { - return query( + return query( gql` mutation DeleteMetafield($productId: ID!, $namespace: String!, $key: String!) { metafieldsDelete(metafields: [{ ownerId: $productId, namespace: $namespace, key: $key }]) { diff --git a/packages/sfy-utils/src/graphql/mutations/update-metafield.mutation.ts b/packages/sfy-utils/src/graphql/mutations/update-metafield.mutation.ts index ec46ecc..76811ba 100644 --- a/packages/sfy-utils/src/graphql/mutations/update-metafield.mutation.ts +++ b/packages/sfy-utils/src/graphql/mutations/update-metafield.mutation.ts @@ -6,7 +6,7 @@ export async function updateMetafieldMutation( variables: TUpdateMetafieldVariables, query: TQuery ): Promise> { - return query( + return query( gql` mutation UpdateMetafield( $productId: ID! diff --git a/packages/sfy-utils/src/graphql/queries/get-generic-file-urls.query.ts b/packages/sfy-utils/src/graphql/queries/get-generic-file-urls.query.ts index 7eac092..a3b879e 100644 --- a/packages/sfy-utils/src/graphql/queries/get-generic-file-urls.query.ts +++ b/packages/sfy-utils/src/graphql/queries/get-generic-file-urls.query.ts @@ -6,7 +6,7 @@ export async function getGenericFileUrlsQuery( variables: TGetFileUrlsQueryVariables, query: TQuery ): Promise> { - return query( + return query( gql` query GetGenericFileUrls($ids: [ID!]!) { nodes(ids: $ids) { diff --git a/packages/sfy-utils/src/graphql/queries/get-metafield-value.query.ts b/packages/sfy-utils/src/graphql/queries/get-metafield-value.query.ts index 36943e1..dce97dc 100644 --- a/packages/sfy-utils/src/graphql/queries/get-metafield-value.query.ts +++ b/packages/sfy-utils/src/graphql/queries/get-metafield-value.query.ts @@ -6,7 +6,7 @@ export function getMetafieldValueQuery( variables: TGetMetafieldValueQueryVariables, query: TQuery ): Promise> { - return query( + return query( gql` query GetMetafieldValue($productId: ID!, $namespace: String!, $key: String!) { product(id: $productId) { diff --git a/packages/sfy-utils/src/graphql/queries/get-metafield.query.ts b/packages/sfy-utils/src/graphql/queries/get-metafield.query.ts index c420a46..8136d58 100644 --- a/packages/sfy-utils/src/graphql/queries/get-metafield.query.ts +++ b/packages/sfy-utils/src/graphql/queries/get-metafield.query.ts @@ -7,7 +7,7 @@ export function getMetafieldQuery( metafieldKeys: GKeys[], query: TQuery ): Promise, FetchError>> { - return query>( + return query, TGetMetafieldQueryVariables>( gql` query GetMetafield($productId: ID!, $namespace: String!, $key: String!) { product(id: $productId) { diff --git a/packages/sfy-utils/src/graphql/queries/get-shop-locales.query.ts b/packages/sfy-utils/src/graphql/queries/get-shop-locales.query.ts index f65c1e6..9da82db 100644 --- a/packages/sfy-utils/src/graphql/queries/get-shop-locales.query.ts +++ b/packages/sfy-utils/src/graphql/queries/get-shop-locales.query.ts @@ -5,7 +5,7 @@ import { type TQuery } from '../types'; export async function getShopLocalesQuery( query: TQuery ): Promise> { - return query<{}, TGetShopLocalesQueryResponseData>( + return query( gql` query GetShopLocales { shopLocales { diff --git a/packages/sfy-utils/src/graphql/queries/get-theme-file.query.ts b/packages/sfy-utils/src/graphql/queries/get-theme-file.query.ts index e79da7d..4314bb9 100644 --- a/packages/sfy-utils/src/graphql/queries/get-theme-file.query.ts +++ b/packages/sfy-utils/src/graphql/queries/get-theme-file.query.ts @@ -6,7 +6,7 @@ export function getThemeFileQuery( variables: TGetThemeFileQueryVariables, query: TQuery ): Promise> { - return query( + return query( gql` query GetThemeFile($themeId: ID!, $filename: String!) { theme(id: $themeId) { diff --git a/packages/sfy-utils/src/graphql/types.ts b/packages/sfy-utils/src/graphql/types.ts index 240c4d1..a8b3e34 100644 --- a/packages/sfy-utils/src/graphql/types.ts +++ b/packages/sfy-utils/src/graphql/types.ts @@ -1,9 +1,9 @@ -import { type FetchError, type TResult } from 'feature-fetch'; +import { type FetchError, type TDocumentInput, type TResult } from 'feature-fetch'; export type TQuery = < - GVariables extends Record, - GSucessResponseData extends Record + GSucessResponseData extends Record, + GVariables extends Record >( - query: string, + query: TDocumentInput | string, variables: GVariables ) => Promise>; diff --git a/packages/sfy-utils/tsconfig.json b/packages/sfy-utils/tsconfig.json index 88b448b..ea276b9 100644 --- a/packages/sfy-utils/tsconfig.json +++ b/packages/sfy-utils/tsconfig.json @@ -4,7 +4,12 @@ "outDir": "./dist", "rootDir": "./src", "declarationDir": "./dist/types", - "baseUrl": "." + "baseUrl": ".", + "plugins": [{ + "name": "gql.tada/ts-plugin", + "schema": "https://shopify.dev/admin-graphql-direct-proxy/2024-07", + "tadaOutputLocation": "./src/graphql-env.d.ts", + }] }, "include": ["src"] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1e691cc..0fa13ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -101,8 +101,8 @@ importers: specifier: workspace:* version: link:../../packages/ui feature-fetch: - specifier: ^0.0.22 - version: 0.0.22 + specifier: ^0.0.25 + version: 0.0.25 react: specifier: ^18.3.1 version: 18.3.1 @@ -153,8 +153,8 @@ importers: specifier: ^0.0.16 version: 0.0.16 feature-fetch: - specifier: ^0.0.22 - version: 0.0.22 + specifier: ^0.0.25 + version: 0.0.25 feature-form: specifier: ^0.0.27 version: 0.0.27 @@ -266,8 +266,8 @@ importers: specifier: ^0.0.16 version: 0.0.16 feature-fetch: - specifier: ^0.0.22 - version: 0.0.22 + specifier: ^0.0.25 + version: 0.0.25 feature-react: specifier: ^0.0.23 version: 0.0.23(react@18.3.1) @@ -601,8 +601,8 @@ importers: packages/api-core-client: dependencies: feature-fetch: - specifier: ^0.0.22 - version: 0.0.22 + specifier: ^0.0.25 + version: 0.0.25 devDependencies: '@blgc/config': specifier: ^0.0.23 @@ -739,8 +739,8 @@ importers: packages/sfy-app-session-storage-api: dependencies: feature-fetch: - specifier: ^0.0.22 - version: 0.0.22 + specifier: ^0.0.25 + version: 0.0.25 devDependencies: '@blgc/config': specifier: ^0.0.23 @@ -782,8 +782,11 @@ importers: specifier: ^1.5.0 version: 1.5.0(prettier@3.3.3) feature-fetch: - specifier: ^0.0.22 - version: 0.0.22 + specifier: ^0.0.25 + version: 0.0.25 + gql.tada: + specifier: ^1.8.7 + version: 1.8.7(graphql@16.9.0)(typescript@5.5.4) prettier: specifier: ^3.3.3 version: 3.3.3 @@ -903,6 +906,20 @@ importers: packages: + '@0no-co/graphql.web@1.0.8': + resolution: {integrity: sha512-8BG6woLtDMvXB9Ajb/uE+Zr/U7y4qJ3upXi0JQHZmsKUJa7HjF/gFvmL2f3/mSmfZoQGRr9VoY97LCX2uaFMzA==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + peerDependenciesMeta: + graphql: + optional: true + + '@0no-co/graphqlsp@1.12.14': + resolution: {integrity: sha512-0FoG2EkXxTY+++dKggmBkwY/skAE5dW2yqt4abHF0zrbCId4WreoFfhoTQT82FeD6gbkYe5FGrcn1x9SjnO77g==} + peerDependencies: + graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 + typescript: ^5.0.0 + '@adobe/css-tools@4.4.0': resolution: {integrity: sha512-Ff9+ksdQQB3rMncgqDK78uLznstjyfIf2Arnh22pW8kBpLs6rpKDwgnZT46hin5Hl1WzazzK64DOrhSwYpS7bQ==} @@ -2403,6 +2420,26 @@ packages: '@exodus/schemasafe@1.3.0': resolution: {integrity: sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==} + '@gql.tada/cli-utils@1.6.2': + resolution: {integrity: sha512-P4bOOayf6zR/uRWHmVyRz8auiuOzNmq8C0YFQbhj5TGGgHr5kkVI2ZIrplWsJqCBTYzpZEYzaxa9iGP6vuKA9Q==} + peerDependencies: + '@0no-co/graphqlsp': ^1.12.13 + '@gql.tada/svelte-support': 1.0.1 + '@gql.tada/vue-support': 1.0.1 + graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 + typescript: ^5.0.0 + peerDependenciesMeta: + '@gql.tada/svelte-support': + optional: true + '@gql.tada/vue-support': + optional: true + + '@gql.tada/internal@1.0.8': + resolution: {integrity: sha512-XYdxJhtHC5WtZfdDqtKjcQ4d7R1s0d1rnlSs3OcBEUbYiPoJJfZU7tWsVXuv047Z6msvmr4ompJ7eLSK5Km57g==} + peerDependencies: + graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 + typescript: ^5.0.0 + '@graphql-codegen/add@5.0.3': resolution: {integrity: sha512-SxXPmramkth8XtBlAHu4H4jYcYXM/o3p01+psU+0NADQowA8jtYkK6MW5rV6T+CxkEaNZItfSmZRPgIuypcqnA==} peerDependencies: @@ -6091,8 +6128,8 @@ packages: feature-fetch@0.0.21: resolution: {integrity: sha512-okHNrplaXBjBkxffJpvw+lR8+ijiZAj03tdbWE8lkH7zJCNR5gAjsp+qwgFBwmeW5ZBi4GAvlus/gubsJQhkPg==} - feature-fetch@0.0.22: - resolution: {integrity: sha512-rC7nE56n82aZuaKXiBSVWoaqjZdn01zLMTDMQYHxmnRW+FV3dtFtwDDJIyCDe/Sy2+t8b8ttpccKFBDjMB1iRg==} + feature-fetch@0.0.25: + resolution: {integrity: sha512-agwL5i7tvUkL3WyiOvjJ69Ca2hOC4ZTA+q2xLhjw62i6dZR+PdiuO5Nw/GqBCY1xVQGBXiCu+jYo2Lh86xO8Bw==} feature-form@0.0.27: resolution: {integrity: sha512-CzU3e5jFNnaDx0jYZM2D6WiQ4QLoXdh2trwRlWwcFign9NTUFUxKy1QHnG0faPnolvVbhS2GUt0ovZVrDb9xww==} @@ -6431,6 +6468,12 @@ packages: resolution: {integrity: sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==} engines: {node: '>=14.16'} + gql.tada@1.8.7: + resolution: {integrity: sha512-ixqMvH5jRs5wxe5liNoaG1TA9NfA+kAz8QzfT0xrzcKARJOVC7MednVhxyhY1RDgZH8mNfChK3ti8cIcd9cuuw==} + hasBin: true + peerDependencies: + typescript: ^5.0.0 + graceful-fs@4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} @@ -9555,6 +9598,10 @@ packages: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + source-map-support@0.5.21: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} @@ -10768,6 +10815,16 @@ packages: snapshots: + '@0no-co/graphql.web@1.0.8(graphql@16.9.0)': + optionalDependencies: + graphql: 16.9.0 + + '@0no-co/graphqlsp@1.12.14(graphql@16.9.0)(typescript@5.5.4)': + dependencies: + '@gql.tada/internal': 1.0.8(graphql@16.9.0)(typescript@5.5.4) + graphql: 16.9.0 + typescript: 5.5.4 + '@adobe/css-tools@4.4.0': {} '@aklinker1/rollup-plugin-visualizer@5.12.0(rollup@4.21.2)': @@ -12247,6 +12304,19 @@ snapshots: '@exodus/schemasafe@1.3.0': {} + '@gql.tada/cli-utils@1.6.2(@0no-co/graphqlsp@1.12.14(graphql@16.9.0)(typescript@5.5.4))(graphql@16.9.0)(typescript@5.5.4)': + dependencies: + '@0no-co/graphqlsp': 1.12.14(graphql@16.9.0)(typescript@5.5.4) + '@gql.tada/internal': 1.0.8(graphql@16.9.0)(typescript@5.5.4) + graphql: 16.9.0 + typescript: 5.5.4 + + '@gql.tada/internal@1.0.8(graphql@16.9.0)(typescript@5.5.4)': + dependencies: + '@0no-co/graphql.web': 1.0.8(graphql@16.9.0) + graphql: 16.9.0 + typescript: 5.5.4 + '@graphql-codegen/add@5.0.3(graphql@16.9.0)': dependencies: '@graphql-codegen/plugin-helpers': 5.0.4(graphql@16.9.0) @@ -17360,7 +17430,7 @@ snapshots: '@blgc/types': 0.0.7 '@blgc/utils': 0.0.18 - feature-fetch@0.0.22: + feature-fetch@0.0.25: dependencies: '@blgc/types': 0.0.7 '@blgc/utils': 0.0.18 @@ -17758,6 +17828,18 @@ snapshots: p-cancelable: 3.0.0 responselike: 3.0.0 + gql.tada@1.8.7(graphql@16.9.0)(typescript@5.5.4): + dependencies: + '@0no-co/graphql.web': 1.0.8(graphql@16.9.0) + '@0no-co/graphqlsp': 1.12.14(graphql@16.9.0)(typescript@5.5.4) + '@gql.tada/cli-utils': 1.6.2(@0no-co/graphqlsp@1.12.14(graphql@16.9.0)(typescript@5.5.4))(graphql@16.9.0)(typescript@5.5.4) + '@gql.tada/internal': 1.0.8(graphql@16.9.0)(typescript@5.5.4) + typescript: 5.5.4 + transitivePeerDependencies: + - '@gql.tada/svelte-support' + - '@gql.tada/vue-support' + - graphql + graceful-fs@4.2.10: {} graceful-fs@4.2.11: {} @@ -20164,7 +20246,7 @@ snapshots: dependencies: nanoid: 3.3.7 picocolors: 1.1.0 - source-map-js: 1.2.0 + source-map-js: 1.2.1 postgres@3.4.4: {} @@ -20966,7 +21048,7 @@ snapshots: dependencies: chokidar: 3.6.0 immutable: 4.3.7 - source-map-js: 1.2.0 + source-map-js: 1.2.1 optional: true sax@1.4.1: {} @@ -21215,6 +21297,8 @@ snapshots: source-map-js@1.2.0: {} + source-map-js@1.2.1: {} + source-map-support@0.5.21: dependencies: buffer-from: 1.1.2