Skip to content

Commit 060ef39

Browse files
authored
Fix: remove unused inputVendors code (#670)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Removed an unused list of scraper vendors from the application. No changes to visible features or user experience. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 3a14ced commit 060ef39

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

packages/main/src/backend/import/bankScraper.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
import { type AccountToScrapeConfig } from '@/backend/commonTypes';
2-
import { CompanyTypes, createScraper, SCRAPERS, type ScraperOptions } from 'israeli-bank-scrapers-core';
3-
4-
export const inputVendors = Object.keys(SCRAPERS)
5-
// Deprecated. see https://github.com/eshaham/israeli-bank-scrapers/blob/07ecd3de0c4aa051f119aa943493f0cda943158c/src/definitions.ts#L26-L29
6-
.filter((key) => key !== CompanyTypes.hapoalimBeOnline)
7-
.map((key) => ({
8-
key,
9-
...SCRAPERS[key as CompanyTypes],
10-
}));
2+
import { createScraper, type ScraperOptions } from 'israeli-bank-scrapers-core';
113

124
interface ScrapeParameters {
135
companyId: AccountToScrapeConfig['key'];

0 commit comments

Comments
 (0)