@@ -1999,16 +1999,6 @@ class GrapheneGraphServerInterface {
19991999 async getRoot ( segment : bigint , timestamp = 0 ) {
20002000 const timestampEpoch = timestamp / 1000 ;
20012001 const { fetchOkImpl, baseUrl } = this . httpSource ;
2002- const response = await fetchOkImpl ( `${ baseUrl } /oldest_timestamp` ) . then (
2003- ( response ) => response . json ( ) ,
2004- ) ;
2005- const isoString = verifyObjectProperty ( response , "iso" , verifyString ) ;
2006- return new Date ( isoString ) . valueOf ( ) ;
2007- }
2008-
2009- async getRoot ( segment : Uint64 , timestamp = 0 ) {
2010- const timestampEpoch = timestamp / 1000 ;
2011- const { fetchOkImpl, baseUrl } = this . httpSource ;
20122002
20132003 const jsonResp = await withErrorMessageHTTP (
20142004 fetchOkImpl (
@@ -2545,18 +2535,6 @@ const addSelection = (
25452535 selection . annotationReference = ref ;
25462536} ;
25472537
2548- const synchronizeAnnotationSource = (
2549- source : WatchableSet < SegmentSelection > ,
2550- state : AnnotationLayerState ,
2551- ) => {
2552- const annotationSource = state . source ;
2553- annotationSource . childDeleted . add ( ( annotationId ) => {
2554- const selection = [ ...source ] . find (
2555- ( selection ) => selection . annotationReference ?. id === annotationId ,
2556- ) ;
2557- if ( selection ) source . delete ( selection ) ;
2558- } ) ;
2559-
25602538const synchronizeAnnotationSource = (
25612539 source : WatchableSet < SegmentSelection > ,
25622540 state : AnnotationLayerState ,
0 commit comments