rescript-relay 3.0.0-alpha.5 → 3.0.0-rc.1
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/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/ppx-windows-latest +0 -0
- package/relay-compiler-linux-musl/relay +0 -0
- package/relay-compiler-linux-x64/relay +0 -0
- package/relay-compiler-macos-arm64/relay +0 -0
- package/relay-compiler-macos-x64/relay +0 -0
- package/relay-compiler-win-x64/relay.exe +0 -0
- package/src/RescriptRelay.resi +10 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/ppx-windows-latest
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/RescriptRelay.resi
CHANGED
|
@@ -804,6 +804,16 @@ type fetchQueryOptions = {
|
|
|
804
804
|
fetchPolicy?: fetchPolicy,
|
|
805
805
|
}
|
|
806
806
|
|
|
807
|
+
type loadQueryConfig = {
|
|
808
|
+
fetchKey: option<string>,
|
|
809
|
+
fetchPolicy: option<fetchPolicy>,
|
|
810
|
+
networkCacheConfig: option<cacheConfig>,
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
@module("react-relay")
|
|
814
|
+
external loadQuery: (Environment.t, queryNode<'a>, 'variables, loadQueryConfig) => 'queryResponse =
|
|
815
|
+
"loadQuery"
|
|
816
|
+
|
|
807
817
|
module type MakeLoadQueryConfig = {
|
|
808
818
|
type variables
|
|
809
819
|
type loadedQueryRef
|