Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(store): add evga eu #172

Merged
merged 4 commits into from
Sep 22, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ Here is a list of variables that you can use to customize your newly copied `.en
| Best Buy | `bestbuy`|
| B&H | `bandh`|
| EVGA | `evga`|
| eu.EVGA.com | `evga-eu`|
| Micro Center | `microcenter`|
| Newegg | `newegg`|
| Newegg.ca | `newegg-ca`|
Expand Down
34 changes: 34 additions & 0 deletions src/store/model/evga-eu.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import {Store} from './store';

export const EvgaEu: Store = {
links: [
{
brand: 'evga',
model: 'xc3 black',
series: '3080',
url: 'https://eu.evga.com/products/product.aspx?pn=10G-P5-3881-KR'
},
{
brand: 'evga',
model: 'ftw3',
series: '3080',
url: 'https://eu.evga.com/products/product.aspx?pn=10G-P5-3895-KR'
},
{
brand: 'evga',
model: 'xc3',
series: '3080',
url: 'https://eu.evga.com/products/product.aspx?pn=10G-P5-3883-KR'
},
{
brand: 'evga',
model: 'xc3 ultra',
series: '3080',
url: 'https://eu.evga.com/products/product.aspx?pn=10G-P5-3885-KR'
}
],
labels: {
outOfStock: ['tbd', 'out of stock', 'error reaching the evga website', 'oops! something broke.']
},
name: 'evga-eu'
};
2 changes: 2 additions & 0 deletions src/store/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {BestBuy} from './bestbuy';
import {BAndH} from './bandh';
import {Config} from '../../config';
import {Evga} from './evga';
import {EvgaEu} from './evga-eu';
import {MicroCenter} from './microcenter';
import {NewEgg} from './newegg';
import {NewEggCa} from './newegg-ca';
Expand All @@ -22,6 +23,7 @@ const masterList = new Map([
[BestBuy.name, BestBuy],
[BAndH.name, BAndH],
[Evga.name, Evga],
[EvgaEu.name, EvgaEu],
[MicroCenter.name, MicroCenter],
[NewEgg.name, NewEgg],
[NewEggCa.name, NewEggCa],
Expand Down