diff --git a/compiler/crates/relay-typegen/src/lib.rs b/compiler/crates/relay-typegen/src/lib.rs index e2a30546b94e3..3e3e335ff82ae 100644 --- a/compiler/crates/relay-typegen/src/lib.rs +++ b/compiler/crates/relay-typegen/src/lib.rs @@ -46,8 +46,6 @@ static LOCAL_3D_PAYLOAD: &str = "Local3DPayload"; static ACTOR_CHANGE_POINT: &str = "ActorChangePoint"; static VALIDATOR_EXPORT_NAME: &str = "validate"; static LIVE_RESOLVERS_LIVE_STATE: &str = "LiveState"; -static LIVE_RESOLVERS_EXPERIMENTAL_STORE_PATH: &str = - "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; lazy_static! { static ref KEY_CLIENTID: StringKey = "__id".intern(); diff --git a/compiler/crates/relay-typegen/src/typegen_state.rs b/compiler/crates/relay-typegen/src/typegen_state.rs index 2121d9bf5d783..4113aaabb85c7 100644 --- a/compiler/crates/relay-typegen/src/typegen_state.rs +++ b/compiler/crates/relay-typegen/src/typegen_state.rs @@ -25,7 +25,6 @@ use crate::writer::ExactObject; use crate::writer::Writer; use crate::writer::AST; use crate::KEY_DATA_ID; -use crate::LIVE_RESOLVERS_EXPERIMENTAL_STORE_PATH; use crate::LIVE_RESOLVERS_LIVE_STATE; use crate::LOCAL_3D_PAYLOAD; use crate::RELAY_RUNTIME; @@ -42,14 +41,10 @@ pub(crate) struct RuntimeImports { impl RuntimeImports { pub(crate) fn write_runtime_imports(&self, writer: &mut Box) -> FmtResult { + let mut runtime_import_types = vec![]; if self.resolver_live_state_type { - writer.write_import_type( - &[LIVE_RESOLVERS_LIVE_STATE], - LIVE_RESOLVERS_EXPERIMENTAL_STORE_PATH, - )?; + runtime_import_types.push(LIVE_RESOLVERS_LIVE_STATE); } - - let mut runtime_import_types = vec![]; if self.generic_fragment_type { runtime_import_types.push(writer.get_runtime_fragment_import()) } diff --git a/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-no-fragment.expected b/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-no-fragment.expected index 06cfbb98589fe..32f198108bde7 100644 --- a/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-no-fragment.expected +++ b/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-no-fragment.expected @@ -15,7 +15,7 @@ extend type User { ) } ==================================== OUTPUT =================================== -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import userPopStarNameResolverType from "PopStarNameResolver"; // Type assertion validating that `userPopStarNameResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-with-field-args-no-fragment.expected b/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-with-field-args-no-fragment.expected index d2dd1bde7b10f..ba73d2e45fd65 100644 --- a/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-with-field-args-no-fragment.expected +++ b/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-with-field-args-no-fragment.expected @@ -19,7 +19,7 @@ extend type User { ) } ==================================== OUTPUT =================================== -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import userPopStarNameResolverType from "PopStarNameResolver"; // Type assertion validating that `userPopStarNameResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-with-field-args.expected b/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-with-field-args.expected index 2d95f53e7c67b..3ebfcc159a796 100644 --- a/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-with-field-args.expected +++ b/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver-with-field-args.expected @@ -20,7 +20,7 @@ extend type User { ) } ==================================== OUTPUT =================================== -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { relayResolver_PopStarNameResolverFragment_name$key } from "relayResolver_PopStarNameResolverFragment_name.graphql"; import userPopStarNameResolverType from "PopStarNameResolver"; // Type assertion validating that `userPopStarNameResolverType` resolver is correctly implemented. diff --git a/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver.expected b/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver.expected index d8230d92bce81..462f24cfabefc 100644 --- a/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver.expected +++ b/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-live-resolver.expected @@ -20,7 +20,7 @@ extend type User { ) } ==================================== OUTPUT =================================== -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { relayResolver_PopStarNameResolverFragment_name$key } from "relayResolver_PopStarNameResolverFragment_name.graphql"; import userPopStarNameResolverType from "PopStarNameResolver"; // Type assertion validating that `userPopStarNameResolverType` resolver is correctly implemented. diff --git a/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-resolver-live-client-edge.expected b/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-resolver-live-client-edge.expected index 0dbd9252c91ff..10e0840c3eaed 100644 --- a/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-resolver-live-client-edge.expected +++ b/compiler/crates/relay-typegen/tests/generate_flow/fixtures/relay-resolver-live-client-edge.expected @@ -31,8 +31,7 @@ export type ClientEdgeQuery_relayResolver_Query_me__best_friend = {| variables: ClientEdgeQuery_relayResolver_Query_me__best_friend$variables, |}; ------------------------------------------------------------------------------- -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { DataID } from "relay-runtime"; +import type { LiveState, DataID } from "relay-runtime"; import type { relayResolver_BestFriendResolverFragment_name$key } from "relayResolver_BestFriendResolverFragment_name.graphql"; import userBestFriendResolverType from "BestFriendResolver"; // Type assertion validating that `userBestFriendResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest10Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest10Query.graphql.js index 87476a4420049..f1e505c3170af 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest10Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest10Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<9d176f9bd7539ce41b0983adebe3aeaf>> + * @generated SignedSource<<713cecfe61f231a080dc2d634e7315f0>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { LiveCounterResolver$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/LiveCounterResolver.graphql"; import {counter as queryCounterResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveCounterResolver.js"; // Type assertion validating that `queryCounterResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest11Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest11Query.graphql.js index b6be1a18bbd56..58eeca5c47b57 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest11Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest11Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<70f431e30d613605835b622df6b27318>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {counter_no_fragment as queryCounterNoFragmentResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveCounterNoFragment.js"; // Type assertion validating that `queryCounterNoFragmentResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest12Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest12Query.graphql.js index 1560e8047049b..feddf246f2737 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest12Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest12Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<7ceced18dc9fd7b444ed223c3dbd8d8c>> + * @generated SignedSource<<2d1a9ff9d4b2804a6b5b5615ce11eb53>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {counter_no_fragment_with_arg as queryCounterNoFragmentWithArgResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveCounterNoFragmentWithArg.js"; // Type assertion validating that `queryCounterNoFragmentWithArgResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest13Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest13Query.graphql.js index d5c05876d0ac8..32d16b50cb43a 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest13Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest13Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<1943cb4f897a7adfb802b75e83840da5>> + * @generated SignedSource<<1479afc61623ff39f26c6b2ebc95dd0d>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,8 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { DataID } from "relay-runtime"; +import type { LiveState, DataID } from "relay-runtime"; import {live_constant_client_edge as queryLiveConstantClientEdgeResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveConstantClientEdgeResolver.js"; // Type assertion validating that `queryLiveConstantClientEdgeResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest14Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest14Query.graphql.js index 59a155860a413..68c734e1f64e1 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest14Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest14Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<07fb237adf081b825031732114cbbffc>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {counter_no_fragment as queryCounterNoFragmentResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveCounterNoFragment.js"; // Type assertion validating that `queryCounterNoFragmentResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest15Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest15Query.graphql.js index 248c86b93ee5c..22a521258f196 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest15Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest15Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -18,8 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { DataID } from "relay-runtime"; +import type { LiveState, DataID } from "relay-runtime"; import {live_user_resolver_always_suspend as queryLiveUserResolverAlwaysSuspendResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveUserAlwaysSuspendResolver.js"; // Type assertion validating that `queryLiveUserResolverAlwaysSuspendResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest16Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest16Query.graphql.js index 4774e0b5a5c1f..c01006a8fa7cc 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest16Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest16Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<3ad88f88c9f2bcdd661fcfc6839fef39>> + * @generated SignedSource<<955f4b42ed749fc8d676cc1cde396ff3>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {live_resolver_with_bad_return_value as queryLiveResolverWithBadReturnValueResolverType} from "../../../relay-runtime/store/__tests__/resolvers/QueryLiveResolverWithBadReturnValue.js"; // Type assertion validating that `queryLiveResolverWithBadReturnValueResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest18Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest18Query.graphql.js index d78f57da2bea8..ec67532bf3084 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest18Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest18Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<60036ba58cd29ca644e56acb42dd8872>> + * @generated SignedSource<<350b5d48330c6a254f39c4d9a70bd8b2>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {live_resolver_throws as queryLiveResolverThrowsResolverType} from "../../../relay-runtime/store/__tests__/resolvers/QueryLiveResolverThrows.js"; // Type assertion validating that `queryLiveResolverThrowsResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest19Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest19Query.graphql.js index ea83c58ae816a..574d6e60b1f58 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest19Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest19Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<5fbbdb3345678a40c4598571c83ff0ec>> + * @generated SignedSource<<6261d4f6f23b6b03de674494ae9f3b58>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {live_resolver_return_undefined as queryLiveResolverReturnUndefinedResolverType} from "../../../relay-runtime/store/__tests__/resolvers/QueryLiveResolverReturnsUndefined.js"; // Type assertion validating that `queryLiveResolverReturnUndefinedResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest1Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest1Query.graphql.js index 9d956a42a0dbf..94c8bfc499955 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest1Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest1Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<2d9204713e5dc9fb59c4d2e2a480078a>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { LiveCounterResolver$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/LiveCounterResolver.graphql"; import {counter as queryCounterResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveCounterResolver.js"; // Type assertion validating that `queryCounterResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest2Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest2Query.graphql.js index c8edf4a840f7a..edd20368fed4d 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest2Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest2Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<8a6dc836af80579c0079b8b10936f5d1>> + * @generated SignedSource<<8ea7d4f854489b310176a325dabd3d0f>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { LiveCounterResolver$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/LiveCounterResolver.graphql"; import {counter as queryCounterResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveCounterResolver.js"; // Type assertion validating that `queryCounterResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest4Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest4Query.graphql.js index b34a89b52939e..e66c6c5ba494d 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest4Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest4Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<7ec6ddc7e3c451680715c07cae5ba397>> + * @generated SignedSource<<70beb120a50b2c84bd282006b63db564>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { LivePingPongResolver$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/LivePingPongResolver.graphql"; import {ping as queryPingResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LivePingPongResolver.js"; // Type assertion validating that `queryPingResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest5Fragment.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest5Fragment.graphql.js index dee2e318a0920..7773a1001cdf2 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest5Fragment.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest5Fragment.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<62f8f7d95016fca963e27b75a3b14c34>> * @flow * @lightSyntaxTransform * @nogrep @@ -19,8 +19,7 @@ /*:: import type { Fragment, ReaderFragment } from 'relay-runtime'; import type { CounterSuspendsWhenOdd$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/CounterSuspendsWhenOdd.graphql"; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { FragmentType } from "relay-runtime"; +import type { LiveState, FragmentType } from "relay-runtime"; import {counter_suspends_when_odd as queryCounterSuspendsWhenOddResolverType} from "../../../relay-runtime/store/__tests__/resolvers/CounterSuspendsWhenOdd.js"; // Type assertion validating that `queryCounterSuspendsWhenOddResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest7Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest7Query.graphql.js index a259862648db1..f22b6c47ad844 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest7Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest7Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { UserProfilePictureUriSuspendsWhenTheCounterIsOdd$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/UserProfilePictureUriSuspendsWhenTheCounterIsOdd.graphql"; import {user_profile_picture_uri_suspends_when_the_counter_is_odd as userUserProfilePictureUriSuspendsWhenTheCounterIsOddResolverType} from "../../../relay-runtime/store/__tests__/resolvers/UserProfilePictureUriSuspendsWhenTheCounterIsOdd.js"; // Type assertion validating that `userUserProfilePictureUriSuspendsWhenTheCounterIsOddResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest8Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest8Query.graphql.js index dd770d81aacb1..1a08dfc989985 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest8Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest8Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { ResolverThatThrows$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/ResolverThatThrows.graphql"; import {resolver_that_throws as userResolverThatThrowsResolverType} from "../../../relay-runtime/store/__tests__/resolvers/ResolverThatThrows.js"; // Type assertion validating that `userResolverThatThrowsResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTest9Query.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTest9Query.graphql.js index 1445db5ff1e51..2d88788d5dcd1 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTest9Query.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTest9Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<8b43b6ec70194251af78ad4bcd60d1c4>> + * @generated SignedSource<<2289bab9affab280d2a1841d6b30ef51>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { UserProfilePictureUriSuspendsWhenTheCounterIsOdd$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/UserProfilePictureUriSuspendsWhenTheCounterIsOdd.graphql"; import {user_profile_picture_uri_suspends_when_the_counter_is_odd as userUserProfilePictureUriSuspendsWhenTheCounterIsOddResolverType} from "../../../relay-runtime/store/__tests__/resolvers/UserProfilePictureUriSuspendsWhenTheCounterIsOdd.js"; // Type assertion validating that `userUserProfilePictureUriSuspendsWhenTheCounterIsOddResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTestCounterUserFragment.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTestCounterUserFragment.graphql.js index 57a5ca855a6a3..0ffbb87972505 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTestCounterUserFragment.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTestCounterUserFragment.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<150848afe6e2738dd1c8396f463fd9fc>> + * @generated SignedSource<<57a1bcb2d1044ae8e6c2bfe969a71e81>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,8 +18,7 @@ /*:: import type { Fragment, ReaderFragment } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { FragmentType } from "relay-runtime"; +import type { LiveState, FragmentType } from "relay-runtime"; import {counter_suspends_when_odd as userCounterSuspendsWhenOddResolverType} from "../../../relay-runtime/store/__tests__/resolvers/CounterSuspendsWhenOddOnUser.js"; // Type assertion validating that `userCounterSuspendsWhenOddResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTestNestedQuery.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTestNestedQuery.graphql.js index b364a4b19e537..9487f72a5be48 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTestNestedQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTestNestedQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<7247feaaaded8b9f5fd479b7e10f0710>> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { InnerResolver$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/InnerResolver.graphql"; import type { OuterResolver$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/OuterResolver.graphql"; import {inner as queryInnerResolverType} from "../../../relay-runtime/store/__tests__/resolvers/InnerResolver.js"; diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTestOptimisticUpdateQuery.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTestOptimisticUpdateQuery.graphql.js index 53d50421f2989..d643bc1090cef 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTestOptimisticUpdateQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTestOptimisticUpdateQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<70efe9c0e5fda27be9e5ff324c3d000a>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { LiveCounterResolver$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/LiveCounterResolver.graphql"; import {counter as queryCounterResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveCounterResolver.js"; // Type assertion validating that `queryCounterResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTestWithGCCounterQuery.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTestWithGCCounterQuery.graphql.js index 0b8fab29acf9e..559ede106501f 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTestWithGCCounterQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTestWithGCCounterQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {counter_no_fragment as queryCounterNoFragmentResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveCounterNoFragment.js"; // Type assertion validating that `queryCounterNoFragmentResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/LiveResolversTestWithGCQuery.graphql.js b/packages/react-relay/__tests__/__generated__/LiveResolversTestWithGCQuery.graphql.js index 49586bf6faea8..4b670a3026c41 100644 --- a/packages/react-relay/__tests__/__generated__/LiveResolversTestWithGCQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/LiveResolversTestWithGCQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<62eecd9bf7d2b6ab3badd7b3fa84eaa7>> + * @generated SignedSource<<12d498b506bbd3e617154f6c63904396>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { LiveCounterWithPossibleMissingFragmentDataResolverFragment$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/LiveCounterWithPossibleMissingFragmentDataResolverFragment.graphql"; import {live_counter_with_possible_missing_fragment_data as queryLiveCounterWithPossibleMissingFragmentDataResolverType} from "../../../relay-runtime/store/__tests__/resolvers/LiveCounterWithPossibleMissingFragmentDataResolver.js"; // Type assertion validating that `queryLiveCounterWithPossibleMissingFragmentDataResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/RelayResolverModelTestGetMutableEntityQuery.graphql.js b/packages/react-relay/__tests__/__generated__/RelayResolverModelTestGetMutableEntityQuery.graphql.js index df5db6c912ed3..3450f5930dad5 100644 --- a/packages/react-relay/__tests__/__generated__/RelayResolverModelTestGetMutableEntityQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/RelayResolverModelTestGetMutableEntityQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<66d0b3cabdba7cc580b3e2e2169ef5d8>> + * @generated SignedSource<<37153b011eadba493360d4d9d22f7598>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {mutable_entity as queryMutableEntityResolverType} from "../../../relay-runtime/store/__tests__/resolvers/MutableModel.js"; // Type assertion validating that `queryMutableEntityResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/react-relay/__tests__/__generated__/RelayResolverModelTestSuspendedWeakClientEdgeQuery.graphql.js b/packages/react-relay/__tests__/__generated__/RelayResolverModelTestSuspendedWeakClientEdgeQuery.graphql.js index 8dd12c85a037d..01fdac2bfe781 100644 --- a/packages/react-relay/__tests__/__generated__/RelayResolverModelTestSuspendedWeakClientEdgeQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/RelayResolverModelTestSuspendedWeakClientEdgeQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<176174ea62819176711517f1560af164>> + * @generated SignedSource<<7b9c61003da6eac8a0943edbf94fce8f>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,8 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { DataID } from "relay-runtime"; +import type { LiveState, DataID } from "relay-runtime"; import type { TodoDescription____relay_model_instance$data } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/TodoDescription____relay_model_instance.graphql"; import type { TodoModel____relay_model_instance$data } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/TodoModel____relay_model_instance.graphql"; import {todo_model as queryTodoModelResolverType} from "../../../relay-runtime/store/__tests__/resolvers/QueryTodoModel.js"; diff --git a/packages/react-relay/__tests__/__generated__/RelayResolverModelTestWeakLiveFieldQuery.graphql.js b/packages/react-relay/__tests__/__generated__/RelayResolverModelTestWeakLiveFieldQuery.graphql.js index d38ec507c5e48..cea27de363e13 100644 --- a/packages/react-relay/__tests__/__generated__/RelayResolverModelTestWeakLiveFieldQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/RelayResolverModelTestWeakLiveFieldQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<0b68cc974da497e1539c5b4fee8671ce>> + * @generated SignedSource<<284ae496bcef2a16f2448b29dd6aaf8d>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { TodoDescription____relay_model_instance$data } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/TodoDescription____relay_model_instance.graphql"; import {live_todo_description as queryLiveTodoDescriptionResolverType} from "../../../relay-runtime/store/__tests__/resolvers/TodoModel.js"; // Type assertion validating that `queryLiveTodoDescriptionResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestExceptionalProjectQuery.graphql.js b/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestExceptionalProjectQuery.graphql.js index 4eadbff76d568..630c291ea763a 100644 --- a/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestExceptionalProjectQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestExceptionalProjectQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { RelayResolversWithOutputTypeTestFragment$fragmentType } from "./RelayResolversWithOutputTypeTestFragment.graphql"; import {todos as queryTodosResolverType} from "../../../relay-runtime/store/__tests__/resolvers/QueryTodos.js"; // Type assertion validating that `queryTodosResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestManyLiveTodosQuery.graphql.js b/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestManyLiveTodosQuery.graphql.js index ab84ade25bcb5..92197d30bdeaf 100644 --- a/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestManyLiveTodosQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestManyLiveTodosQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<0b40dd160bcd96708cef6246a5556bbd>> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { RelayResolversWithOutputTypeTestFragment$fragmentType } from "./RelayResolversWithOutputTypeTestFragment.graphql"; import {many_live_todos as queryManyLiveTodosResolverType} from "../../../relay-runtime/store/__tests__/resolvers/QueryManyLiveTodos.js"; // Type assertion validating that `queryManyLiveTodosResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestTodoQuery.graphql.js b/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestTodoQuery.graphql.js index 2191099a97370..36c834602e0b1 100644 --- a/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestTodoQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestTodoQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<4574da14e49da2cd2c7a51dfe63919b2>> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { RelayResolversWithOutputTypeTestFragment$fragmentType } from "./RelayResolversWithOutputTypeTestFragment.graphql"; import {todo as queryTodoResolverType} from "../../../relay-runtime/store/__tests__/resolvers/QueryTodo.js"; // Type assertion validating that `queryTodoResolverType` resolver is correctly implemented. diff --git a/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestTodoWithBlockedQuery.graphql.js b/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestTodoWithBlockedQuery.graphql.js index f7343fb348b00..8f9ec69b98200 100644 --- a/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestTodoWithBlockedQuery.graphql.js +++ b/packages/react-relay/__tests__/__generated__/RelayResolversWithOutputTypeTestTodoWithBlockedQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<718500b4e94b3942a8dda7d57826579e>> + * @generated SignedSource<<32a7b5f30be2c05a1d25e3d4f47213e6>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { RelayResolversWithOutputTypeTestFragment$fragmentType } from "./RelayResolversWithOutputTypeTestFragment.graphql"; import type { TodoBlockedByResolverFragment$key } from "./../../../relay-runtime/store/__tests__/resolvers/__generated__/TodoBlockedByResolverFragment.graphql"; import {todo as queryTodoResolverType} from "../../../relay-runtime/store/__tests__/resolvers/QueryTodo.js"; diff --git a/packages/relay-runtime/store/__tests__/__generated__/RelayReaderRequiredFieldsTest28Query.graphql.js b/packages/relay-runtime/store/__tests__/__generated__/RelayReaderRequiredFieldsTest28Query.graphql.js index aba6c38b594ac..478238d218272 100644 --- a/packages/relay-runtime/store/__tests__/__generated__/RelayReaderRequiredFieldsTest28Query.graphql.js +++ b/packages/relay-runtime/store/__tests__/__generated__/RelayReaderRequiredFieldsTest28Query.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<2982ed5188239b12ccf6a67c6f56d80c>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,8 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { DataID } from "relay-runtime"; +import type { LiveState, DataID } from "relay-runtime"; import {live_user_resolver_always_suspend as queryLiveUserResolverAlwaysSuspendResolverType} from "../resolvers/LiveUserAlwaysSuspendResolver.js"; // Type assertion validating that `queryLiveUserResolverAlwaysSuspendResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/__generated__/RelayReferenceMarkerTestResolverWithFragmentDependencyQuery.graphql.js b/packages/relay-runtime/store/__tests__/__generated__/RelayReferenceMarkerTestResolverWithFragmentDependencyQuery.graphql.js index 08c5b654c5d66..b3cf41a7943b2 100644 --- a/packages/relay-runtime/store/__tests__/__generated__/RelayReferenceMarkerTestResolverWithFragmentDependencyQuery.graphql.js +++ b/packages/relay-runtime/store/__tests__/__generated__/RelayReferenceMarkerTestResolverWithFragmentDependencyQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { LiveCounterResolver$key } from "./../resolvers/__generated__/LiveCounterResolver.graphql"; import {counter as queryCounterResolverType} from "../resolvers/LiveCounterResolver.js"; // Type assertion validating that `queryCounterResolverType` resolver is correctly implemented. diff --git a/packages/relay-runtime/store/__tests__/__generated__/RelayReferenceMarkerTestResolverWithNoFragmentQuery.graphql.js b/packages/relay-runtime/store/__tests__/__generated__/RelayReferenceMarkerTestResolverWithNoFragmentQuery.graphql.js index 84749b51fa617..036168857e4f1 100644 --- a/packages/relay-runtime/store/__tests__/__generated__/RelayReferenceMarkerTestResolverWithNoFragmentQuery.graphql.js +++ b/packages/relay-runtime/store/__tests__/__generated__/RelayReferenceMarkerTestResolverWithNoFragmentQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<277374b46b3dd42750fd447202ecab76>> + * @generated SignedSource<<6dd05bbb2acf97942a95db99e6e64142>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {counter_no_fragment as queryCounterNoFragmentResolverType} from "../resolvers/LiveCounterNoFragment.js"; // Type assertion validating that `queryCounterNoFragmentResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/CounterPlusOneResolver.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/CounterPlusOneResolver.graphql.js index 51d0d1f62dabf..7b450786f6c2a 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/CounterPlusOneResolver.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/CounterPlusOneResolver.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<9c4ef4d119c9e629e95a1e44ba3e5219>> * @flow * @lightSyntaxTransform * @nogrep @@ -19,8 +19,7 @@ /*:: import type { Fragment, ReaderFragment } from 'relay-runtime'; import type { LiveCounterResolver$key } from "./LiveCounterResolver.graphql"; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { FragmentType } from "relay-runtime"; +import type { LiveState, FragmentType } from "relay-runtime"; import {counter as queryCounterResolverType} from "../LiveCounterResolver.js"; // Type assertion validating that `queryCounterResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveExternalGreetingFragment.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveExternalGreetingFragment.graphql.js index f4df95a6c9cd9..5e474d7a9379b 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveExternalGreetingFragment.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveExternalGreetingFragment.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<7b8755c0195c7f28da377eb79b22e7de>> + * @generated SignedSource<<62f3c8051cfe17199571c43727101d27>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,8 +18,7 @@ /*:: import type { Fragment, ReaderFragment } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { FragmentType, DataID } from "relay-runtime"; +import type { LiveState, FragmentType, DataID } from "relay-runtime"; import {live_user_suspends_when_odd as queryLiveUserSuspendsWhenOddResolverType} from "../LiveUserSuspendsWhenOdd.js"; // Type assertion validating that `queryLiveUserSuspendsWhenOddResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestBatchingQuery.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestBatchingQuery.graphql.js index 112366c660d9d..6b038ae53d05d 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestBatchingQuery.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestBatchingQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<912f028e2adf851eb8324dbb8c022041>> + * @generated SignedSource<<8d50d8d1c04f7dc1b82016f2d18e2a3c>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {counter_no_fragment as queryCounterNoFragmentResolverType} from "../LiveCounterNoFragment.js"; // Type assertion validating that `queryCounterNoFragmentResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestHandlesErrorOnReadQuery.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestHandlesErrorOnReadQuery.graphql.js index 23ae8698c923a..7eccf9608ac4d 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestHandlesErrorOnReadQuery.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestHandlesErrorOnReadQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<2b4289691ad58384a61d41abd48c29ac>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {counter_throws_when_odd as queryCounterThrowsWhenOddResolverType} from "../QueryLiveResolverThrowsOnRead.js"; // Type assertion validating that `queryCounterThrowsWhenOddResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestHandlesErrorOnUpdateQuery.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestHandlesErrorOnUpdateQuery.graphql.js index 33dd6e267826c..1252f954c3a06 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestHandlesErrorOnUpdateQuery.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestHandlesErrorOnUpdateQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<6216716280a5b6f13d885519bf6d068b>> + * @generated SignedSource<<84dd07289f52b49c224048d9caeb07fb>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {counter_throws_when_odd as queryCounterThrowsWhenOddResolverType} from "../QueryLiveResolverThrowsOnRead.js"; // Type assertion validating that `queryCounterThrowsWhenOddResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestUnsubscribesWhenSuspendsQuery.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestUnsubscribesWhenSuspendsQuery.graphql.js index ddd93ea3fbf73..f9541a7919d22 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestUnsubscribesWhenSuspendsQuery.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/LiveResolversTestUnsubscribesWhenSuspendsQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<2abe93441abdb20ba1d3753369ac19d3>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,8 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { DataID } from "relay-runtime"; +import type { LiveState, DataID } from "relay-runtime"; import type { LiveExternalGreetingFragment$key } from "./LiveExternalGreetingFragment.graphql"; import {live_external_greeting as queryLiveExternalGreetingResolverType} from "../LiveExternalGreeting.js"; // Type assertion validating that `queryLiveExternalGreetingResolverType` resolver is correctly implemented. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/OuterResolver.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/OuterResolver.graphql.js index 0ad605a864c32..587c6c3009503 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/OuterResolver.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/OuterResolver.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -19,8 +19,7 @@ /*:: import type { Fragment, ReaderFragment } from 'relay-runtime'; import type { InnerResolver$key } from "./InnerResolver.graphql"; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { FragmentType } from "relay-runtime"; +import type { LiveState, FragmentType } from "relay-runtime"; import {inner as queryInnerResolverType} from "../InnerResolver.js"; // Type assertion validating that `queryInnerResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestLiveWithRootFragmentQuery.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestLiveWithRootFragmentQuery.graphql.js index 550e26982a518..8c99e2705f3ef 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestLiveWithRootFragmentQuery.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestLiveWithRootFragmentQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<1caa95b9e78058ef465b807fa0ea11f6>> + * @generated SignedSource<<76ff85298c3d732fed397f2c964713df>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import type { LiveCounterResolver$key } from "./LiveCounterResolver.graphql"; import {counter as queryCounterResolverType} from "../LiveCounterResolver.js"; // Type assertion validating that `queryCounterResolverType` resolver is correctly implemented. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestResolverClientEdgeToClientSuspendedQuery.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestResolverClientEdgeToClientSuspendedQuery.graphql.js index 41c8d61141c15..fb65e81eb4e09 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestResolverClientEdgeToClientSuspendedQuery.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestResolverClientEdgeToClientSuspendedQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<21b45e76745acfe45bde6dab1f73d6bf>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,8 +18,7 @@ /*:: import type { ConcreteRequest, Query } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { DataID } from "relay-runtime"; +import type { LiveState, DataID } from "relay-runtime"; import type { AstrologicalSignNameResolver$key } from "./AstrologicalSignNameResolver.graphql"; import {name as astrologicalSignNameResolverType} from "../AstrologicalSignNameResolver.js"; // Type assertion validating that `astrologicalSignNameResolverType` resolver is correctly implemented. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestWithoutFragmentQuery.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestWithoutFragmentQuery.graphql.js index 0ee9102ef1a87..7b4fbca0b2a6f 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestWithoutFragmentQuery.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/ResolverGCTestWithoutFragmentQuery.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<2f3b4e0fc8b6e1933f12b26a35d50bc9>> * @flow * @lightSyntaxTransform * @nogrep @@ -18,7 +18,7 @@ /*:: import type { ClientRequest, ClientQuery } from 'relay-runtime'; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; +import type { LiveState } from "relay-runtime"; import {counter_no_fragment as queryCounterNoFragmentResolverType} from "../LiveCounterNoFragment.js"; // Type assertion validating that `queryCounterNoFragmentResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoBlockedByResolverFragment.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoBlockedByResolverFragment.graphql.js index af9ba44147a3d..ea6fecab2436c 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoBlockedByResolverFragment.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoBlockedByResolverFragment.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<> + * @generated SignedSource<<31dede260e294905a28597464fa14b14>> * @flow * @lightSyntaxTransform * @nogrep @@ -19,8 +19,7 @@ /*:: import type { Fragment, ReaderFragment } from 'relay-runtime'; import type { TodoSelfResolverFragment$key } from "./TodoSelfResolverFragment.graphql"; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { FragmentType } from "relay-runtime"; +import type { LiveState, FragmentType } from "relay-runtime"; import {self as todoSelfResolverType} from "../TodoSelfResolver.js"; // Type assertion validating that `todoSelfResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoCompleteResolverFragment.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoCompleteResolverFragment.graphql.js index 143b80dd26517..772221c1d9a93 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoCompleteResolverFragment.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoCompleteResolverFragment.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<4af01da2c3736d54e7e1e581169682c4>> + * @generated SignedSource<<06be9606e2d922971a1baa73de79fddb>> * @flow * @lightSyntaxTransform * @nogrep @@ -19,8 +19,7 @@ /*:: import type { Fragment, ReaderFragment } from 'relay-runtime'; import type { TodoSelfResolverFragment$key } from "./TodoSelfResolverFragment.graphql"; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { FragmentType } from "relay-runtime"; +import type { LiveState, FragmentType } from "relay-runtime"; import {self as todoSelfResolverType} from "../TodoSelfResolver.js"; // Type assertion validating that `todoSelfResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoModel____relay_model_instance.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoModel____relay_model_instance.graphql.js index 97edac5aca3c3..0e28e08c96a0a 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoModel____relay_model_instance.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoModel____relay_model_instance.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<28a23ef096d5f2762e47fb7ff97c65e6>> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -19,8 +19,7 @@ /*:: import type { Fragment, ReaderFragment } from 'relay-runtime'; import type { TodoModel__id$data } from "./TodoModel__id.graphql"; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { FragmentType } from "relay-runtime"; +import type { LiveState, FragmentType } from "relay-runtime"; import {TodoModel as todoModelRelayModelInstanceResolverType} from "../TodoModel.js"; // Type assertion validating that `todoModelRelayModelInstanceResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoTextResolverFragment.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoTextResolverFragment.graphql.js index fcd466bfa9e72..d15b8fce27908 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoTextResolverFragment.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/TodoTextResolverFragment.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<3f8b6618677d0eb2cdffcd1e4c2462eb>> + * @generated SignedSource<<922430240481d7cdd5440ddf824c6772>> * @flow * @lightSyntaxTransform * @nogrep @@ -19,8 +19,7 @@ /*:: import type { Fragment, ReaderFragment } from 'relay-runtime'; import type { TodoSelfResolverFragment$key } from "./TodoSelfResolverFragment.graphql"; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { FragmentType } from "relay-runtime"; +import type { LiveState, FragmentType } from "relay-runtime"; import {self as todoSelfResolverType} from "../TodoSelfResolver.js"; // Type assertion validating that `todoSelfResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/__tests__/resolvers/__generated__/UserNameAndCounterSuspendsWhenOdd.graphql.js b/packages/relay-runtime/store/__tests__/resolvers/__generated__/UserNameAndCounterSuspendsWhenOdd.graphql.js index 87dce3c702791..a24185c01d2c2 100644 --- a/packages/relay-runtime/store/__tests__/resolvers/__generated__/UserNameAndCounterSuspendsWhenOdd.graphql.js +++ b/packages/relay-runtime/store/__tests__/resolvers/__generated__/UserNameAndCounterSuspendsWhenOdd.graphql.js @@ -6,7 +6,7 @@ * * @oncall relay * - * @generated SignedSource<<2be21316e261d3bf70828769e5ed76d7>> + * @generated SignedSource<> * @flow * @lightSyntaxTransform * @nogrep @@ -19,8 +19,7 @@ /*:: import type { Fragment, ReaderFragment } from 'relay-runtime'; import type { CounterSuspendsWhenOdd$key } from "./CounterSuspendsWhenOdd.graphql"; -import type { LiveState } from "relay-runtime/store/experimental-live-resolvers/LiveResolverStore"; -import type { FragmentType } from "relay-runtime"; +import type { LiveState, FragmentType } from "relay-runtime"; import {counter_suspends_when_odd as queryCounterSuspendsWhenOddResolverType} from "../CounterSuspendsWhenOdd.js"; // Type assertion validating that `queryCounterSuspendsWhenOddResolverType` resolver is correctly implemented. // A type error here indicates that the type signature of the resolver module is incorrect. diff --git a/packages/relay-runtime/store/experimental-live-resolvers/LiveResolverStore.js b/packages/relay-runtime/store/experimental-live-resolvers/LiveResolverStore.js index b87ff23356a49..4ce54a606a471 100644 --- a/packages/relay-runtime/store/experimental-live-resolvers/LiveResolverStore.js +++ b/packages/relay-runtime/store/experimental-live-resolvers/LiveResolverStore.js @@ -55,7 +55,7 @@ const { } = require('./LiveResolverCache'); const invariant = require('invariant'); -// Used by codegen. +// Provided for backward compatibility. Prefer using the version exported from 'relay-runtime'. export type {LiveState} from '../RelayStoreTypes'; // HACK