From 78758552b22e608dbdf3e76397f5b5efb893fef5 Mon Sep 17 00:00:00 2001 From: AndrewKurniawan Date: Tue, 22 Sep 2020 16:12:17 -0700 Subject: [PATCH] feat(store): add zotac store (#214) --- src/store/model/index.ts | 4 +++- src/store/model/zotac.ts | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 src/store/model/zotac.ts diff --git a/src/store/model/index.ts b/src/store/model/index.ts index 8f6c707..dd2c13c 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -13,6 +13,7 @@ import {NewEggCa} from './newegg-ca'; import {Nvidia} from './nvidia'; import {Store} from './store'; import {OfficeDepot} from './officedepot'; +import {Zotac} from './zotac'; const masterList = new Map([ [Adorama.name, Adorama], @@ -26,7 +27,8 @@ const masterList = new Map([ [NewEgg.name, NewEgg], [NewEggCa.name, NewEggCa], [Nvidia.name, Nvidia], - [OfficeDepot.name, OfficeDepot] + [OfficeDepot.name, OfficeDepot], + [Zotac.name, Zotac] ]); const list = new Map(); diff --git a/src/store/model/zotac.ts b/src/store/model/zotac.ts new file mode 100644 index 0000000..249a0d1 --- /dev/null +++ b/src/store/model/zotac.ts @@ -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' +}; +