Skip to content

Commit b337edc

Browse files
authored
Create @apollo+client+~3.2.0.patch
1 parent 26260f8 commit b337edc

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
diff --git a/node_modules/@apollo/client/react/components/Query.d.ts b/node_modules/@apollo/client/react/components/Query.d.ts
2+
index 2d577ec..64f5602 100644
3+
--- a/node_modules/@apollo/client/react/components/Query.d.ts
4+
+++ b/node_modules/@apollo/client/react/components/Query.d.ts
5+
@@ -1,25 +1,5 @@
6+
/// <reference types="react" />
7+
-import PropTypes from 'prop-types';
8+
import { OperationVariables } from '../../core';
9+
import { QueryComponentOptions } from './types';
10+
export declare function Query<TData = any, TVariables = OperationVariables>(props: QueryComponentOptions<TData, TVariables>): JSX.Element | null;
11+
-export declare namespace Query {
12+
- var propTypes: {
13+
- client: PropTypes.Requireable<object>;
14+
- children: PropTypes.Validator<(...args: any[]) => any>;
15+
- fetchPolicy: PropTypes.Requireable<string>;
16+
- notifyOnNetworkStatusChange: PropTypes.Requireable<boolean>;
17+
- onCompleted: PropTypes.Requireable<(...args: any[]) => any>;
18+
- onError: PropTypes.Requireable<(...args: any[]) => any>;
19+
- pollInterval: PropTypes.Requireable<number>;
20+
- query: PropTypes.Validator<object>;
21+
- variables: PropTypes.Requireable<object>;
22+
- ssr: PropTypes.Requireable<boolean>;
23+
- partialRefetch: PropTypes.Requireable<boolean>;
24+
- returnPartialData: PropTypes.Requireable<boolean>;
25+
- };
26+
-}
27+
-export interface Query<TData, TVariables> {
28+
- propTypes: PropTypes.InferProps<QueryComponentOptions<TData, TVariables>>;
29+
-}
30+
//# sourceMappingURL=Query.d.ts.map
31+
\ No newline at end of file
32+
diff --git a/node_modules/@apollo/client/react/components/Subscription.d.ts b/node_modules/@apollo/client/react/components/Subscription.d.ts
33+
index c99e467..4ec526b 100644
34+
--- a/node_modules/@apollo/client/react/components/Subscription.d.ts
35+
+++ b/node_modules/@apollo/client/react/components/Subscription.d.ts
36+
@@ -1,19 +1,5 @@
37+
/// <reference types="react" />
38+
-import PropTypes from 'prop-types';
39+
import { OperationVariables } from '../../core';
40+
import { SubscriptionComponentOptions } from './types';
41+
export declare function Subscription<TData = any, TVariables = OperationVariables>(props: SubscriptionComponentOptions<TData, TVariables>): JSX.Element | null;
42+
-export declare namespace Subscription {
43+
- var propTypes: {
44+
- subscription: PropTypes.Validator<object>;
45+
- variables: PropTypes.Requireable<object>;
46+
- children: PropTypes.Requireable<(...args: any[]) => any>;
47+
- onSubscriptionData: PropTypes.Requireable<(...args: any[]) => any>;
48+
- onSubscriptionComplete: PropTypes.Requireable<(...args: any[]) => any>;
49+
- shouldResubscribe: PropTypes.Requireable<boolean | ((...args: any[]) => any)>;
50+
- };
51+
-}
52+
-export interface Subscription<TData, TVariables> {
53+
- propTypes: PropTypes.InferProps<SubscriptionComponentOptions<TData, TVariables>>;
54+
-}
55+
//# sourceMappingURL=Subscription.d.ts.map
56+
\ No newline at end of file

0 commit comments

Comments
 (0)