@firebase/firestore 4.7.1-canary.ca4dbcf3f → 4.7.1-canary.ff0475c41

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.
@@ -4960,7 +4960,7 @@ interface SharedClientState {
4960
4960
  * If the target id is already associated with local client, the method simply
4961
4961
  * returns its `QueryTargetState`.
4962
4962
  */
4963
- addLocalQueryTarget(targetId: TargetId): QueryTargetState;
4963
+ addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
4964
4964
  /** Removes the Query Target ID association from the local client. */
4965
4965
  removeLocalQueryTarget(targetId: TargetId): void;
4966
4966
  /** Checks whether the target is associated with the local client. */
@@ -60,7 +60,7 @@ export interface SharedClientState {
60
60
  * If the target id is already associated with local client, the method simply
61
61
  * returns its `QueryTargetState`.
62
62
  */
63
- addLocalQueryTarget(targetId: TargetId): QueryTargetState;
63
+ addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
64
64
  /** Removes the Query Target ID association from the local client. */
65
65
  removeLocalQueryTarget(targetId: TargetId): void;
66
66
  /** Checks whether the target is associated with the local client. */
@@ -232,7 +232,7 @@ export declare class WebStorageSharedClientState implements SharedClientState {
232
232
  isActiveQueryTarget(targetId: TargetId): boolean;
233
233
  addPendingMutation(batchId: BatchId): void;
234
234
  updateMutationState(batchId: BatchId, state: 'acknowledged' | 'rejected', error?: FirestoreError): void;
235
- addLocalQueryTarget(targetId: TargetId): QueryTargetState;
235
+ addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
236
236
  removeLocalQueryTarget(targetId: TargetId): void;
237
237
  isLocalQueryTarget(targetId: TargetId): boolean;
238
238
  clearQueryState(targetId: TargetId): void;
@@ -296,7 +296,7 @@ export declare class MemorySharedClientState implements SharedClientState {
296
296
  sequenceNumberHandler: ((sequenceNumber: ListenSequenceNumber) => void) | null;
297
297
  addPendingMutation(batchId: BatchId): void;
298
298
  updateMutationState(batchId: BatchId, state: 'acknowledged' | 'rejected', error?: FirestoreError): void;
299
- addLocalQueryTarget(targetId: TargetId): QueryTargetState;
299
+ addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
300
300
  updateQueryState(targetId: TargetId, state: QueryTargetState, error?: FirestoreError): void;
301
301
  removeLocalQueryTarget(targetId: TargetId): void;
302
302
  isLocalQueryTarget(targetId: TargetId): boolean;