From c53b9b21101c381843df6bedca6233ff56a3db71 Mon Sep 17 00:00:00 2001 From: josefaidt Date: Fri, 1 Nov 2024 08:26:27 -0700 Subject: [PATCH] fix "apollo's update function" url --- src/fragments/lib-v1/graphqlapi/js/delta-sync.mdx | 6 +++--- src/fragments/lib/graphqlapi/js/delta-sync.mdx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fragments/lib-v1/graphqlapi/js/delta-sync.mdx b/src/fragments/lib-v1/graphqlapi/js/delta-sync.mdx index edd993e8320..83c192abb1a 100644 --- a/src/fragments/lib-v1/graphqlapi/js/delta-sync.mdx +++ b/src/fragments/lib-v1/graphqlapi/js/delta-sync.mdx @@ -33,17 +33,17 @@ subscription.unsubscribe(); - `query`: A `DocumentNode` for the base data (e.g. as returned by [`gql`](https://github.com/apollographql/graphql-tag#gql)) - `variables` [optional]: An object with the query variables, if any. - `baseRefreshIntervalInSeconds` [optional]: Number of seconds after which the base query will be run again. Default value: `86400` (24 hrs) - - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/api/react-apollo.html#graphql-mutation-options-update) + - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/data/mutations#the-update-function) **subscriptionQuery** - `query`: A `DocumentNode` for the subscription (e.g. as returned by [`gql`](https://github.com/apollographql/graphql-tag#gql)) - `variables` [optional]: An object with the query variables, if any. - - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/api/react-apollo.html#graphql-mutation-options-update) + - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/data/mutations#the-update-function) **deltaQuery** - `query`: A `DocumentNode` for the deltas (e.g. as returned by [`gql`](https://github.com/apollographql/graphql-tag#gql)) - `variables` [optional]: An object with the query variables, if any. - - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/api/react-apollo.html#graphql-mutation-options-update) + - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/data/mutations#the-update-function) ## The buildSync helper diff --git a/src/fragments/lib/graphqlapi/js/delta-sync.mdx b/src/fragments/lib/graphqlapi/js/delta-sync.mdx index edd993e8320..83c192abb1a 100644 --- a/src/fragments/lib/graphqlapi/js/delta-sync.mdx +++ b/src/fragments/lib/graphqlapi/js/delta-sync.mdx @@ -33,17 +33,17 @@ subscription.unsubscribe(); - `query`: A `DocumentNode` for the base data (e.g. as returned by [`gql`](https://github.com/apollographql/graphql-tag#gql)) - `variables` [optional]: An object with the query variables, if any. - `baseRefreshIntervalInSeconds` [optional]: Number of seconds after which the base query will be run again. Default value: `86400` (24 hrs) - - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/api/react-apollo.html#graphql-mutation-options-update) + - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/data/mutations#the-update-function) **subscriptionQuery** - `query`: A `DocumentNode` for the subscription (e.g. as returned by [`gql`](https://github.com/apollographql/graphql-tag#gql)) - `variables` [optional]: An object with the query variables, if any. - - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/api/react-apollo.html#graphql-mutation-options-update) + - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/data/mutations#the-update-function) **deltaQuery** - `query`: A `DocumentNode` for the deltas (e.g. as returned by [`gql`](https://github.com/apollographql/graphql-tag#gql)) - `variables` [optional]: An object with the query variables, if any. - - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/api/react-apollo.html#graphql-mutation-options-update) + - `update` [optional]: A function to update the cache, see: [Apollo's `update` function](https://www.apollographql.com/docs/react/data/mutations#the-update-function) ## The buildSync helper