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): support for kabum (amd and rtx 30 series) #727

Merged
merged 10 commits into from
Nov 12, 2020
2 changes: 2 additions & 0 deletions src/store/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import {Evga} from './evga';
import {EvgaEu} from './evga-eu';
import {Galaxus} from './galaxus';
import {Gamestop} from './gamestop';
import {Kabum} from './kabum';
import {Mediamarkt} from './mediamarkt';
import {MemoryExpress} from './memoryexpress';
import {MicroCenter} from './microcenter';
Expand Down Expand Up @@ -89,6 +90,7 @@ export const storeList = new Map([
[EvgaEu.name, EvgaEu],
[Galaxus.name, Galaxus],
[Gamestop.name, Gamestop],
[Kabum.name, Kabum],
[Mediamarkt.name, Mediamarkt],
[MemoryExpress.name, MemoryExpress],
[MicroCenter.name, MicroCenter],
Expand Down
172 changes: 172 additions & 0 deletions src/store/model/kabum.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
import {Store} from './store';

export const Kabum: Store = {
labels: {
inStock: {
container: '.botao-comprar',
text: ['comprar']
},
outOfStock: {
container: '.bot_comprar',
text: ['indisponível']
}
},
links: [
// AMD
{
brand: 'amd',
model: 'Ryzen 9 5950X',
series: 'ryzen5950',
url: 'https://www.kabum.com.br/produto/129461'
},
{
brand: 'amd',
model: 'Ryzen 9 5900X',
series: 'ryzen5900',
url: 'https://www.kabum.com.br/produto/129460'
},
{
brand: 'amd',
model: 'Ryzen 9 5800X',
series: 'ryzen5800',
url: 'https://www.kabum.com.br/produto/129459'
},
{
brand: 'amd',
model: 'Ryzen 9 5600X',
series: 'ryzen5600',
url: 'https://www.kabum.com.br/produto/129451'
},
// 3070
{
brand: 'gigabyte',
model: 'GV-N3070GAMING OC-8GD',
series: '3070',
url: 'https://www.kabum.com.br/produto/130209'
},
{
brand: 'gigabyte',
model: 'GV-N3070EAGLE OC-8GD',
series: '3070',
url: 'https://www.kabum.com.br/produto/130210'
},
{
brand: 'evga',
model: 'XC3 Black Gaming',
series: '3070',
url: 'https://www.kabum.com.br/produto/129938'
},
{
brand: 'asus',
model: 'RTX DUAL-RTX3070-O8G',
series: '3070',
url: 'https://www.kabum.com.br/produto/128634'
},
{
brand: 'asus',
model: 'RTX DUAL-RTX3070-8G',
series: '3070',
url: 'https://www.kabum.com.br/produto/128635'
},
{
brand: 'msi',
model: 'Gaming X Trio',
series: '3070',
url: 'https://www.kabum.com.br/produto/130379'
},
{
brand: 'msi',
model: 'Ventus 3X OC',
series: '3070',
url: 'https://www.kabum.com.br/produto/130380'
},
{
brand: 'msi',
model: 'Ventus 2X OC',
series: '3070',
url: 'https://www.kabum.com.br/produto/130381'
},
{
brand: 'zotac',
model: 'Twin Edge',
series: '3070',
url: 'https://www.kabum.com.br/produto/129208'
},
{
brand: 'zotac',
model: 'Twin Edge OC',
series: '3070',
url: 'https://www.kabum.com.br/produto/129207'
},
// 3080
{
brand: 'msi',
model: 'Gaming X Trio 10G',
series: '3080',
url: 'https://www.kabum.com.br/produto/127409'
},
{
brand: 'msi',
model: 'Ventus 3X 10G',
series: '3080',
url: 'https://www.kabum.com.br/produto/127410'
},
{
brand: 'asus',
model: 'TUF-RTX3080-10G-GAMING',
series: '3080',
url: 'https://www.kabum.com.br/produto/121138'
},
{
brand: 'gigabyte',
model: 'GV-N3080EAGLE OC-10GD',
series: '3080',
url: 'https://www.kabum.com.br/produto/128078'
},
{
brand: 'evga',
model: '10G-P5-3883-KR',
series: '3080',
url: 'https://www.kabum.com.br/produto/128051'
},
{
brand: 'evga',
model: '10G-P5-3885-KR',
series: '3080',
url: 'https://www.kabum.com.br/produto/128052'
},
// 3090
{
brand: 'msi',
model: 'Gaming X Trio 24G',
series: '3090',
url: 'https://www.kabum.com.br/produto/127407'
},
{
brand: 'msi',
model: 'Ventus 3X 24G',
series: '3090',
url: 'https://www.kabum.com.br/produto/127408'
},
{
brand: 'asus',
model: '90YV0FD1-M0NM00',
series: '3090',
url: 'https://www.kabum.com.br/produto/127511'
},
{
brand: 'asus',
model: 'ROG-STRIX-RTX3090-O24G-GAMING',
series: '3090',
url: 'https://www.kabum.com.br/produto/128026'
},
{
brand: 'gigabyte',
model: 'GV-N3090GAMING OC-24GD',
series: '3090',
url: 'https://www.kabum.com.br/produto/128199'
}

],
name: 'kabum'
};