Skip to content

Commit dfd16b9

Browse files
authored
Update @apollo+client+~3.2.0.patch
1 parent b337edc commit dfd16b9

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

packages/patch-cli/src/patches/@apollo+client+~3.2.0.patch

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
diff --git a/node_modules/@apollo/client/react/components/Mutation.d.ts b/node_modules/@apollo/client/react/components/Mutation.d.ts
2+
index 9351417..bf1dd98 100644
3+
--- a/node_modules/@apollo/client/react/components/Mutation.d.ts
4+
+++ b/node_modules/@apollo/client/react/components/Mutation.d.ts
5+
@@ -1,23 +1,5 @@
6+
/// <reference types="react" />
7+
-import PropTypes from 'prop-types';
8+
import { OperationVariables } from '../../core';
9+
import { MutationComponentOptions } from './types';
10+
export declare function Mutation<TData = any, TVariables = OperationVariables>(props: MutationComponentOptions<TData, TVariables>): JSX.Element | null;
11+
-export declare namespace Mutation {
12+
- var propTypes: {
13+
- mutation: PropTypes.Validator<object>;
14+
- variables: PropTypes.Requireable<object>;
15+
- optimisticResponse: PropTypes.Requireable<object>;
16+
- refetchQueries: PropTypes.Requireable<((...args: any[]) => any) | (string | object | null | undefined)[]>;
17+
- awaitRefetchQueries: PropTypes.Requireable<boolean>;
18+
- update: PropTypes.Requireable<(...args: any[]) => any>;
19+
- children: PropTypes.Validator<(...args: any[]) => any>;
20+
- onCompleted: PropTypes.Requireable<(...args: any[]) => any>;
21+
- onError: PropTypes.Requireable<(...args: any[]) => any>;
22+
- fetchPolicy: PropTypes.Requireable<string>;
23+
- };
24+
-}
25+
-export interface Mutation<TData, TVariables> {
26+
- propTypes: PropTypes.InferProps<MutationComponentOptions<TData, TVariables>>;
27+
-}
28+
//# sourceMappingURL=Mutation.d.ts.map
29+
\ No newline at end of file
130
diff --git a/node_modules/@apollo/client/react/components/Query.d.ts b/node_modules/@apollo/client/react/components/Query.d.ts
231
index 2d577ec..64f5602 100644
332
--- a/node_modules/@apollo/client/react/components/Query.d.ts

0 commit comments

Comments
 (0)