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: add a few stores for spain #2646

Merged
merged 31 commits into from
Jul 16, 2021
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
353dceb
feat: add ldlc-es with Nvidia RTX 3090, 3080ti, 3080, 3070
Jun 26, 2021
a5eefef
feat: add eletronicamente ES with NVidia RTX 3090, 3080, 3070
Jun 26, 2021
0a8f4b3
feat: add opirata ES
Jun 26, 2021
5e838d6
feat: add ultimainformatica
Jun 26, 2021
fe1675c
feat: add game-es
Jun 26, 2021
784b7e4
feat: add siabyte
Jun 26, 2021
9d9a17e
feat: add 3080ti and 3070ti founders
Jun 26, 2021
236011a
feat: add neobyte store
Jun 26, 2021
e254d1e
feat: add xtremmedia
Jun 27, 2021
a42b703
fix: xlr8 model name in eletronicamente and game-es
Jun 27, 2021
6e47247
feat: add 3080 ti to pccomponentes
Jun 27, 2021
b90be92
feat: add asus-es
Jun 27, 2021
07fb3ce
feat: add 3090 and 3080ti to coolmod
Jun 27, 2021
f7a2bc1
chore: add trinity oc lhr to models
Jun 27, 2021
1c65c96
feat: add 3080ti and other 3080/3090 to vsgamers
Jun 27, 2021
7e0ea21
feat: add more NVidia RTX to amazon-es
Jun 27, 2021
3c7ca68
fix: selector ldlc-es
PaoloOranges Jun 27, 2021
d1e74b2
fix: amazon-es max price selector
PaoloOranges Jun 28, 2021
eb7b721
fix: opirata price format
PaoloOranges Jun 28, 2021
3948df9
fix: lint errors for amazon-es and coolmod
PaoloOranges Jul 6, 2021
2b59c76
fix: lint errors
PaoloOranges Jul 6, 2021
706d322
fix: uncomment models in config.ts
PaoloOranges Jul 7, 2021
520a2a4
fix: add stores to doc
PaoloOranges Jul 8, 2021
636f9be
Merge branch 'main' into spain-stores
jef Jul 16, 2021
5465aef
Merge branch 'main' into spain-stores
jef Jul 16, 2021
7b22b67
chore: update defaults for showOnlySeries
jef Jul 16, 2021
bab085d
chore: add comma
jef Jul 16, 2021
3391fa6
chore: add discord notify dotenv
jef Jul 16, 2021
648cf2e
chore: run linter
jef Jul 16, 2021
adf04e3
Merge branch 'main' into spain-stores
jef Jul 16, 2021
7a0ccc3
chore: add back ryzen5600
jef Jul 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dotenv-example
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ LOW_BANDWIDTH=
MAX_PRICE_SERIES_3060=
MAX_PRICE_SERIES_3060TI=
MAX_PRICE_SERIES_3070=
MAX_PRICE_SERIES_3070TI=
MAX_PRICE_SERIES_3080=
MAX_PRICE_SERIES_3080TI=
MAX_PRICE_SERIES_3090=
Expand Down
7 changes: 4 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ const store = {
3060: envOrNumber(process.env.MAX_PRICE_SERIES_3060),
'3060ti': envOrNumber(process.env.MAX_PRICE_SERIES_3060TI),
3070: envOrNumber(process.env.MAX_PRICE_SERIES_3070),
'3070ti': envOrNumber(process.env.MAX_PRICE_SERIES_3070TI),
3080: envOrNumber(process.env.MAX_PRICE_SERIES_3080),
'3080ti': envOrNumber(process.env.MAX_PRICE_SERIES_3080TI),
3090: envOrNumber(process.env.MAX_PRICE_SERIES_3090),
Expand Down Expand Up @@ -439,15 +440,15 @@ const store = {
showOnlySeries: envOrArray(process.env.SHOW_ONLY_SERIES, [
'3060',
'3060ti',
'3070',
'3080',
// '3070',
'3070ti',
PaoloOranges marked this conversation as resolved.
Show resolved Hide resolved
'3080ti',
'3090',
'rx6700xt',
'rx6800',
'rx6800xt',
'rx6900xt',
'ryzen5600',
//'test:series'
PaoloOranges marked this conversation as resolved.
Show resolved Hide resolved
'ryzen5800',
'ryzen5900',
'ryzen5950',
Expand Down
322 changes: 321 additions & 1 deletion src/store/model/amazon-es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const AmazonEs: Store = {
text: ['añadir a la cesta'],
},
maxPrice: {
container: '#priceblock_ourprice',
container: '#price',
euroFormat: true,
},
outOfStock: [
Expand All @@ -37,6 +37,326 @@ export const AmazonEs: Store = {
series: 'test:series',
url: 'https://www.amazon.es/dp/B07PW9VBK5',
},
{
brand: 'evga',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08J5F3G18&Quantity.1=1',
model: 'ftw3 ultra',
series: '3090',
url: 'https://www.amazon.es/dp/B08J5F3G18/',
},
{
brand: 'evga',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HGS1SXH&Quantity.1=1',
model: 'ftw3 ultra',
series: '3090',
url: 'https://www.amazon.es/dp/B08HGS1SXH/',
},
{
brand: 'asus',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08R5WDMZC&Quantity.1=1',
model: 'ekwb',
series: '3090',
url: 'https://www.amazon.es/dp/B08R5WDMZC/',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08KHJS572&Quantity.1=1',
model: 'aorus xtreme',
series: '3090',
url: 'https://www.amazon.es/dp/B08KHJS572',
},
{
brand: 'pny',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HBQWBHH&Quantity.1=1',
model: 'xlr8 revel',
series: '3090',
url: 'https://www.amazon.es/dp/B08HBQWBHH',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HLYQ9XL&Quantity.1=1',
model: 'gaming oc',
series: '3090',
url: 'https://www.amazon.es/dp/B08HLYQ9XL',
},
{
brand: 'asus',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HN51T8Q&Quantity.1=1',
model: 'strix oc',
series: '3090',
url: 'https://www.amazon.es/dp/B08HN51T8Q',
},
{
brand: 'asus',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08R5WDMZC&Quantity.1=1',
model: 'ekwb',
series: '3090',
url: 'https://www.amazon.es/dp/B08R5WDMZC',
},
{
brand: 'msi',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08LTJVGYS&Quantity.1=1',
model: 'suprim x',
series: '3090',
url: 'https://www.amazon.es/dp/B08LTJVGYS',
},
{
brand: 'msi',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HRBW6VB&Quantity.1=1',
model: 'gaming x trio',
series: '3090',
url: 'https://www.amazon.es/dp/B08HRBW6VB',
},
{
brand: 'msi',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HM6D7TM&Quantity.1=1',
model: 'gaming x trio',
series: '3090',
url: 'https://www.amazon.es/dp/B08HM6D7TM',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08R5J94WP&Quantity.1=1',
model: 'aorus xtreme waterforce wb',
series: '3090',
url: 'https://www.amazon.es/dp/B08R5J94WP',
},
{
brand: 'nvidia',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HR6ZBYJ&Quantity.1=1',
model: 'founders edition',
series: '3090',
url: 'https://www.amazon.es/dp/B08HR6ZBYJ',
},
{
brand: 'evga',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B09622N253&Quantity.1=1',
model: 'ftw3 ultra',
series: '3080ti',
url: 'https://www.amazon.es/dp/B09622N253',
},
{
brand: 'asus',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B0957WCY1M&Quantity.1=1',
model: 'suprim x',
series: '3080ti',
url: 'https://www.amazon.es/dp/B0957WCY1M',
},
{
brand: 'inno3d',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B096MVB4KP&Quantity.1=1',
model: 'ichill x4',
series: '3080ti',
url: 'https://www.amazon.es/dp/B096MVB4KP',
},
{
brand: 'zotac',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B0964DB2P9&Quantity.1=1',
model: 'trinity',
series: '3080ti',
url: 'https://www.amazon.es/dp/B0964DB2P9',
},
{
brand: 'msi',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B0957TV4YR&Quantity.1=1',
model: 'gaming x trio',
series: '3080ti',
url: 'https://www.amazon.es/dp/B0957TV4YR',
},
{
brand: 'evga',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B0963TJNHG&Quantity.1=1',
model: 'ftw3 ultra',
series: '3080ti',
url: 'https://www.amazon.es/dp/B0963TJNHG',
},
{
brand: 'evga',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B0979GYMHP&Quantity.1=1',
model: 'xc3 ultra',
series: '3080ti',
url: 'https://www.amazon.es/dp/B0979GYMHP',
},
{
brand: 'palit',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B096KTPQ9J&Quantity.1=1',
model: 'gamerock',
series: '3080ti',
url: 'https://www.amazon.es/dp/B096KTPQ9J',
},
{
brand: 'palit',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B096KVBBHQ&Quantity.1=1',
model: 'gaming pro',
series: '3080ti',
url: 'https://www.amazon.es/dp/B096KVBBHQ',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B095X51RHY&Quantity.1=1',
model: 'gaming oc',
series: '3080ti',
url: 'https://www.amazon.es/dp/B095X51RHY',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B095X622XV&Quantity.1=1',
model: 'aorus master',
series: '3080ti',
url: 'https://www.amazon.es/dp/B095X622XV',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B095X7V2HH&Quantity.1=1',
model: 'vision oc',
series: '3080ti',
url: 'https://www.amazon.es/dp/B095X7V2HH',
},
{
brand: 'asus',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08D3LH86H&Quantity.1=1',
model: 'turbo',
series: '3080',
url: 'https://www.amazon.es/dp/B08D3LH86H',
},
{
brand: 'msi',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B092CYHPDJ&Quantity.1=1',
model: 'gaming z trio',
series: '3080',
url: 'https://www.amazon.es/dp/B092CYHPDJ',
},
{
brand: 'zotac',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08KGVL9JQ&Quantity.1=1',
model: 'amp holo',
series: '3080',
url: 'https://www.amazon.es/dp/B08KGVL9JQ',
},
{
brand: 'zotac',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HVV2P4Z&Quantity.1=1',
model: 'trinity oc',
series: '3080',
url: 'https://www.amazon.es/dp/B08HVV2P4Z',
},
{
brand: 'zotac',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08K3PDL9K&Quantity.1=1',
model: 'trinity oc',
series: '3080',
url: 'https://www.amazon.es/dp/B08K3PDL9K',
},
{
brand: 'evga',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08HR55YB5&Quantity.1=1',
model: 'xc3',
series: '3080',
url: 'https://www.amazon.es/dp/B08HR55YB5',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08VHB7598&Quantity.1=1',
model: 'aorus master',
series: '3080',
url: 'https://www.amazon.es/dp/B08VHB7598',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08M5ZFNTT&Quantity.1=1',
model: 'aorus xtreme',
series: '3080',
url: 'https://www.amazon.es/dp/B08M5ZFNTT',
},
{
brand: 'asus',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08BL4QX75&Quantity.1=1',
model: 'strix white',
series: '3080',
url: 'https://www.amazon.es/dp/B08BL4QX75',
},
{
brand: 'palit',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08QZR8S24&Quantity.1=1',
model: 'gamerock oc',
series: '3080',
url: 'https://www.amazon.es/dp/B08QZR8S24',
},
{
brand: 'palit',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08MKSYYZ4&Quantity.1=1',
model: 'gamerock',
series: '3080',
url: 'https://www.amazon.es/dp/B08MKSYYZ4',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08P5W32PC&Quantity.1=1',
model: 'aorus xtreme waterforce',
series: '3080',
url: 'https://www.amazon.es/dp/B08P5W32PC',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08P5YGXMG&Quantity.1=1',
model: 'aorus xtreme waterforce wb',
series: '3080',
url: 'https://www.amazon.es/dp/B08P5YGXMG',
},
{
brand: 'gigabyte',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08KHLDS72&Quantity.1=1',
model: 'aorus master',
series: '3080',
url: 'https://www.amazon.es/dp/B08KHLDS72',
},
{
brand: 'msi',
cartUrl:
'https://www.amazon.es/gp/aws/cart/add.html?ASIN.1=B08LTKLG5K&Quantity.1=1',
model: 'suprim x',
series: '3080',
url: 'https://www.amazon.es/dp/B08LTKLG5K',
},
{
brand: 'msi',
cartUrl:
Expand Down
Loading