relay-runtime 13.0.0-rc.2 → 13.0.0
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/LICENSE +1 -1
- package/index.js +2 -2
- package/index.js.flow +2 -0
- package/lib/index.js +3 -0
- package/lib/store/ResolverFragments.js +2 -2
- package/lib/subscription/requestSubscription.js +0 -2
- package/mutations/RelayDeclarativeMutationConfig.js.flow +0 -1
- package/package.json +1 -1
- package/relay-runtime.js +2 -2
- package/relay-runtime.min.js +3 -3
- package/store/RelayModernStore.js.flow +0 -1
- package/store/ResolverFragments.js.flow +2 -2
- package/subscription/requestSubscription.js.flow +0 -1
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
|
|
13
13
|
'use strict';
|
|
14
14
|
|
|
15
|
-
import type {ActorIdentifier} from '../multi-actor-environment/ActorIdentifier';
|
|
16
15
|
import type {DataID, Disposable} from '../util/RelayRuntimeTypes';
|
|
17
16
|
import type {Availability} from './DataChecker';
|
|
18
17
|
import type {GetDataID} from './RelayResponseNormalizer';
|
|
@@ -42,9 +42,9 @@ function withResolverContext<T>(context: ResolverContext, cb: () => T): T {
|
|
|
42
42
|
// The declarations ensure that the type of the returned data is:
|
|
43
43
|
// - non-nullable if the provided ref type is non-nullable
|
|
44
44
|
// - nullable if the provided ref type is nullable
|
|
45
|
-
// - array of non-nullable if the
|
|
45
|
+
// - array of non-nullable if the provided ref type is an array of
|
|
46
46
|
// non-nullable refs
|
|
47
|
-
// - array of nullable if the
|
|
47
|
+
// - array of nullable if the provided ref type is an array of nullable refs
|
|
48
48
|
|
|
49
49
|
declare function readFragment<
|
|
50
50
|
TKey: {+$data?: mixed, +$fragmentSpreads: FragmentType, ...},
|
|
@@ -30,7 +30,6 @@ const {
|
|
|
30
30
|
createOperationDescriptor,
|
|
31
31
|
} = require('../store/RelayModernOperationDescriptor');
|
|
32
32
|
const {createReaderSelector} = require('../store/RelayModernSelector');
|
|
33
|
-
const RelayFeatureFlags = require('../util/RelayFeatureFlags');
|
|
34
33
|
const warning = require('warning');
|
|
35
34
|
|
|
36
35
|
export type SubscriptionParameters = {|
|