relay-runtime 0.0.0-main-d7cde3ab → 0.0.0-main-c3ad9027
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/index.js +1 -1
- package/index.js.flow +1 -1
- package/lib/mutations/RelayRecordSourceProxy.js +7 -0
- package/lib/mutations/RelayRecordSourceSelectorProxy.js +7 -0
- package/lib/mutations/readUpdatableQuery_EXPERIMENTAL.js +238 -0
- package/mutations/RelayRecordSourceProxy.js.flow +12 -1
- package/mutations/RelayRecordSourceSelectorProxy.js.flow +12 -1
- package/mutations/readUpdatableQuery_EXPERIMENTAL.js.flow +309 -0
- package/package.json +1 -1
- package/relay-runtime.js +2 -2
- package/relay-runtime.min.js +2 -2
- package/store/RelayStoreTypes.js.flow +6 -0
|
@@ -26,6 +26,7 @@ import type {
|
|
|
26
26
|
UploadableMap,
|
|
27
27
|
} from '../network/RelayNetworkTypes';
|
|
28
28
|
import type RelayObservable from '../network/RelayObservable';
|
|
29
|
+
import type {GraphQLTaggedNode} from '../query/GraphQLTag';
|
|
29
30
|
import type {RequestIdentifier} from '../util/getRequestIdentifier';
|
|
30
31
|
import type {
|
|
31
32
|
NormalizationArgument,
|
|
@@ -43,6 +44,7 @@ import type {
|
|
|
43
44
|
CacheConfig,
|
|
44
45
|
DataID,
|
|
45
46
|
Disposable,
|
|
47
|
+
OperationType,
|
|
46
48
|
RenderPolicy,
|
|
47
49
|
Variables,
|
|
48
50
|
} from '../util/RelayRuntimeTypes';
|
|
@@ -448,6 +450,10 @@ export interface RecordSourceProxy {
|
|
|
448
450
|
get(dataID: DataID): ?RecordProxy;
|
|
449
451
|
getRoot(): RecordProxy;
|
|
450
452
|
invalidateStore(): void;
|
|
453
|
+
readUpdatableQuery_EXPERIMENTAL<TQuery: OperationType>(
|
|
454
|
+
query: GraphQLTaggedNode,
|
|
455
|
+
variables: TQuery['variables'],
|
|
456
|
+
): TQuery['response'];
|
|
451
457
|
}
|
|
452
458
|
|
|
453
459
|
export interface ReadOnlyRecordSourceProxy {
|