use sparse io fir partial sync in case when file is used

This commit is contained in:
Nikita Sivukhin
2025-11-12 14:20:26 +04:00
parent a25e3e76eb
commit 2d517f9fd7
5 changed files with 55 additions and 15 deletions

View File

@@ -110,7 +110,7 @@ export interface DatabaseOpts {
/**
* optional parameter to enable partial sync for the database
*/
partial?: boolean;
partialBootstrapStrategy?: { kind: 'prefix', length: number } | { kind: 'query', query: string };
}
export interface DatabaseStats {
/**