react-relay 0.0.0-main-91fd7b05 → 0.0.0-main-5465a0b2
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/EntryPointTypes.flow.js.flow +1 -7
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-5465a0b2",
|
|
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-5465a0b2"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^16.9.0 || ^17 || ^18 || ^19"
|
|
@@ -147,12 +147,7 @@ export type InternalEntryPointRepresentation<
|
|
|
147
147
|
> = $ReadOnly<{
|
|
148
148
|
getPreloadProps: (
|
|
149
149
|
entryPointParams: TEntryPointParams,
|
|
150
|
-
) => PreloadProps<
|
|
151
|
-
TEntryPointParams,
|
|
152
|
-
TPreloadedQueries,
|
|
153
|
-
TPreloadedEntryPoints,
|
|
154
|
-
TExtraProps,
|
|
155
|
-
>,
|
|
150
|
+
) => PreloadProps<TPreloadedQueries, TPreloadedEntryPoints, TExtraProps>,
|
|
156
151
|
root: JSResourceReference<
|
|
157
152
|
EntryPointComponent<
|
|
158
153
|
TPreloadedQueries,
|
|
@@ -195,7 +190,6 @@ export type EntryPointComponent<
|
|
|
195
190
|
|
|
196
191
|
// Return type of the `getPreloadProps(...)` of the entry point
|
|
197
192
|
export type PreloadProps<
|
|
198
|
-
+TPreloadParams,
|
|
199
193
|
// $FlowExpectedError[unclear-type] Need any to make it supertype of all PreloadedQuery
|
|
200
194
|
TPreloadedQueries: {+[string]: PreloadedQuery<any>},
|
|
201
195
|
TPreloadedEntryPoints: {...},
|