react-relay 0.0.0-main-8aa82a2f → 0.0.0-main-cb09a220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ReactRelayContext.js +1 -1
- package/hooks.js +1 -1
- package/index.js +1 -1
- package/legacy.js +1 -1
- package/package.json +2 -2
- package/relay-hooks/usePreloadedQuery.js.flow +4 -2
package/ReactRelayContext.js
CHANGED
package/hooks.js
CHANGED
package/index.js
CHANGED
package/legacy.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-relay",
|
|
3
3
|
"description": "A framework for building GraphQL-driven React applications.",
|
|
4
|
-
"version": "0.0.0-main-
|
|
4
|
+
"version": "0.0.0-main-cb09a220",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphql",
|
|
7
7
|
"relay",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"fbjs": "^3.0.2",
|
|
21
21
|
"invariant": "^2.2.4",
|
|
22
22
|
"nullthrows": "^1.1.1",
|
|
23
|
-
"relay-runtime": "0.0.0-main-
|
|
23
|
+
"relay-runtime": "0.0.0-main-cb09a220"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^16.9.0 || ^17 || ^18 || ^19"
|
|
@@ -16,7 +16,7 @@ import type {
|
|
|
16
16
|
PreloadedQueryInner,
|
|
17
17
|
PreloadedQueryInner_DEPRECATED,
|
|
18
18
|
} from './EntryPointTypes.flow';
|
|
19
|
-
import type {Query, RenderPolicy, Variables} from 'relay-runtime';
|
|
19
|
+
import type {ClientQuery, Query, RenderPolicy, Variables} from 'relay-runtime';
|
|
20
20
|
|
|
21
21
|
const useLazyLoadQueryNode = require('./useLazyLoadQueryNode');
|
|
22
22
|
const useMemoOperationDescriptor = require('./useMemoOperationDescriptor');
|
|
@@ -56,7 +56,9 @@ hook usePreloadedQuery<
|
|
|
56
56
|
TData,
|
|
57
57
|
TRawResponse: ?{...} = void,
|
|
58
58
|
>(
|
|
59
|
-
gqlQuery:
|
|
59
|
+
gqlQuery:
|
|
60
|
+
| Query<TVariables, TData, TRawResponse>
|
|
61
|
+
| ClientQuery<TVariables, TData, TRawResponse>,
|
|
60
62
|
preloadedQuery: PreloadedQuery<
|
|
61
63
|
TVariables,
|
|
62
64
|
TData,
|