@@ -1999,16 +1999,6 @@ class GrapheneGraphServerInterface {
1999
1999
async getRoot ( segment : bigint , timestamp = 0 ) {
2000
2000
const timestampEpoch = timestamp / 1000 ;
2001
2001
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 ;
2012
2002
2013
2003
const jsonResp = await withErrorMessageHTTP (
2014
2004
fetchOkImpl (
@@ -2545,18 +2535,6 @@ const addSelection = (
2545
2535
selection . annotationReference = ref ;
2546
2536
} ;
2547
2537
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
-
2560
2538
const synchronizeAnnotationSource = (
2561
2539
source : WatchableSet < SegmentSelection > ,
2562
2540
state : AnnotationLayerState ,
0 commit comments