aboutsummaryrefslogblamecommitdiff
path: root/src/background/completion/TabRepository.ts
blob: 57dbf21b3510b1bb32ec8baa371054e4ae52a0db (plain) (tree)
1
2
3
4
5
6
7
8
                   





                      

                                                                   
 
                                                     
 
export type Tab = {
  id: number;
  index: number;
  active: boolean;
  title: string;
  url: string;
  faviconUrl?: string;
};

export default interface TabRepository {
  queryTabs(query: string, excludePinned: boolean): Promise<Tab[]>;

  getAllTabs(excludePinned: boolean): Promise<Tab[]>;
}