77 * @module clients/multi-index-runner
88 */
99
10- import type { IndexStoreReader , IndexStore } from "../stores/types.js" ;
10+ import type { IndexStoreReader } from "../stores/types.js" ;
1111import type { Source } from "../sources/types.js" ;
1212import type { IndexStateSearchOnly } from "../core/types.js" ;
1313import { getSourceIdentifier , getResolvedRef } from "../core/types.js" ;
@@ -26,7 +26,7 @@ export interface IndexInfo {
2626/** Configuration for MultiIndexRunner */
2727export interface MultiIndexRunnerConfig {
2828 /** Store to load indexes from */
29- store : IndexStoreReader | IndexStore ;
29+ store : IndexStoreReader ;
3030 /**
3131 * Index names to expose. If undefined, all indexes in the store are exposed.
3232 */
@@ -95,7 +95,7 @@ export async function createSourceFromState(state: IndexStateSearchOnly): Promis
9595 * Lazily initializes SearchClient instances as needed and caches them.
9696 */
9797export class MultiIndexRunner {
98- private readonly store : IndexStoreReader | IndexStore ;
98+ private readonly store : IndexStoreReader ;
9999 private readonly searchOnly : boolean ;
100100 private clientUserAgent ?: string ;
101101 private readonly clientCache = new Map < string , SearchClient > ( ) ;
@@ -108,7 +108,7 @@ export class MultiIndexRunner {
108108 indexes : IndexInfo [ ] ;
109109
110110 private constructor (
111- store : IndexStoreReader | IndexStore ,
111+ store : IndexStoreReader ,
112112 indexNames : string [ ] ,
113113 indexes : IndexInfo [ ] ,
114114 searchOnly : boolean ,
0 commit comments