relay-runtime 0.0.0-main-5ee00e19 → 0.0.0-main-df0070df
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/experimental.js
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1653,7 +1653,7 @@ class Executor<TMutation: MutationParameters> {
|
|
|
1653
1653
|
return this._getPublishQueue(this._actorIdentifier);
|
|
1654
1654
|
}
|
|
1655
1655
|
|
|
1656
|
-
_getActorsToVisit():
|
|
1656
|
+
_getActorsToVisit(): ReadonlySet<ActorIdentifier> {
|
|
1657
1657
|
if (this._seenActors.size === 0) {
|
|
1658
1658
|
return new Set([this._actorIdentifier]);
|
|
1659
1659
|
} else {
|
|
@@ -881,7 +881,7 @@ class LiveResolverCache implements ResolverCache {
|
|
|
881
881
|
function updateCurrentSource(
|
|
882
882
|
currentSource: MutableRecordSource,
|
|
883
883
|
nextSource: RecordSource,
|
|
884
|
-
prevOutputTypeRecordIDs:
|
|
884
|
+
prevOutputTypeRecordIDs: ?ReadonlySet<DataID>,
|
|
885
885
|
): DataIDSet {
|
|
886
886
|
const updatedDataIDs = new Set<DataID>();
|
|
887
887
|
|
|
@@ -979,7 +979,7 @@ function markInvalidatedLinkedResolverRecords(
|
|
|
979
979
|
|
|
980
980
|
function unsubscribeFromLiveResolverRecordsImpl(
|
|
981
981
|
recordSource: RecordSource,
|
|
982
|
-
invalidatedDataIDs:
|
|
982
|
+
invalidatedDataIDs: ReadonlySet<DataID>,
|
|
983
983
|
): void {
|
|
984
984
|
if (invalidatedDataIDs.size === 0) {
|
|
985
985
|
return;
|
|
@@ -18,7 +18,7 @@ const RelayModernRecord = require('../RelayModernRecord');
|
|
|
18
18
|
const {RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS} = require('../RelayStoreUtils');
|
|
19
19
|
const invariant = require('invariant');
|
|
20
20
|
|
|
21
|
-
function getOutputTypeRecordIDs(record: Record):
|
|
21
|
+
function getOutputTypeRecordIDs(record: Record): ReadonlySet<DataID> | null {
|
|
22
22
|
const maybeOutputTypeRecordIDs = RelayModernRecord.getValue(
|
|
23
23
|
record,
|
|
24
24
|
RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,
|