Skip to content

Commit

Permalink
feat(store): support for azerty (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
DisguisedOtter authored Oct 20, 2020
1 parent 062201f commit 58416e1
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ Here is a list of variables that you can use to customize your newly copied `.en
| Amazon (UK) | `amazon-uk`|
| Aria PC | `aria`|
| ASUS | `asus` |
| Azerty | `azerty`|
| B&H | `bandh`|
| Best Buy | `bestbuy`|
| Best Buy (CA) | `bestbuy-ca`|
Expand Down
77 changes: 77 additions & 0 deletions src/store/model/azerty.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
import {Store} from './store';

export const Azerty: Store = {
labels: {
inStock: {
container: '.orderdelay',
text: ['Volgende werkdag in huis', '1 werkdag', '2-3 werkdagen']
},
outOfStock: {
container: '.orderdelay',
text: ['Onbekend', 'meer dan 10 werkdagen', 'Pre-order']
}
},
links: [
{
brand: 'test:brand',
model: 'test:model',
series: 'test:series',
url: 'https://azerty.nl/product/gigabyte/3756757/geforce-rtx-2060-oc-6g-grafische-kaart-geforce-rtx-2060'
},
{
brand: 'gigabyte',
model: 'aorus xtreme',
series: '3080',
url: 'https://azerty.nl/product/gigabyte/4349658/aorus-geforce-rtx-3080-xtreme-10g-grafische-kaart-gf-rtx-3080'
},
{
brand: 'msi',
model: 'ventus 3x oc',
series: '3080',
url: 'https://azerty.nl/product/msi/4346262/geforce-rtx-3080-ventus-3x-10g-oc-grafische-kaart-rtx-3080'
},
{
brand: 'asus',
model: 'tuf gaming',
series: '3080',
url: 'https://azerty.nl/product/asus/4346679/tuf-gaming-geforce-rtx-3080-grafische-kaart-gf-rtx-3080'
},
{
brand: 'msi',
model: 'gaming x trio',
series: '3080',
url: 'https://azerty.nl/product/msi/4346263/geforce-rtx-3080-gaming-x-trio-10g-grafische-kaart-rtx-3080'
},
{
brand: 'asus',
model: 'tuf oc gaming',
series: '3080',
url: 'https://azerty.nl/product/asus/4348176/tuf-gaming-geforce-rtx-3080-oc-grafische-kaart-gf-rtx-3080'
},
{
brand: 'asus',
model: 'rog strix oc gaming',
series: '3080',
url: 'https://azerty.nl/product/asus/4348174/rog-strix-geforce-rtx-3080-oc-grafische-kaart-gf-rtx-3080'
},
{
brand: 'zotac',
model: 'trinity',
series: '3080',
url: 'https://azerty.nl/product/zotac/4352301/gaming-geforce-rtx-3080-trinity-oc-grafische-kaart-gf-rtx-3080'
},
{
brand: 'gigabyte',
model: 'aorus master',
series: '3080',
url: 'https://azerty.nl/product/gigabyte/4349651/aorus-geforce-rtx-3080-master-10g-grafische-kaart-gf-rtx-3080'
},
{
brand: 'pny',
model: 'xlr8 rgb',
series: '3080',
url: 'https://azerty.nl/product/pny/4342269/geforce-rtx-3080-xlr8-gaming-revel-epic-x-rgb-triple-fan-gaming-edition-grafische-kaart-gf-rtx-3080'
}
],
name: 'azerty'
};
2 changes: 2 additions & 0 deletions src/store/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {AmazonUk} from './amazon-uk';
import {Aria} from './aria';
import {Asus} from './asus';
import {AsusDe} from './asus-de';
import {Azerty} from './azerty';
import {BAndH} from './bandh';
import {BestBuy} from './bestbuy';
import {BestBuyCa} from './bestbuy-ca';
Expand Down Expand Up @@ -56,6 +57,7 @@ const masterList = new Map([
[Aria.name, Aria],
[Asus.name, Asus],
[AsusDe.name, AsusDe],
[Azerty.name, Azerty],
[BAndH.name, BAndH],
[BestBuy.name, BestBuy],
[BestBuyCa.name, BestBuyCa],
Expand Down

0 comments on commit 58416e1

Please sign in to comment.