feat(store): add zotac store (#214)

This commit is contained in:
AndrewKurniawan
2020-09-22 16:12:17 -07:00
committed by GitHub
parent 14c36bebe7
commit 78758552b2
2 changed files with 26 additions and 1 deletions
+3 -1
View File
@@ -13,6 +13,7 @@ import {NewEggCa} from './newegg-ca';
import {Nvidia} from './nvidia'; import {Nvidia} from './nvidia';
import {Store} from './store'; import {Store} from './store';
import {OfficeDepot} from './officedepot'; import {OfficeDepot} from './officedepot';
import {Zotac} from './zotac';
const masterList = new Map([ const masterList = new Map([
[Adorama.name, Adorama], [Adorama.name, Adorama],
@@ -26,7 +27,8 @@ const masterList = new Map([
[NewEgg.name, NewEgg], [NewEgg.name, NewEgg],
[NewEggCa.name, NewEggCa], [NewEggCa.name, NewEggCa],
[Nvidia.name, Nvidia], [Nvidia.name, Nvidia],
[OfficeDepot.name, OfficeDepot] [OfficeDepot.name, OfficeDepot],
[Zotac.name, Zotac]
]); ]);
const list = new Map(); const list = new Map();
+23
View File
@@ -0,0 +1,23 @@
import {Store} from './store';
export const Zotac: Store = {
links: [
{
brand: 'zotac',
model: 'trinity',
series: '3080',
url: 'https://store.zotac.com/zotac-gaming-geforce-rtx-3080-trinity-zt-a30800d-10p'
},
{
brand: 'zotac',
model: 'trinity OC',
series: '3080',
url: 'https://store.zotac.com/zotac-gaming-geforce-rtx-3080-trinity-oc-zt-a30800j-10p'
}
],
labels: {
outOfStock: ['out of stock', 'this process is automatic']
},
name: 'zotac'
};