2018-08-17 05:33:07 +02:00
|
|
|
import { CipherService } from 'jslib/abstractions/cipher.service';
|
|
|
|
|
|
|
|
import { SearchService } from 'jslib/services/search.service';
|
|
|
|
|
|
|
|
export class PopupSearchService extends SearchService {
|
2020-09-15 16:50:45 +02:00
|
|
|
constructor(private mainSearchService: SearchService, cipherService: CipherService) {
|
|
|
|
super(cipherService);
|
2018-08-17 05:33:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
clearIndex() {
|
|
|
|
throw new Error('Not available.');
|
|
|
|
}
|
|
|
|
|
|
|
|
indexCiphers(): Promise<void> {
|
|
|
|
throw new Error('Not available.');
|
|
|
|
}
|
|
|
|
|
|
|
|
getIndexForSearch() {
|
|
|
|
return this.mainSearchService.getIndexForSearch();
|
|
|
|
}
|
|
|
|
}
|