Skip to content

Commit ff71e2d

Browse files
authored
Merge pull request #42 from kamilkisiela/patch-1
Create @apollo+client+~3.2.0.patch
2 parents 26260f8 + dfd16b9 commit ff71e2d

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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
30+
diff --git a/node_modules/@apollo/client/react/components/Query.d.ts b/node_modules/@apollo/client/react/components/Query.d.ts
31+
index 2d577ec..64f5602 100644
32+
--- a/node_modules/@apollo/client/react/components/Query.d.ts
33+
+++ b/node_modules/@apollo/client/react/components/Query.d.ts
34+
@@ -1,25 +1,5 @@
35+
/// <reference types="react" />
36+
-import PropTypes from 'prop-types';
37+
import { OperationVariables } from '../../core';
38+
import { QueryComponentOptions } from './types';
39+
export declare function Query<TData = any, TVariables = OperationVariables>(props: QueryComponentOptions<TData, TVariables>): JSX.Element | null;
40+
-export declare namespace Query {
41+
- var propTypes: {
42+
- client: PropTypes.Requireable<object>;
43+
- children: PropTypes.Validator<(...args: any[]) => any>;
44+
- fetchPolicy: PropTypes.Requireable<string>;
45+
- notifyOnNetworkStatusChange: PropTypes.Requireable<boolean>;
46+
- onCompleted: PropTypes.Requireable<(...args: any[]) => any>;
47+
- onError: PropTypes.Requireable<(...args: any[]) => any>;
48+
- pollInterval: PropTypes.Requireable<number>;
49+
- query: PropTypes.Validator<object>;
50+
- variables: PropTypes.Requireable<object>;
51+
- ssr: PropTypes.Requireable<boolean>;
52+
- partialRefetch: PropTypes.Requireable<boolean>;
53+
- returnPartialData: PropTypes.Requireable<boolean>;
54+
- };
55+
-}
56+
-export interface Query<TData, TVariables> {
57+
- propTypes: PropTypes.InferProps<QueryComponentOptions<TData, TVariables>>;
58+
-}
59+
//# sourceMappingURL=Query.d.ts.map
60+
\ No newline at end of file
61+
diff --git a/node_modules/@apollo/client/react/components/Subscription.d.ts b/node_modules/@apollo/client/react/components/Subscription.d.ts
62+
index c99e467..4ec526b 100644
63+
--- a/node_modules/@apollo/client/react/components/Subscription.d.ts
64+
+++ b/node_modules/@apollo/client/react/components/Subscription.d.ts
65+
@@ -1,19 +1,5 @@
66+
/// <reference types="react" />
67+
-import PropTypes from 'prop-types';
68+
import { OperationVariables } from '../../core';
69+
import { SubscriptionComponentOptions } from './types';
70+
export declare function Subscription<TData = any, TVariables = OperationVariables>(props: SubscriptionComponentOptions<TData, TVariables>): JSX.Element | null;
71+
-export declare namespace Subscription {
72+
- var propTypes: {
73+
- subscription: PropTypes.Validator<object>;
74+
- variables: PropTypes.Requireable<object>;
75+
- children: PropTypes.Requireable<(...args: any[]) => any>;
76+
- onSubscriptionData: PropTypes.Requireable<(...args: any[]) => any>;
77+
- onSubscriptionComplete: PropTypes.Requireable<(...args: any[]) => any>;
78+
- shouldResubscribe: PropTypes.Requireable<boolean | ((...args: any[]) => any)>;
79+
- };
80+
-}
81+
-export interface Subscription<TData, TVariables> {
82+
- propTypes: PropTypes.InferProps<SubscriptionComponentOptions<TData, TVariables>>;
83+
-}
84+
//# sourceMappingURL=Subscription.d.ts.map
85+
\ No newline at end of file

0 commit comments

Comments
 (0)