diff --git a/packages/relay-runtime/util/RelayRuntimeTypes.js b/packages/relay-runtime/util/RelayRuntimeTypes.js index cac7762a2c251..4d854b5b77bc4 100644 --- a/packages/relay-runtime/util/RelayRuntimeTypes.js +++ b/packages/relay-runtime/util/RelayRuntimeTypes.js @@ -49,6 +49,7 @@ export type VariablesOf = $ElementType; * in milliseconds. (This value will be passed to setTimeout.) * - `liveConfigId`: causes a query to live update by calling GraphQLLiveQuery, * it represents a configuration of gateway when doing live query + * - `onSubscribe`: Not in use. * - `metadata`: user-supplied metadata. * - `transactionId`: a user-supplied value, intended for use as a unique id for * a given instance of executing an operation. @@ -57,6 +58,7 @@ export type CacheConfig = {| force?: ?boolean, poll?: ?number, liveConfigId?: ?string, + onSubscribe?: () => void, metadata?: {[key: string]: mixed, ...}, transactionId?: ?string, |};