relay-runtime 0.0.0-main-5ee00e19 → 0.0.0-main-fe7af884

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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-5ee00e19
2
+ * Relay v0.0.0-main-fe7af884
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-5ee00e19
2
+ * Relay v0.0.0-main-fe7af884
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "relay-runtime",
3
3
  "description": "A core runtime for building GraphQL-driven applications.",
4
- "version": "0.0.0-main-5ee00e19",
4
+ "version": "0.0.0-main-fe7af884",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"
@@ -1653,7 +1653,7 @@ class Executor<TMutation: MutationParameters> {
1653
1653
  return this._getPublishQueue(this._actorIdentifier);
1654
1654
  }
1655
1655
 
1656
- _getActorsToVisit(): $ReadOnlySet<ActorIdentifier> {
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: ?$ReadOnlySet<DataID>,
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: $ReadOnlySet<DataID>,
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): $ReadOnlySet<DataID> | null {
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,