@internetarchive/collection-browser 2.21.0 → 2.21.1-alpha-webdev7886.0

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.
@@ -283,6 +283,13 @@ export interface CollectionBrowserDataSourceInterface
283
283
  */
284
284
  setFetchesSuppressed(suppressed: boolean): void;
285
285
 
286
+ /**
287
+ * Sets whether the end of the current data has been reached, indicating whether further
288
+ * pages should be looked up.
289
+ * @param reached Whether we are at the end of the data for the current query state
290
+ */
291
+ setEndOfDataReached(reached: boolean): void;
292
+
286
293
  /**
287
294
  * Notifies the data source that a query change has occurred, which may trigger a data
288
295
  * reset & new fetches.
@@ -399,6 +399,13 @@ export class CollectionBrowserDataSource
399
399
  this.suppressFetches = suppressed;
400
400
  }
401
401
 
402
+ /**
403
+ * @inheritdoc
404
+ */
405
+ setEndOfDataReached(reached: boolean): void {
406
+ this.endOfDataReached = reached;
407
+ }
408
+
402
409
  /**
403
410
  * @inheritdoc
404
411
  */